]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netapi: in NetLocalGroupAdd_r() only set description if necessary.
authorGünther Deschner <gd@samba.org>
Thu, 31 Jul 2008 13:11:20 +0000 (15:11 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 31 Jul 2008 13:15:39 +0000 (15:15 +0200)
Guenther

source/lib/netapi/localgroup.c

index a0a122d74b61551f97b9d275afa264aaf6d280e8..c15a17efb102efd0e9b9efe07f7651bd9cc2fa4f 100644 (file)
@@ -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;