Hi all,
I am trying to modify attribute using
ldap_modify_s() , I am trying to update the attribute departmentNumber
using
LDAP_MOD_REPLACE. Root is
trying to modify the record
The error that ldap_modify_s routine is
displaying on console is
ldap_modify_s: Undefined attribute
type
additional info: departmentnumber0: ìã My log file logging following
information
.................
Oct 12 11:22:25 earth slapd[969]:
connection_get(9)
Oct 12 11:22:25 earth slapd[969]: connection_get(9): got connid=34 Oct 12 11:22:25 earth slapd[969]: connection_read(9): checking for input on id=34 Oct 12 11:22:25 earth slapd[969]: ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable) Oct 12 11:22:25 earth slapd[1167]: do_modify Oct 12 11:22:25 earth slapd[1167]: do_modify: dn (cn=jaswant kumar,ou=yyy,l=xxx,c=in,o=zzz) Oct 12 11:22:25 earth slapd[1167]: modifications: Oct 12 11:22:25 earth slapd[1167]: ^Ireplace: departmentnumber0 Oct 12 11:22:25 earth slapd[1167]: conn=34 op=2 MOD dn="cn=jaswant kumar,ou=yyy,l=xxx,c=in,o=zzz" Oct 12 11:22:25 earth slapd[1167]: dn2entry_r: dn: "CN=JASWANT KUMAR,OU=YYY,L=XXX,C=IN,O=ZZZ" Oct 12 11:22:25 earth slapd[1167]: => dn2id( "CN=JASWANT KUMAR,OU=YYY,L=XXX,C=IN,O=ZZZ" ) Oct 12 11:22:25 earth slapd[1167]: ====> cache_find_entry_dn2id("CN=JASWANT KUMAR,OU=YYY,L=XXX,C=IN,O=ZZZ"): 18 (1 tries) Oct 12 11:22:25 earth slapd[1167]: <= dn2id 18 (in cache) Oct 12 11:22:25 earth slapd[1167]: => id2entry_r( 18 ) Oct 12 11:22:25 earth slapd[1167]: ====>
cache_find_entry_id( 18 ) "cn=Jaswant
Kumar,ou=yyy,l=xxx,c=in,o=zzz " (found) (1 tries)
Oct 12 11:22:25 earth slapd[1167]: <= id2entry_r( 18 ) 0x8134338 (cache) Oct 12 11:22:25 earth slapd[1167]: entry_rdwr_runlock: ID: 18 Oct 12 11:22:25 earth slapd[1167]: ====> cache_return_entry_r( 18 ): returned (0 ) Oct 12 11:22:25 earth slapd[1167]: send_ldap_result: conn=34 op=2 p=2 Oct 12 11:22:25 earth slapd[1167]: send_ldap_result: 17::departmentnumber0: ìã^I ^H Oct 12 11:22:25 earth slapd[1167]: send_ldap_response: msgid=3 tag=103 err=17 Oct 12 11:22:25 earth slapd[1167]: conn=34 op=2 RESULT tag=103 err=17 text=depar tmentnumber0: ìã^I^H Oct 12 11:22:25 earth slapd[969]: connection_get(9) Oct 12 11:22:25 earth slapd[969]: connection_get(9): got connid=34 Oct 12 11:22:25 earth slapd[969]: connection_read(9): checking for input on id=3 4 Oct 12 11:22:25 earth slapd[969]: ber_get_next on fd 9 failed errno=0 (Success) Oct 12 11:22:25 earth slapd[969]: connection_read(9): input error=-2 id=34, clos ing. Oct 12 11:22:25 earth slapd[969]: connection_closing: readying conn=34 sd=9 for close Oct 12 11:22:25 earth slapd[969]: connection_close: conn=34 sd=9 ..................
Can any body help me on this . what does
err=17 tells us about
and also my log file continues log such info when
its performing any sort of transaction
ie
...............
failed errno=11 (Resource temporarily unavailable)
?
..................
thanx
with regards
Puneet
|