Chris S wrote:
> Paul Kölle wrote:
>> try the -b switch
>>
>> ldapadd -x -b "dc=domain,dc=net,dc=au" -D "cn=yadda yadda..." -W -f
>> /tmp/base.ldif
>>  
>>
> howdy,
> When I try to pass that option, it shows the help section. "man ldapadd"
> shows no such option.
> I am using openldap 2.2.26. Perhaps this options has been removed now?
> Is there something else I can try?
Sorry, -b is ldapsearch only. You need to tell the client about your new
base in /etc/openldap/ldap.conf (this is for the openldap client tools).

base=dc=domain,dc=net,dc=au

And of course have a "database" section with the correct "suffix" in
slapd.conf.

cheers
 Paul

-- 
[email protected] mailing list

Reply via email to