diff options
author | Michael Adam <obnox@samba.org> | 2007-12-17 11:32:21 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-12-17 13:05:54 +0100 |
commit | 4c8a7082880e1c7ffff32f2567bc768d908a3699 (patch) | |
tree | 403c3b55f9289ec7807a31e087aebee033c3caa6 /source3 | |
parent | 286b050e1555473e0fbe9c98d4a2351c02a7777f (diff) | |
download | samba-4c8a7082880e1c7ffff32f2567bc768d908a3699.tar.gz samba-4c8a7082880e1c7ffff32f2567bc768d908a3699.tar.bz2 samba-4c8a7082880e1c7ffff32f2567bc768d908a3699.zip |
Fix flags in call of lookup_name() in srv_samr_nt.c: can_create().
Use LOOKUP_NAME_LOCAL instead of LOOKUP_NAME_ISOLATED.
Michael
(This used to be commit 1d4e0ad1142c61de402c925306f02f5de2c872f6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 1af41228a7..cc4b4f330f 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -2494,9 +2494,9 @@ static NTSTATUS can_create(TALLOC_CTX *mem_ctx, const char *new_name) DEBUG(10, ("Checking whether [%s] can be created\n", new_name)); become_root(); - /* Lookup in our local databases (only LOOKUP_NAME_ISOLATED set) + /* Lookup in our local databases (LOOKUP_NAME_REMOTE not set) * whether the name already exists */ - result = lookup_name(mem_ctx, new_name, LOOKUP_NAME_ISOLATED, + result = lookup_name(mem_ctx, new_name, LOOKUP_NAME_LOCAL, NULL, NULL, NULL, &type); unbecome_root(); |