On 04/08/2011 10:16 AM, Noel Akins wrote:
I have a dumb question. I've been struggling with LDAP for a couple of weeks now, working on it at home at night. I seem to have something working here given the ldapsearch i tried doing below. I had started with a base.ldif and added a user via a add_user.ldif. I assume the numEntries: 1 is the user that I entered.
No, in your case its your domain only (dc=mergeemerge,dc=org). Which means you probably didn't add your user as a sub entry under that tree, as in: uid=username,dc=mergeemerge,dc=org..
But for the life of me, I can't seem to figure out how to view that entry. What do I need to do actually see the entry? Thank you.
ldapsearch -L -x -b 'dc=mergeemerge,dc=org' version: 1
# # LDAPv3 # base <dc=mergeemerge,dc=org> with scope subtree # filter: (objectclass=*) # requesting: ALL #
# mergeemerge.org dn: dc=mergeemerge,dc=org objectClass: dcObject objectClass: organization o: mergeemerge dc: mergeemerge
# search result
# numResponses: 2 # numEntries: 1