[Date Prev][Date Next] [Chronological] [Thread] [Top]

Help with errors!



Hello all,

I am entering the below with the command

ldapadd -x -P 2 -f /tmp/ldapentry

dn: cn=admin, dc=devision, dc=company, dc=co, dc=uk
cn: FName LName
cn: Nick Name
objectClass: person
sn: LName
mail: foo@moo.co.uk

the return from the command is:

adding new entry "cn=admin, dc=devision, dc=company, dc=co, dc=uk"
ldap_add: Insufficient access

ldif_record() = 50

and the debug output is:

do_bind
do_bind: version 2 dn () method 128
send_ldap_result 0::
do_add
add_created_attrs
=> dn2id( "CN=ADMIN,DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK" )
=> ldbm_cache_open( "/var/lib/openldap/dn2id.dbb", 66, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_w: dn: "DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK"
=> dn2id( "DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK" )
====> cache_find_entry_dn2id: found dn: DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK
<= dn2id 4 (in cache)
=> id2entry_w( 4 )
====> cache_find_entry_dn2id: found id: 4 rw: 1
<= id2entry_w 0x808c858 (cache)
=> dnpat: [1] .*,OU=ROAMING,DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK nsub: 0
=> dnpat: [3] .* nsub: 0
=> acl_get:[3]  backend ACL match
<= check a_dnpat: CN=ADMIN,OU=PEOPLE,DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK
=> string_expand: pattern:
CN=ADMIN,OU=PEOPLE,DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK
=> string_expand: expanded:
CN=ADMIN,OU=PEOPLE,DC=FACTORY,DC=EMSGROUP,DC=CO,DC=UK
=> regex_matches: string:
=> regex_matches: rc: 1 no matches
no access to parent
send_ldap_result 50::
====> cache_return_entry_w
ber_get_next on fd 7 failed errno 0 (Success)
*** got 0 of 0 so far
do_unbind



Can somebody help me please?

Thanks in advance

Regards

Kamesh