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

Can't explicitly delete an attribute with " " value (ITS#2408)

Full_Name: Volker Lendecke
Version: 2.0.27
OS: debian woody
Submission from: (NULL) (

jmcd@samba.org suggested I file a OpenLDAP ITS, so here it is.

Why does my LDAP server deny the following request?

ldapmodify sends this IA== (base64 for blank) as '04 01 20' according
to ethereal.

If I have a non-base64 value, say 'xxx', in 'profilePath' this works
perfecly fine.

This is a standard debian woody, so I have slapd 2.0.23.

This also happens on a freshly compiled 2.0.27, 2.1.16 does not show this

I'm still seeing this as my error, or could this also be an OpenLDAP



vlendec@delphin:~/ldif$ ldapsearch -x uid=vl profilePath
version: 2

# filter: uid=vl
# requesting: profilePath

# vl, samba, org
dn: uid=vl,dc=samba,dc=org
profilePath:: IA==

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
vlendec@delphin:~/ldif$ cat test.ldif
dn: uid=vl,dc=samba,dc=org
changetype: modify
delete: profilePath
profilePath:: IA==
vlendec@delphin:~/ldif$ ldapmodify -x -D cn=admin,dc=samba,dc=org -w secret -f
modifying entry "uid=vl,dc=samba,dc=org"
ldap_modify: Invalid syntax
        additional info: modify: delete values failed

ldif_record() = 21