diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-12-22 22:19:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:35 -0500 |
commit | 61b1620fc495d28fce5e585fe92f23cc9f5eb2af (patch) | |
tree | 3faf190b36b8d282d31aeed309b3c053dba9679f /source4/dsdb/samdb/samdb.c | |
parent | 7f773c9ae8b55a24369dab1a346446ca9baf1345 (diff) | |
download | samba-61b1620fc495d28fce5e585fe92f23cc9f5eb2af.tar.gz samba-61b1620fc495d28fce5e585fe92f23cc9f5eb2af.tar.bz2 samba-61b1620fc495d28fce5e585fe92f23cc9f5eb2af.zip |
r4335: Fix some potential memleaks, implement CreateDomAlias. Hmmmm. Isn't there
enough stuff to do in 3_0??? ;-)
Volker
(This used to be commit c0fa7a92d9f602dc50801a9827e121c2b095a336)
Diffstat (limited to 'source4/dsdb/samdb/samdb.c')
-rw-r--r-- | source4/dsdb/samdb/samdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index 7501d94ae6..209599b9dc 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -566,7 +566,8 @@ int samdb_copy_template(void *ctx, TALLOC_CTX *mem_ctx, if (strcasecmp(el->name, "objectClass") == 0 && (strcasecmp((char *)el->values[j].data, "Template") == 0 || strcasecmp((char *)el->values[j].data, "userTemplate") == 0 || - strcasecmp((char *)el->values[j].data, "groupTemplate") == 0)) { + strcasecmp((char *)el->values[j].data, "groupTemplate") == 0 || + strcasecmp((char *)el->values[j].data, "aliasTemplate") == 0)) { continue; } samdb_msg_add_string(ctx, mem_ctx, msg, el->name, |