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:
4a29415
)
s4:util_samr.c - also here we've now the default primaryGroupID detection working
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sun, 12 Sep 2010 19:19:27 +0000
(21:19 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sun, 12 Sep 2010 19:19:27 +0000
(21:19 +0200)
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 6a14f0a4f48488b037ac899924a3c8cdf24c1866..02f31bf305531ba45b0c53dc5fb99dc63c4f2d20 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_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);