Hi all,
I'm triying to update an entry, and it's failing. The server just crashes, so I started it with debug 4, and that's what I got:
connection_get(15)
conn=1002 op=2 do_modify: dn (cn=xxxxxxx,ou=External Users,dc=eco,dc=spb,dc=com)
=> ldap_bv2dn(cn=xxxxxxx,ou=External Users,dc=eco,dc=spb,dc=com,0)
<= ldap_bv2dn(cn=xxxxxxx,ou=External Users,dc=eco,dc=spb,dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=xxxxxxx,ou=External Users,dc=eco,dc=spb,dc=com)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=xxxxxxx,ou=external users,dc=eco,dc=spb,dc=com)=0
conn=1002 op=2 modifications:
add: displayName
one value, length 19
add: mail
one value, length 16
add: sAMAccountName
one value, length 8
add: givenName
one value, length 6
add: userPassword
one value, length 10
add: objectclass
multiple values
add: sn
one value, length 12
base_candidates: base: "cn=xxxxxxx,ou=external users,dc=eco,dc=spb,dc=com" (0x0000000d)
send_ldap_result: err=0 matched="" text=""
bdb_modify: cn=xxxxxxx,ou=External Users,dc=eco,dc=spb,dc=com
bdb_modify_internal: add displayName
slapd: attr.c:478: attr_merge: Assertion `( nvals == ((void *)0) && (*a)->a_nvals == (*a)->a_vals ) || ( nvals != ((void *)0) && ( ( (*a)->a_vals == ((void *)0) && (*a)->a_nvals == ((void *)0) ) || ( (*a)->a_nvals != (*a)->a_vals ) ) )' failed.
Aborted
The attribute displayName is defined as follows:
attributetype ( 1.2.840.113556.1.2.13
NAME 'displayName'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
SINGLE-VALUE )
What am I doing wrong?
Thanks.
Jose