[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Searching Problems
At 07:58 PM 1/5/99 -0500, Ben Collins wrote:
>On Mon, Jan 04, 1999 at 02:27:39PM -0800, Craig R. McClanahan wrote:
>> Jason McCormick wrote:
>>
>> > I still cannot get my database to work correctly. When I issue
>> > "ldapsearch -h 127.0.0.1 'objectclass=*'" I get "ldap_search: No such
>> > object". I followed exactly the proceedures outlined in the UMich
>> > manual.
>>
>> I got exactly the same results until, out of desparation, I tried adding
>> the base URL option. In your case, try:
>>
>> ldapsearch -h 127.0.0.1 -b 'o=SATEC, c=US' 'objectclass=*'
>
>Is there some where to set this as the default?
Just added to the FAQ as:
http://www.openldap.org/faq/index.cgi?file=63
How do I specify default base DN for all clients?
OpenLDAP 1.1 supports the ldap.conf(5) configuration file. You can use this
file to specify a number of defaults for OpenLDAP clients. Normally this
file in OpenLDAP configuration directory (normally /usr/local/etc/openldap).
The following example sets the default base dn to 'dc=OpenLDAP, dc=Org'.
#
# ldap.conf for OpenLDAP.org
#
BASE dc=OpenLDAP, dc=Org
See Also: http://www.openldap.org/software/man.cgi?query=ldap.conf