summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-17 10:55:37 +0100
committerMichael Adam <obnox@samba.org>2007-12-17 13:05:45 +0100
commit286b050e1555473e0fbe9c98d4a2351c02a7777f (patch)
tree9bead9cfba569632422638e29c162d44d80c371a
parent470e970e41b4c90a0e733e52f1f7784ad017c447 (diff)
downloadsamba-286b050e1555473e0fbe9c98d4a2351c02a7777f.tar.gz
samba-286b050e1555473e0fbe9c98d4a2351c02a7777f.tar.bz2
samba-286b050e1555473e0fbe9c98d4a2351c02a7777f.zip
Fix flags in call of lookup_name() in pdb_default_create_alias().
Use new flag LOOKUP_NAME_LOCAL. Michael (This used to be commit 280d6cb6c8e834ce0a08769e9187b0f40321716f)
-rw-r--r--source3/groupdb/mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index 3a3da0a128..1ddda583df 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -477,7 +477,7 @@ NTSTATUS pdb_default_create_alias(struct pdb_methods *methods,
return NT_STATUS_NO_MEMORY;
}
- exists = lookup_name(mem_ctx, name, LOOKUP_NAME_ISOLATED,
+ exists = lookup_name(mem_ctx, name, LOOKUP_NAME_LOCAL,
NULL, NULL, &sid, &type);
TALLOC_FREE(mem_ctx);