Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to set up slapd so that it provides the same functions as NIS(same uids across machines, same passwords but that isn't important as they use publickey anyway, network is trusted) and I can sucessfully get the user list with ldapsearch, using:
ldapsearch -x -b "dc=testserver"
This dumps the passwd, as intended.
However I can't use ssh to get into the machine. There is the following error message:
pam_ldap: error trying to bind as user "uid=user01,dc=testserver" (Server is unwilling to perform)
The following slapd.conf is being used:
...(default things) ...
access to * by * read
Why is the server not willing to perform? I should only get that error if I would try to write. libnss_ldap is installed.
Server is firewalled, but not on that interface.
SSH is chrooted using libpam_chroot, however that isn't the problem as it doesn't get to the session part, where the chroot is done.
LDAP version is 3.
Although I have created and used successfully publickey auth in localhost I can't login to the NFS mounted home directory of user, as it asks for a password and fails with the above message.