From 66460c946ac8b4dadb00cb10cfa14a642a206871 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Sep 2010 09:52:56 +1000 Subject: [PATCH] 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 --- source4/libcli/resolve/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1