diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-15 15:01:00 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-24 09:25:42 +1000 |
commit | 2e913994f2455019a3b99cb19df2f319b7218e17 (patch) | |
tree | 1e04a107d5b1ffb3aaf29a93e791de2594d9e7f1 /source4/dsdb/common | |
parent | c03ec03212ff08b56710f1935caa6aa7f6cb529f (diff) | |
download | samba-2e913994f2455019a3b99cb19df2f319b7218e17.tar.gz samba-2e913994f2455019a3b99cb19df2f319b7218e17.tar.bz2 samba-2e913994f2455019a3b99cb19df2f319b7218e17.zip |
s4:dsdb/common/util_samr.c - remove the primary group specifications
Now also the primary group detection/change on modify operations does work
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/common')
-rw-r--r-- | source4/dsdb/common/util_samr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c index 3a6be10a88..dbf71949a0 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_uint(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,6 @@ 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_uint(ldb, tmp_ctx, msg, - "primaryGroupID", DOMAIN_RID_DCS); } else { ldb_transaction_cancel(ldb); talloc_free(tmp_ctx); |