diff options
author | Günther Deschner <gd@samba.org> | 2008-07-31 15:11:20 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-07-31 15:15:39 +0200 |
commit | 4b74ae0f15303cbd6def0aef033424a14416947b (patch) | |
tree | 7175aeb93281092aa4a0649adecf05c71e48a8f4 | |
parent | 1c1c83ab8d5b82c95074ff3d44bd6e2daf106399 (diff) | |
download | samba-4b74ae0f15303cbd6def0aef033424a14416947b.tar.gz samba-4b74ae0f15303cbd6def0aef033424a14416947b.tar.bz2 samba-4b74ae0f15303cbd6def0aef033424a14416947b.zip |
netapi: in NetLocalGroupAdd_r() only set description if necessary.
Guenther
(This used to be commit 7e9fa2c5396d3663e83ffbf90475473fdb509871)
-rw-r--r-- | source3/lib/netapi/localgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/localgroup.c b/source3/lib/netapi/localgroup.c index a0a122d74b..c15a17efb1 100644 --- a/source3/lib/netapi/localgroup.c +++ b/source3/lib/netapi/localgroup.c @@ -223,7 +223,7 @@ WERROR NetLocalGroupAdd_r(struct libnetapi_ctx *ctx, goto done; } - if (r->in.level == 1) { + if (r->in.level == 1 && info1->lgrpi1_comment) { union samr_AliasInfo alias_info; |