git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6012f31
)
s4-resolve: the file backend should not look at the name type
author
Andrew Tridgell
<tridge@samba.org>
Tue, 14 Sep 2010 23:52:56 +0000
(09:52 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Sep 2010 05:39:36 +0000
(15:39 +1000)
this matches the behaviour of our DNS resolver
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/libcli/resolve/file.c
patch
|
blob
|
history
diff --git
a/source4/libcli/resolve/file.c
b/source4/libcli/resolve/file.c
index 9d64f35d422bdee0298e85081ca54fc02b95cb92..eb6407d0d7b0e47e00854e22f99821d6a412296a 100644
(file)
--- 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;
}