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

2.1.15 loading ldif file problem :



Hello,

I cannot load an ldif file in 2.1.15 :

bdb_db_open: dbenv_open(/ef/Dev/newdev/Aix/ldap/bdb)
=> str2entry
>>> dnPrettyNormal: <o=Eurofer,c=be>
<<< dnPrettyNormal: <o=Eurofer,c=be>, <o=eurofer,c=be>
<= str2entry(o=Eurofer,c=be) -> 0x2006a308
oc_check_required entry (o=Eurofer,c=be), objectClass "EurOrg"
oc_check_allowed type "objectClass" oc_check_allowed type "o"
oc_check_allowed type "mail" oc_check_allowed type "postalAddress"
oc_check_allowed type "postalCode" oc_check_allowed type "l"
oc_check_allowed type "co" oc_check_allowed type "telephoneNumber"
oc_check_allowed type "facsimileTelephoneNumber" oc_check_allowed type
"description" oc_check_allowed type "uid" oc_check_allowed type
"structuralObjectClass" => bdb_tool_entry_put( -1, "o=Eurofer,c=be" ) =>
bdb_dn2id( "o=eurofer,c=be" ) <= bdb_dn2id: get failed: DB_NOTFOUND: No
matching key/data pair found (-30991) => bdb_dn2id_add( "o=eurofer,c=be",
0x00000001 ) <= bdb_dn2id_add: 0 => entry_encode(0x00000001): o=Eurofer,c=be
=> index_entry_add( 1, "o=Eurofer,c=be" ) => key_change(ADD,1)
bdb_idl_insert_key: 1 [2daf1b1a]
<= key_change 0
=> key_change(ADD,1)
bdb_idl_insert_key: 1 [0096defd]
<= key_change 0
=> key_change(ADD,1)
bdb_idl_insert_key: 1 [62c4d55f]
<= key_change 0
=> key_change(ADD,1)
bdb_idl_insert_key: 1 [85cc2974]
<= key_change 0
<= index_entry_add( 1, "o=Eurofer,c=be" ) success
=> str2entry
>>> dnPrettyNormal: <br=External,o=Eurofer,c=be>
<<< dnPrettyNormal: <br=External,o=Eurofer,c=be>,
<br=External,o=eurofer,c=be> <= str2entry(br=External,o=Eurofer,c=be) ->
0x2006a308
slapadd: dn="br=External,o=Eurofer,c=be" (line=20): (16) value of naming
attribute 'br' is not present in entry

Here, my ldfif file :

    +1  dn: o=Eurofer,c=be
    +2  objectClass: EurOrg
    +3  objectClass: top
    +4  o: Eurofer
    +5  mail: mail@eurofer.be
    +6  postalAddress: 211, rue du noyer
    +7  postalCode: 1000
    +8  l: Brussels
    +9  co: Belgium
   +10  telephoneNumber: +32 (2) 738 79 20
   +11  facsimileTelephoneNumber: +32 (2) 736 30 01
   +12  description: The European Iron and Steel Industry
   +13  uid: 21427483-18467
   +14  structuralObjectClass: EurOrg
   +15
   +16  dn: br=External,o=Eurofer,c=be
   +17  objectClass: branch
   +18  br: External
   +19  structuralObjectClass: branch
   +20


Thanks in advance

Guy