LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ldap autentication in Ubuntu (https://www.linuxquestions.org/questions/linux-software-2/ldap-autentication-in-ubuntu-507944/)

Lenux78 12-06-2006 01:00 PM

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!!!...

kdrlx 12-07-2006 03:47 AM

found this link -
http://developer.novell.com/wiki/ind...Authentication

dunno if it is useful or not though .

Lenux78 12-07-2006 06:00 AM

Hi..

I did all the things in the document and still nothing..

Sorry... I really don't have any idea what might be happening... I think it might be something in Ubuntu.. I don't know.. maybe a Package..

Regards..

Lenux78 12-07-2006 06:13 AM

ok... this is very very weird... It just work.. but for some reason I don't know!!!... i just comment the ssl start_tls and it work.. but why??? because my server is in SSL mode... and needs tls... and in OpenSuse or fedora or redhat doesn't work if you doesn't have ssl start_tls activated...

Why is this just happenning in Ubuntu?? why???

I hope someone could clear me this issue...

Regards.-..

Lenux78 12-07-2006 06:17 AM

ok... it works in OpenSuse and Fedora too without ssl... But I want to use ssl tls in Ubuntu... what could i do to correct that??


All times are GMT -5. The time now is 06:18 AM.