[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_add problems
Blake Binkley writes:
> Bill: you must use the following format to ldapadd
> ldapadd -w mypassword -D 'cn=root, o=myorg c=US' -f ldif_file
>
> let us know if this doesn't work.
this ldapadd command was hanging because my referral entry in the
slapd.conf file was set to umich (can't get there through my
co. firewall. I changed that to match my local slapd host and then I
get an
ldap_add: Insufficient access
when I set debug level to -d[34] the tail of the dump is:
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x36ab0, ptr 0x36ab0, end 0x36abc
current len 12, contents:
02 01 07 i 07 0a 01 2 04 00 04 00
request 7 done
ldap_add: Insufficient access
ber_flush: 7 bytes to sd 5
0 05 02 01 08 B 00
-----
the ldif_file appears to be parsed OK.
It doesn't seem to matter what the permissons are on ldapadd or
ldapmodify, or whether I'm running the tools as root or anything. This
seems like a configuration problem.
Help is really appreciated.
Bill Anderson