In fact I was trying out courier imap login via ldap, and since that was not working, testing ftpd. Now courier login via ldap succeeded, still stuck up at ftp.
> >Does the user entry have posixAccount and posixGroup object classes? Yes both are there. In fact i have used migration scripts from www.padl.com which convert /etc/passwd to ldif file. > >> 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? yes both are correctly set getent passwd - I will try. > >> 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 Since i do not authentication from/etc/passwd, i made required pam_ldap.so for auth and account. > >> 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! Surprisingly i am not getting any pam error. >> Any idea what is left out? > >Lots. :) > >-- Shanu > _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
