02-13-2018 03:56 PM - edited 03-12-2019 05:01 AM
Hello, can you assist in getting this working? Attached is my config. I don't know what else I could be missing.
Thanks
Solved! Go to Solution.
02-13-2018 06:08 PM
Hi
Is this an AD server?
Normally the admin user is in the users OU.
If so the config should be:
ldap-login-dn cn=Administrator, cn=Users, dc=vlab,dc=com
If the admin account is in another ou adapt the config.
Not mandatory but you can add under your ldap config the following statement:
server-type microsoft
02-14-2018 08:59 PM
Yes you'll need to use attribute map for that.
For your reference a Cisco doc showing how to do that:
02-13-2018 06:08 PM
Hi
Is this an AD server?
Normally the admin user is in the users OU.
If so the config should be:
ldap-login-dn cn=Administrator, cn=Users, dc=vlab,dc=com
If the admin account is in another ou adapt the config.
Not mandatory but you can add under your ldap config the following statement:
server-type microsoft
02-14-2018 05:42 PM
Thanks Francesco, it was a typo on my end. I used sAMAaccount instead of sAMAccount and plus I changed the ldap-login-dn to cn=Users,cn=administrator... and it worked like a charm. If I need to authenticated certain users based on their connection profile and their group membership in AD I'll have to use an attribute map correct?
02-14-2018 08:59 PM
Yes you'll need to use attribute map for that.
For your reference a Cisco doc showing how to do that:
02-15-2018 01:29 PM
02-15-2018 02:32 PM
02-15-2018 02:39 PM
02-15-2018 04:12 PM
It's been a while i didn't used ldap to authenticate users. I prefer using radius, less headache.
Can you try replacing your actual map-name with:
map-name memberOf IETF-Radius-Class
02-15-2018 04:28 PM
I agree with you. That didn't work. What's weird is that the debug shows successful but the login fails on anyconnect.
02-15-2018 05:10 PM
02-15-2018 06:05 PM
02-15-2018 07:54 PM
02-16-2018 10:33 AM
02-16-2018 03:46 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide