Ldap autentication in Ubuntu
Hello everyone,
I have a simple question and i don't find any solution.. maybe i don't know too much ubuntu..
I have an Ldap server in SSL and i could connect clients autenticating users from OpenSuse and RedHat... but I have some troubles with Ubuntu..
Now I did this..
I installed libnss-ldap and pam-ldap packages... and put in this file in /etc/ldap.conf:
host 10.10.2.5
base dc=example,dc=lx
nss_map_attribute uniqueMember member
ldap_version 3
ssl start_tls
pam_password crypt
pam_filter objectclass=posixAccount
nss_base_passwd ou=usuarios, dc=example,dc=lx
nss_base_shadow ou=usuarios, dc=example,dc=lx
nss_base_group ou=grupos, dc=example,dc=lx
and additionaly i installed the ldap-util package... and put the same content in /etc/ldap/ldap.conf
and did this consult to the ldap server...
ldapsearch -x -W -D 'dc=example,dc=lx' 'objectclass=*'
and it worked!!!...
so the question is .. why, in the name of heaven, the command getent passwd doesn't show me the ldap users???!!!!... what is wrong???..
Thanks and Regards!!!...
|