On Wed, Dec 16, 2009 at 11:33 AM, Craig White craigwhite@azapple.comwrote:
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@mynet.net
# search result search: 2 result: 0 Success
# numResponses: 3 # numEntries: 2
Peter