[CentOS] Problems with nss_ldap - where to start?

Wed Dec 16 19:42:31 UTC 2009
Peter Serwe <peter.serwe at gmail.com>

On Wed, Dec 16, 2009 at 11:33 AM, Craig White <craigwhite at azapple.com>wrote:

> forget 'telnet'
>
> Can you do an ldapsearch?
>
> ldapsearch -x -h localhost -D '$YOUR_ROOT_BIND_DN' -W '(ou=*)'
>
> Craig
>
>
Sure I can, this is the output, slightly sanitized.


# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (ou=*)
# requesting: ALL
#

# People, mynet.net
dn: ou=People,dc=mynet,dc=net
ou: People
objectClass: organizationalUnit

# testuser, People, mynet.net
dn: cn=testuser,ou=People,dc=mynet,dc=net
uid: testuser
cn: testuser
sn: Test
givenName: Test
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
ou: People
uidNumber: 10001
gidNumber: 10001
userPassword:: dGVzdA==
homeDirectory: /tmp
mail: test at mynet.net

# search result
search: 2
result: 0 Success

# numResponses: 3
# numEntries: 2

Peter

-- 
Peter Serwe
http://truthlightway.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091216/e67a7cf9/attachment-0005.html>