Re: Problems with nss_ldap - where to start?

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



On Wed, Dec 16, 2009 at 11:33 AM, Craig White <craigwhite@xxxxxxxxxxx> 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@xxxxxxxxx

# search result
search: 2
result: 0 Success

# numResponses: 3
# numEntries: 2

Peter

--
Peter Serwe
http://truthlightway.blogspot.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux