diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-15 09:52:56 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-15 15:39:36 +1000 |
commit | 66460c946ac8b4dadb00cb10cfa14a642a206871 (patch) | |
tree | ab8a87eadf96189166dcbbe17baee557b3b7d5cb /source4/libcli/resolve | |
parent | 6012f311159ddf0ee45dd954eb0808463e406356 (diff) | |
download | samba-66460c946ac8b4dadb00cb10cfa14a642a206871.tar.gz samba-66460c946ac8b4dadb00cb10cfa14a642a206871.tar.bz2 samba-66460c946ac8b4dadb00cb10cfa14a642a206871.zip |
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>
Diffstat (limited to 'source4/libcli/resolve')
-rw-r--r-- | source4/libcli/resolve/file.c | 2 |
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; } |