summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-31 15:11:20 +0200
committerGünther Deschner <gd@samba.org>2008-07-31 15:15:39 +0200
commit4b74ae0f15303cbd6def0aef033424a14416947b (patch)
tree7175aeb93281092aa4a0649adecf05c71e48a8f4
parent1c1c83ab8d5b82c95074ff3d44bd6e2daf106399 (diff)
downloadsamba-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.c2
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;