[Date Prev][Date Next]
Re: i don't find a new user added in getent passwd list
so, there is a little problem.
i was checking with ldapsearch and the answer was
"ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"
i didn't understand the cause.
i checked about pid of openldap and there wasn't it.
in slapd.conf it has to be in /var/run/slapd/slapd.pid but this file
so i went in /var/lib/ldap/ to check DB_CONFIG and it's the follow:
set_cachesize 0 2097152 0
this morning i deleted old databases with this command:
rm __db.* *.bdb log.*
but i didn't touch DB_CONFIG.
now am trying to restore it but, could you explain the causes of this?
On 02/29/2012 11:55 AM, Adam wrote:
Hi, have you tried using ldapsearch to see if its an issue with nss/pam
or an issue with ldap?
I would suggest that your openldap environment is probably working fine
(as you seem to have been able to perform the necessary ldapadds) and
its probably nss/pam that need fixing.
Try reading here:
On 29/02/12 20:50, stefano wrote:
i started to work with posixAccount objectClass.
i installed libnss-ldap on debian squeeze server. i configured it during
install time and i modified nsswitch.conf as follow:
passwd files ldap
group files ldap
shadow files ldap
and i didn't modify the remains lines.
i succesfully added a structure.ldif file as follow
#the root of the directory
#subtree for the administrators
i succesfully added a administrators.ldif file as follow:
cn: Name Surname
displayName: Name Surname
title: System Administrator
Now, with getent command-line there is not this user. Why?