git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03ec03
)
s4:dsdb/common/util_samr.c - remove the primary group specifications
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Wed, 15 Sep 2010 13:01:00 +0000
(15:01 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 23 Sep 2010 23:25:42 +0000
(09:25 +1000)
Now also the primary group detection/change on modify operations does work
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util_samr.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util_samr.c
b/source4/dsdb/common/util_samr.c
index 3a6be10a883ed55860f96b8008a12ccd84ce471a..dbf71949a041dfb7e33a3fde9b768ddd20c62e4f 100644
(file)
--- 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);