diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-05-09 11:21:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:50 -0500 |
commit | 9652ed4de87d2bc449c0dd5fe07f4e15190511f0 (patch) | |
tree | 3ab4595af37f74d7b2172f3b1e663faae84b1945 /source4/rpc_server/samr/samdb.c | |
parent | 1f2fa49b200b0cceb79b52f5deca973476028ac1 (diff) | |
download | samba-9652ed4de87d2bc449c0dd5fe07f4e15190511f0.tar.gz samba-9652ed4de87d2bc449c0dd5fe07f4e15190511f0.tar.bz2 samba-9652ed4de87d2bc449c0dd5fe07f4e15190511f0.zip |
r605: Implement CreateDomainGroup, essentially cut&paste from CreateUser2.
Volker
(This used to be commit 59241c0c9aa2d64d66eb04e81aa5500681604061)
Diffstat (limited to 'source4/rpc_server/samr/samdb.c')
-rw-r--r-- | source4/rpc_server/samr/samdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c index 5aae82e39d..af915e599f 100644 --- a/source4/rpc_server/samr/samdb.c +++ b/source4/rpc_server/samr/samdb.c @@ -429,6 +429,10 @@ int samdb_copy_template(void *ctx, TALLOC_CTX *mem_ctx, strcasecmp((char *)el->values[j].data, "userTemplate") == 0) { continue; } + if (strcasecmp(el->name, "objectClass") == 0 && + strcasecmp((char *)el->values[j].data, "groupTemplate") == 0) { + continue; + } samdb_msg_add_string(ctx, mem_ctx, msg, el->name, (char *)el->values[j].data); } |