summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/resolve/file.c2
1 files changed, 1 insertions, 1 deletions
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;
}