From: Andrew Tridgell Date: Tue, 14 Sep 2010 23:52:56 +0000 (+1000) Subject: s4-resolve: the file backend should not look at the name type X-Git-Url: http://git.samba.org/?p=kamenim%2Fsamba.git;a=commitdiff_plain;h=66460c946ac8b4dadb00cb10cfa14a642a206871 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 --- diff --git a/source4/libcli/resolve/file.c b/source4/libcli/resolve/file.c index 9d64f35d42..eb6407d0d7 100644 --- a/source4/libcli/resolve/file.c +++ b/source4/libcli/resolve/file.c @@ -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; }