[Kolab-devel] [issue281] deletetion of attributes not working
Martin Konold
kolab-issues at intevation.de
Fri Aug 6 13:10:12 CEST 2004
New submission from Martin Konold <martin.konold at erfrakon.de>:
- Adding an attribute e.g. postbox to an account works as expected.
- Modifying also works
- deleteing (empty string) does not work
- Trying workaround with using a space instead of an empty string leads to
invalid syntax
- Needed is the following
-- leading and trailing white space characters shall be trimmed of the input
strings
-- an empty string must "delete" the attribute
There is bool ldap_mod_del ( resource link_identifier, string dn, array entry)
and bool ldap_delete ( resource link_identifier, string dn) for PHP. The former
is required in tgis case.
$attrs["AttributeName"]=array();
after ldap_mod_del($ds,$dn,$attrs)
all occurences of AttributeName will be removed
----------
assignedto: steffen
messages: 1064
nosy: martin, steffen
priority: bug
status: unread
title: deletetion of attributes not working
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue281>
________________________________________________
More information about the devel
mailing list