1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s4-resolve: the file backend should not look at the name type

this matches the behaviour of our DNS resolver

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2010-09-15 09:52:56 +10:00
parent 6012f31115
commit 66460c946a

View File

@ -70,7 +70,7 @@ struct composite_context *resolve_name_file_send(TALLOC_CTX *mem_ctx,
if (c == NULL) return NULL;
/* This isn't an NBT layer resolver */
if (flags & RESOLVE_NAME_FLAG_FORCE_NBT || name->type != NBT_NAME_SERVER) {
if (flags & RESOLVE_NAME_FLAG_FORCE_NBT) {
composite_error(c, NT_STATUS_OBJECT_NAME_NOT_FOUND);
return c;
}