r24059: Fix bug 4822 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 27 Jul 2007 02:07:17 +0000 (02:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:20 +0000 (15:01 -0500)
commitfe60cd993d518afc0e982da9591acc176b0c5036
tree588a98364cc1784b135b3ace5f15357ae14b1e00
parent6dad5b6e06242f29b7da6f9ea91d911b0f20d7b9
r24059: Fix bug 4822 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>.

Any SAMR client (usrmgr.exe in this case) that attempted to set a
property to a zero length string found instead the the old value was
kept.

In fixing this, rework the macros to be cleaner (add the
always-present .string) to every macro, and remove the use of the
samdb_modify() and samdb_replace() wrappers where possible.

Andrew Bartlett
(This used to be commit b05fe693047c09b85c7fc0e1ea8d931c99910375)
source4/rpc_server/samr/dcesrv_samr.c
source4/torture/rpc/samr.c