[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
URI Question
- To: openldap-software@OpenLDAP.org
- Subject: URI Question
- From: Edwin Culp <edwinlculp@gmail.com>
- Date: Wed, 4 May 2005 06:52:22 -0500
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Zn+Rz4BRmRZmzwuV2eGcOskamADgJ+1KVrUoUUHrJo6wzKXlpZK5ZoDkTPpF86AVof+gSDRr1KJdx548gURxLr01nQl1tP1F+U6vIc9xt/BTY0mWOTe9iSad2pEdi69z0QWVGFZkvQn1X1gE5ONqpfQlTEbevz5E2v/wynlboqA=
If I try
ldapsearch -H ldap://localhost/o=domain.org?uid?sub?(objectclass=*)
The search shows all entries but if I add an ou such as
ldapsearch -H ldap://localhost/ou=people,o=domain.org?uid?sub?(objectclass=*)
it gives me
Could not create LDAP session handle for
URI=ldap://localhost/ou=people,o=domain.org?uid?sub?(objectclass=*)
(-9): Bad parameter to an ldap routine
a -b search with the same ou=people,o=domain.org works fine.
Is the "ou=people,o=domain.org in the URI not the same as -b in a search?
Another problem with the same uri is that with the working search, if
I add an objectclass value, it is ignored.
Thanks,
ed