Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed ldap on Ubuntu Desktop 12.04 , i configured it as below

1- rename host-name to Server

2- add this entry in /etc/hosts : ip Server.domain.com (ip is the
server ip )

3- install slapd

4- install ldap-utils

5- edit /etc/ldap/ldap.conf

Base dc=domain,dc=com

URI  ldap://ipofServer

6-install apache2

7-install phpldapadmin

8-access ldap database by admin

9-add ou + posix group+ user


on client Side :

1- add server.domain.com in /etc/hosts

2-install libpam_ldap

in setup i put ldap ip + domain + account for admin +admin pass

3- installed nscd

4- configure /etc/nsswitch.conf

password : ldap compat

group : ldap compat

shadow : ldap compat

5- edit /etc/pam.d/common-auth

add auth required pam_ldap.so use_first_pass

6- edit /etc/pam.d/common-account

add account required pam_ldap.so

7-edit /etc/pam.d/common-session

add pam_mkhomedir.so skel=/etc/skel umask=0022

8- edit /etc/pam.d/common-password

add password required pam_ldap.so

9- restart nscd

The authentication failed. Can I authenticate using LDAP on Ubuntu Desktop? What steps am I missing?

share|improve this question
    
please any ldap expert contact me to solve my problem . –  nux Jan 13 at 15:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.