Group creation: Add msSFU30Name only when --nis-domain was given
commit251141b8e5bf29febd151a5d8db42748e62f6a26
authorMarc Muehlfeld <mmuehlfeld@samba.org>
Thu, 11 Jun 2015 19:20:55 +0000 (11 21:20 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2015 02:19:07 +0000 (30 04:19 +0200)
tree2efa46a34db80a8ad8309fb72c45585ad6e8e7ef
parentaa658dc7832738efecb1088b55be10367be0703a
Group creation: Add msSFU30Name only when --nis-domain was given

This fixes a bug, that all new created groups automatically get an
msSFU30Name attribute added. This should only be the case, when
we also have a nis-domain (samba-tool --nis-domain=...).

Bugreport: https://bugzilla.samba.org/show_bug.cgi?id=11315

Signed-off-by: Marc Muehlfeld <mmuehlfeld@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Tue Jun 16 11:58:02 CEST 2015 on sn-devel-104

(cherry picked from commit 9df07e6f1bcea55fcdab777c3f45a1a6ca88f69e)
python/samba/samdb.py