[ I sent this in the morn but it never made it to the list ]

Hello:

mukund wrote,
> I am trying to use authentication through ldap debian 2.2 box.

> 1. ldap is installed and I have added a user to it, I can change the
> user password with ldappass

Does the user entry have posixAccount and posixGroup object classes?

> 2. I have loaded pam-ldap library and installed in /lib/security/

Is /etc/pam_ldap.conf and libnss_ldap.conf set up correctly?  Does
"getent passwd" return the LDAP Unix accounts?

> 3. I have modified ftp entry in /etc/pam.d/ for ldap library.

$ shanu@godzilla:~$ cat /etc/pam.d/wu-ftpd
auth    required pam_listfile.so item=user sense=deny
file=/etc/wu-ftpd/ftpusers onerr=succeed
auth    sufficient pam_ldap.so
auth    required pam_unix.so
auth    required pam_shells.so
account sufficient pam_ldap.so
account required pam_unix.so
session sufficient pam_ldap.so
session required pam_unix.so

> When I try to login to ftp, the authentication failure message comes before
> password prompt.

Check /var/log/auth.log for any pam related errors!

> Any idea what is left out?

Lots. :)

-- Shanu

-- 
Luke blows up his first TIE fighter.
Luke Skywalker:
        Got 'im! I got 'im!
Han Solo:
        Great, kid! Don't get cocky!

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to