git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f37277
)
dsgetdcname: remove invalid assumption in discover_dc_dns().
author
Günther Deschner
<gd@samba.org>
Wed, 7 May 2008 19:02:50 +0000
(21:02 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 26 May 2008 09:50:44 +0000
(11:50 +0200)
Guenther
(cherry picked from commit
f48b2e844b673e99c84cb24f3c3718352ab93ce5
)
source/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source/libsmb/dsgetdcname.c
b/source/libsmb/dsgetdcname.c
index a21fc9a217fc4a0deecf2d82ceb0fccc8592ce18..981994ca43fe2a26f109bba8b9f16f09be86488d 100644
(file)
--- a/
source/libsmb/dsgetdcname.c
+++ b/
source/libsmb/dsgetdcname.c
@@
-552,11
+552,6
@@
static NTSTATUS discover_dc_dns(TALLOC_CTX *mem_ctx,
r->port = dcs[count].port;
r->hostname = dcs[count].hostname;
- if (!(flags & DS_IP_REQUIRED)) {
- count++;
- continue;
- }
-
/* If we don't have an IP list for a name, lookup it up */
if (!dcs[i].ss_s) {