hi, as said before i reinstalled openldap and configured nslcd.conf and nsswitch.conf. at the moment geten passwd doesn't show ldap user. as follow you see that i create a user nslcd_proc for nslcd lookups. this user belong to the System organizationalUnit. follow nslcd.conf and slapd.conf (please take a look of ACLs for nslcd_proc):
------------------------------------------------------------------ # /etc/nslcd.conf # nslcd configuration file. See nslcd.conf(5) # for details.
# The user and group nslcd should run as. uid nslcd gid nslcd
# The location at which the LDAP server(s) should be reachable. uri ldap://localhost:389
# The search base that will be used for all queries. base dc=amahoro,dc=bi
# The LDAP protocol version to use. #ldap_version 3
# The DN to bind with for normal lookups. binddn uid=nslcd_proc,ou=System,dc=amahoro,dc=bi bindpw *****
# The DN used for password modifications by root. #rootpwmoddn cn=admin,dc=example,dc=com
# SSL options #ssl off #tls_reqcert never
# The search scope. #scope sub
------------------------------------------------------------------
slapd.conf ACLs: access to attrs=userPassword by anonymous auth by self write by * none
access to * by dn.base="uid=nslcd_proc,ou=System,dc=amahoro,dc=bi" read by self write by * none
thanks