lists.arthurdejong.org
RSS feed

Re: error opening connection to nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: error opening connection to nslcd



On Wed, 2014-04-02 at 10:39 -0300, Marcelo Vilar wrote:
> I have a problem with lib_pam, he is not referring credentials and an
> error that I could not do a more detailed debug appears:
> Apr  2 10:21:41 centos02 sshd[1232]: pam_ldap(sshd:auth): nslcd 
> authentication; user=marcelo
> Apr  2 10:21:41 centos02 sshd[1232]: pam_ldap(sshd:auth): error opening 
> connection to nslcd: Permission denied
> 
> 
> Permissions of socket:
> srw-rw-rw-. 1 root root 0 Abr  2 10:16 /var/run/nslcd/socket

It could be that the directory /var/run/nslcd has wrong permissions but
that seems unlikely. Another thing that could be the case is that
SELinux is in use and blocking the operation.

The error message is pretty clear but you could increase debug logging
of the PAM module by appending debug to the pam_ldap line in your PAM
configuration.

Hope this helps,

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/