Linux, Active Directory authentication, password not coming over

View: New views
1 Messages — Rating Filter:   Alert me  

Linux, Active Directory authentication, password not coming over

by JZ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using Windows 2003 R2 (AD as the LDAP server) and CentOS 4.3 (Linux as the LDAP client)
My ldap.conf is not maping over the password somehow! Please point me on the right direction.

— /etc/ldap.conf —–
nss_base_passwd dc=test,dc=local?sub
nss_base_shadow dc=test,dc=local?sub
nss_base_group dc=test,dc=local?sub
nss_map_objectclass posixAccount user
nss_map_objectclass shadowAccount user

#getent passwd
test01:x:10006:10004:test01:/home/test01:/bin/sh
test02:x:10003:10004:test02:/home/test02:/bin/sh
test03:x:10004:10004:test03:/home/test03:/bin/sh
test04:x:10005:10004:test04:/home/test04:/bin/sh
#getent passwd
test01:x:::::::0
test02:x:::::::0
test03:x:::::::0
test04:x:::::::0

sshd[4954]: pam_ldap: error trying to bind as user “CN=test01,OU=UNIX-Users,OU=UNIX-OU,DC=test,DC=local” (Invalid credentials)