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

Re: Regarding distributed directory services : ldap_add_s: Insufficientaccess (50)



Hi,

Rakesh Yadav
C-DAC , HTDG
Pune
----- Original Message ----- From: "Aaron Richton" <richton@nbcs.rutgers.edu>
To: "Rakesh Yadav" <rkyadav@cdac.in>
Cc: <openldap-software@openldap.org>
Sent: Tuesday, December 11, 2007 9:58 PM
Subject: Re: Regarding distributed directory services : ldap_add_s: Insufficientaccess (50)



No, there's no connectivity error.

bdb_dn2entry("FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in")
=> bdb_dn2id("FileName=rkyadav,FileName=development,dc=cdac,dc=in")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)

Try creating "FileName=rkyadav,FileName=development,dc=cdac,dc=in" as your first step. Then try creating

"FileName=rkyadav,FileName=development,dc=cdac,dc=in" This entry is already present at client machine.
When we issue ldapsearch that time this entry is also displayed at server machine,
Here i m attatching the client machine log, please have a look of it:


"FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in" again, once that succeeds.

when i m adding "FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in" entry that time i m getting the error:
---------------
Server
---------------
dnPrettyNormal: <FileName=Imp_doc, FileName=rkyadav, FileName=Development, dc=cdac, dc=in>
<<< dnPrettyNormal: <FileName=Imp_doc,FileName=rkyadav,FileName=Development,dc=cdac,dc=in>, <FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in>
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt (}) ber:
bdb_dn2entry("FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in")
=> bdb_dn2id("FileName=rkyadav,FileName=development,dc=cdac,dc=in")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)
bdb_referrals: op=104 target="FileName=Imp_doc,FileName=rkyadav,FileName=Development,dc=cdac,dc=in" matched="FileName=Development,dc=cdac,dc=in"
ldap_url_parse_ext(ldap://192.168.4.147/FileName=Development,dc=cdac,dc=in)
send_ldap_result: conn=4 op=1 p=3
send_ldap_response: msgid=2 tag=105 err=10
ber_flush: 143 bytes to sd 11
ldap_add_s: Insufficient access (50)
additional info: no write access to parent
connection_get(11): got connid=4
connection_read(11): checking for input on id=4
ber_get_next
ber_get_next on fd 11 failed errno=0 (Success)
connection_closing: readying conn=4 sd=11 for close
connection_close: conn=4 sd=11



---------------
At the same time getting these msg at CLIENT :
---------------
bdb_dn2entry("FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in")
=> bdb_dn2id("FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)
bdb_referrals: op=104 target="FileName=Imp_doc,FileName=rkyadav,FileName=Development,dc=cdac,dc=in" matched="FileName=rkyadav,FileName=Development,dc=cdac,dc=in"
oc_check_required entry (FileName=Imp_doc,FileName=rkyadav,FileName=Development,dc=cdac,dc=in), objectClass "GfsNameSpace"
oc_check_allowed type "FileName"
oc_check_allowed type "FileSize"
oc_check_allowed type "Parentid"
oc_check_allowed type "FileMode"
oc_check_allowed type "ProtocolType"
oc_check_allowed type "objectClass"
oc_check_allowed type "DirIndex"
oc_check_allowed type "Gid"
oc_check_allowed type "structuralObjectClass"
oc_check_allowed type "entryUUID"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "entryCSN"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
bdb_dn2entry("FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in")
=> bdb_dn2id("FileName=imp_doc,FileName=rkyadav,FileName=development,dc=cdac,dc=in")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)
bdb_add: no write access to parent
send_ldap_result: conn=8 op=1 p=3
send_ldap_response: msgid=3 tag=105 err=50
ber_flush: 39 bytes to sd 11
connection_get(11): got connid=8
connection_read(11): checking for input on id=8
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
do_unbind
connection_closing: readying conn=8 sd=11 for close
connection_resched: attempting closing conn=8 sd=11
connection_close: conn=8 sd=11





---------------------------------------------------------------- Now tell me whats the problem. Waiting for your reply.