[SCM] Samba Shared Repository - branch master updated

Christian Ambach ambi at samba.org
Tue Jun 16 03:59:04 MDT 2015

The branch, master has been updated
       via  9df07e6 Group creation: Add msSFU30Name only when --nis-domain was given
      from  95fc7fb lib: ldap: Properly check talloc error returns.


- Log -----------------------------------------------------------------
commit 9df07e6f1bcea55fcdab777c3f45a1a6ca88f69e
Author: Marc Muehlfeld <mmuehlfeld at samba.org>
Date:   Thu Jun 11 21:20:55 2015 +0200

    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 at samba.org>
    Reviewed-by: Christian Ambach <ambi at samba.org>
    Autobuild-User(master): Christian Ambach <ambi at samba.org>
    Autobuild-Date(master): Tue Jun 16 11:58:02 CEST 2015 on sn-devel-104


Summary of changes:
 python/samba/samdb.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Changeset truncated at 500 lines:

diff --git a/python/samba/samdb.py b/python/samba/samdb.py
index e74e823..e3a6292 100644
--- a/python/samba/samdb.py
+++ b/python/samba/samdb.py
@@ -191,8 +191,6 @@ pwdLastSet: 0
             "sAMAccountName": groupname,
             "objectClass": "group"}
-        ldbmessage["msSFU30Name"] = groupname
         if grouptype is not None:
             ldbmessage["groupType"] = normalise_int32(grouptype)
@@ -209,6 +207,7 @@ pwdLastSet: 0
             ldbmessage["gidNumber"] = normalise_int32(gidnumber)
         if nisdomain is not None:
+            ldbmessage["msSFU30Name"] = groupname
             ldbmessage["msSFU30NisDomain"] = nisdomain
         if sd is not None:

Samba Shared Repository

More information about the samba-cvs mailing list