[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
getent passwd doesn't show ldap user
- To: openldap-technical@openldap.org
- Subject: getent passwd doesn't show ldap user
- From: stefano malini <lozingalo@gmail.com>
- Date: Fri, 20 Apr 2012 12:39:03 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=6gyaJ5jyQH0ARJ35BPLx0eP3yrXm9ezxDEQkc71BjeY=; b=L3dDu/43H66wbABWQLmzYZ5yxHhEv+SEz1FzqSQzGAbSoxBXiRw+YCVxmNYIa57Kyj bWutgk6SHFYi6KImf1RMiKDvklQNnrhWQax2U7mOpeDrucVHdpvXXnwS1iOElh7DM2Sx 3eIqbJ5saT5iVXMI3BcBBXrpsU4svOCTHipE5PVg50lMPFbGKTi/MjoAqIOonJxkWte6 w+1no24I/7dcNp+dtUTL/yFCmL1Fjalqev9RMDzW3cTAgCoLEx7fbFwo8nthY9F5M8RL 9d3N3VRU7ABsDc8qNdekT3H7v3lY7w1mRPhg4J1ycbodMzIXOKrHsLbW9FGfLKGvqs2z yBzg==
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Thunderbird/3.1.16
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