[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: search ldap
- To: openldap-technical@openldap.org
- Subject: Re: search ldap
- From: Tyler Gates <tgates81@gmail.com>
- Date: Sat, 09 Apr 2011 11:23:16 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=OHy8g6/ucDhaPKM94exZdzp0+tzDdkaQgo1/qF18fXA=; b=mjFMw9txn5pLBICX6K4ijlX6nYIsLIb2Ycj330DwKrWRBBf/DMplBnMx/6XI7a2VAw anLwCnbyA48NssbwPZJU7NmFXUsobP5St/g2DZA4ZuAnMToEHjBO3JELrCRmBhs+Mhvy i2Ocnfju1cfkjkVBXgokb5s4j8UFmoHLM/8SU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=WuNZdMIuYAkxeTLjJFjzLGcxhTYAjGLIB5kIQC9peD/HbiJQKvK9es5yRtzrbUfKh4 VZtNi0mBG1+VpFhCxAmLzqvvFS2F+nEz8zccxF2LJ51afjZC7PuTVAL1JwiThxZUbBcu mP7+y5/rfcp7voQNIJQ2q00p//3PlKAFpXnyw=
- In-reply-to: <756360.25066.qm@web80702.mail.mud.yahoo.com>
- References: <756360.25066.qm@web80702.mail.mud.yahoo.com>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110314 Lightning/1.0b3pre Thunderbird/3.1.7
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