1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix flags in call of lookup_name() in pdb_default_create_alias().

Use new flag LOOKUP_NAME_LOCAL.

Michael
This commit is contained in:
Michael Adam 2007-12-17 10:55:37 +01:00
parent cd8c005744
commit 280d6cb6c8

View File

@ -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);