[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Sun Sep 12 13:25:52 MDT 2010


The branch, master has been updated
       via  7e9e35d s4:util_samr.c - also here we've now the default primaryGroupID detection working
      from  4a29415 s4:ldap.py - tests the primary group detection by the "userAccountControl"

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7e9e35db4126f953e8a2579d992c63b274011119
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Sun Sep 12 21:19:27 2010 +0200

    s4:util_samr.c - also here we've now the default primaryGroupID detection working

-----------------------------------------------------------------------

Summary of changes:
 source4/dsdb/common/util_samr.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c
index 6a14f0a..02f31bf 100644
--- a/source4/dsdb/common/util_samr.c
+++ b/source4/dsdb/common/util_samr.c
@@ -115,8 +115,6 @@ NTSTATUS dsdb_add_user(struct ldb_context *ldb,
 		cn_name[cn_name_len - 1] = '\0';
 		container = "CN=Computers";
 		obj_class = "computer";
-		samdb_msg_add_int(ldb, tmp_ctx, msg,
-			"primaryGroupID", DOMAIN_RID_DOMAIN_MEMBERS);
 
 	} else if (acct_flags == ACB_SVRTRUST) {
 		if (cn_name[cn_name_len - 1] != '$') {
@@ -126,8 +124,7 @@ NTSTATUS dsdb_add_user(struct ldb_context *ldb,
 		cn_name[cn_name_len - 1] = '\0';
 		container = "OU=Domain Controllers";
 		obj_class = "computer";
-		samdb_msg_add_int(ldb, tmp_ctx, msg,
-			"primaryGroupID", DOMAIN_RID_DCS);
+
 	} else {
 		ldb_transaction_cancel(ldb);
 		talloc_free(tmp_ctx);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list