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:
parent
cd8c005744
commit
280d6cb6c8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user