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

Only one entry is loaded with ldapModify



Thanks in advance if someone can help me !

I am using the follwing command line to load an ldif file:

ldapmodify -r -c -H ldap://96.96.96.96 -f extrLDAP.ldif -D
cn=Manager,o=AXA-CORPORATESOLUTIONS  -w secret

only the first entry is modified, the following entries of my ldif file are
ignored.

here is the output of the verbose mode:
--------
	modifying entry "uid=abathe01,ou=people,o=AXA-CORPORATESOLUTIONS"
-------

the slapd log shows some errors, maybe it is linked ?

here is the slapd log:

----------------------
connection_get(22): got connid=23
connection_read(22): checking for input on id=23
ber_get_next
ber_get_next: tag 0x30 len 53 contents:
ber_get_next
ber_get_next on fd 22 failed errno=35 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=3 dn="cn=Manager,o=axa-corporatesolutions" method=128
dn2entry_r: dn: "CN=MANAGER,O=AXA-CORPORATESOLUTIONS"
=> dn2id( "CN=MANAGER,O=AXA-CORPORATESOLUTIONS" )
====> cache_find_entry_dn2id("CN=MANAGER,O=AXA-CORPORATESOLUTIONS"): 2 (1
tries)
<= dn2id 2 (in cache)
=> id2entry_r( 2 )
====> cache_find_entry_id( 2 ) "cn=Manager, o=axa-corporatesolutions"
(found) (1 tries)
<= id2entry_r( 2 ) 0x80e0cc0 (cache)
====> cache_return_entry_r( 2 ): returned (0)
do_bind: v3 bind: "cn=Manager,o=axa-corporatesolutions" to "cn=Manager,
o=axa-corporatesoluti
ons"
send_ldap_result: conn=23 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 22
connection_get(22): got connid=23
connection_read(22): checking for input on id=23
ber_get_next
ber_get_next: tag 0x30 len 425 contents:
ber_get_next
ber_get_next on fd 22 failed errno=35 (Resource temporarily unavailable)
do_modify
ber_scanf fmt ({a) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
ber_scanf fmt ({i{a[V]}}) ber:
dn2entry_r: dn: "UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS"
=> dn2id( "UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS" )
====>
cache_find_entry_dn2id("UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS"): 5
(1 tries)
<= dn2id 5 (in cache)
=> id2entry_r( 5 )
====> cache_find_entry_id( 5 ) "uid=abathe01,ou=people,
o=axa-corporatesolutions" (found) (1
tries)
<= id2entry_r( 5 ) 0x80e0de0 (cache)
====> cache_return_entry_r( 5 ): returned (0)
dn2entry_w: dn: "UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS"
=> dn2id( "UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS" )
====>
cache_find_entry_dn2id("UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS"): 5
(1 tries)
<= dn2id 5 (in cache)
=> id2entry_w( 5 )
====> cache_find_entry_id( 5 ) "uid=abathe01,ou=people,
o=axa-corporatesolutions" (found) (1
tries)
<= id2entry_w( 5 ) 0x80e0de0 (cache)
ldbm_modify_internal: UID=ABATHE01,OU=PEOPLE,O=AXA-CORPORATESOLUTIONS
oc_check_required entry (uid=abathe01,ou=people, o=axa-corporatesolutions),
objectClass "Top"
oc_check_required entry (uid=abathe01,ou=people, o=axa-corporatesolutions),
objectClass "pers
on"
oc_check_required entry (uid=abathe01,ou=people, o=axa-corporatesolutions),
objectClass "orga
nizationalPerson"
oc_check_required entry (uid=abathe01,ou=people, o=axa-corporatesolutions),
objectClass "inet
OrgPerson"
oc_check_allowed type "userPassword"
oc_check_allowed type "physicalDeliveryOfficeName"
oc_check_allowed type "postalAddress"
oc_check_allowed type "seeAlso"
oc_check_allowed type "businessCategory"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "objectClass"
oc_check_allowed type "o"
oc_check_allowed type "cn"
oc_check_allowed type "givenName"
oc_check_allowed type "sn"
oc_check_allowed type "telephoneNumber"
oc_check_allowed type "employeeType"
oc_check_allowed type "mail"
oc_check_allowed type "uid"
oc_check_allowed type "l"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
=> index_entry_del( 5, "uid=abathe01,ou=people, o=axa-corporatesolutions" )
=> ldbm_cache_open( "objectClass.dbb", 73, 600 )
<= ldbm_cache_open (cache 3)
=> key_change(DELETE,5)
<= key_change 0
=> key_change(DELETE,5)
<= key_change 0
=> key_change(DELETE,5)
<= key_change 0
=> key_change(DELETE,5)
<= key_change 0
=> key_change(DELETE,5)
<= key_change 0
=> ldbm_cache_open( "uid.dbb", 73, 600 )
<= ldbm_cache_open (cache 4)
=> key_change(DELETE,5)
<= key_change 0
=> key_change(DELETE,5)
<= key_change 0
<= index_entry_del( 5, "uid=abathe01,ou=people, o=axa-corporatesolutions" )
success
=> index_entry_add( 5, "uid=abathe01,ou=people, o=axa-corporatesolutions" )
=> ldbm_cache_open( "objectClass.dbb", 73, 600 )
<= ldbm_cache_open (cache 3)
=> key_change(ADD,5)
<= key_change 0
=> key_change(ADD,5)
<= key_change 0
=> key_change(ADD,5)
<= key_change 0
=> key_change(ADD,5)
<= key_change 0
=> key_change(ADD,5)
<= key_change 0
=> ldbm_cache_open( "uid.dbb", 73, 600 )
<= ldbm_cache_open (cache 4)
=> key_change(ADD,5)
<= key_change 0
=> key_change(ADD,5)
<= key_change 0
<= index_entry_add( 5, "uid=abathe01,ou=people, o=axa-corporatesolutions" )
success
=> id2entry_add( 5, "uid=abathe01,ou=people, o=axa-corporatesolutions" )
=> ldbm_cache_open( "id2entry.dbb", 73, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_add 0
send_ldap_result: conn=23 op=1 p=3
send_ldap_response: msgid=2 tag=103 err=0
ber_flush: 14 bytes to sd 22
====> cache_return_entry_w( 5 ): returned (0)
connection_get(22): got connid=23
connection_read(22): checking for input on id=23
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 22 failed errno=35 (Resource temporarily unavailable)
do_unbind
connection_closing: readying conn=23 sd=22 for close
connection_resched: attempting closing conn=23 sd=22
connection_close: conn=23 sd=22
connection_get(9): got connid=1
connection_read(9): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 105 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({aiiiib) ber:
ber_scanf fmt ({oo}) ber:
ber_scanf fmt ({oo}) ber:
ber_scanf fmt ({v}}) ber:
=> ldbm_back_search
dn2entry_r: dn: "OU=PEOPLE,O=AXA-CORPORATESOLUTIONS"
=> dn2id( "OU=PEOPLE,O=AXA-CORPORATESOLUTIONS" )
====> cache_find_entry_dn2id("OU=PEOPLE,O=AXA-CORPORATESOLUTIONS"): 4 (1
tries)
<= dn2id 4 (in cache)
=> id2entry_r( 4 )
====> cache_find_entry_id( 4 ) "ou=people, o=axa-corporatesolutions" (found)
(1 tries)
<= id2entry_r( 4 ) 0x80e0f20 (cache)
search_candidates: base="OU=PEOPLE,O=AXA-CORPORATESOLUTIONS" s=2 d=0
=> filter_candidates
=> list_candidates 0xa0
=> filter_candidates
=> dn2idl( "@OU=PEOPLE,O=AXA-CORPORATESOLUTIONS" )
=> ldbm_cache_open( "dn2id.dbb", 73, 600 )
<= ldbm_cache_open (cache 0)
<= idl_fetch 3226 ids (3226 max)
<= filter_candidates 3226
=> filter_candidates
=> list_candidates 0xa1
=> filter_candidates
=> equality_candidates
=> ldbm_cache_open( "objectClass.dbb", 73, 600 )
<= ldbm_cache_open (cache 3)
=> key_read
<= index_read 0 candidates
<= equality_candidates NULL
<= equality_candidates 0
<= filter_candidates 0
=> filter_candidates
=> list_candidates 0xa0
=> filter_candidates
=> equality_candidates
=> ldbm_cache_open( "uid.dbb", 73, 600 )
<= ldbm_cache_open (cache 4)
=> key_read
<= index_read 0 candidates
<= equality_candidates NULL
<= equality_candidates 0
<= filter_candidates 0
<= list_candidates NULL
idl_free: called with NULL pointer
<= filter_candidates 0
<= list_candidates 0
<= filter_candidates 0
<= list_candidates NULL
<= filter_candidates 0
====> cache_return_entry_r( 4 ): returned (0)
ldbm_search: no candidates
send_ldap_search_result 0::
send_ldap_response: msgid=1531 tag=101 err=0
ber_flush: 15 bytes to sd 9




AXA Corporate Solutions
Guillaume Robieux
Analyste Informatique Sénior
IT Senior Analyst
9, Avenue Messine - 75008 Paris - France
Tel	(+33 1) 56 43 94 70
Fax	(+33 1) 56 43 92 25
E-Mail	mailto:guillaume.robieux@axa-corporatesolutions.com

Ce message peut contenir de l'information confidentielle et est adressé
uniquement au(x) destinataire(s) prévu(s)  par l'expéditeur. Si vous n'êtes
pas celui-ci, vous êtes priés de ne pas user, utiliser, disséminer ou
reproduire le contenu de ce message. S'il s'agit d'une erreur, veuillez en
avertir l'expéditeur dans les plus brefs délais. L'information contenue dans
ce message reflète exclusivement l'opinion de la personne qui l'a émise mais
en aucun cas celle du Groupe AXA.
This message may contain confidential information destined to be read only
by the intended recipient. No other persons should read, use, publish or
reproduce the content of this message. If you receive this message by
mistake, please notify the sender immediately. The information contained in
this message represents the personal opinions of the individual that sent it
and should not be construed as representing the position of the AXA Group.