git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6d4d8
)
s4-netlogon: force an IPv4 address
author
Andrew Tridgell
<tridge@samba.org>
Mon, 6 Jun 2011 05:19:16 +0000
(15:19 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 7 Jun 2011 02:55:37 +0000
(12:55 +1000)
this interface is currently V4 only, don't try and return a V6 address
in a V4 structure
source4/cldap_server/netlogon.c
patch
|
blob
|
history
diff --git
a/source4/cldap_server/netlogon.c
b/source4/cldap_server/netlogon.c
index e950d70ffc252f42a9bbe96716f284604126aa74..92f7a4a752f7ef64c950f8e78e72896b2e4069d5 100644
(file)
--- a/
source4/cldap_server/netlogon.c
+++ b/
source4/cldap_server/netlogon.c
@@
-300,7
+300,7
@@
NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
if (src_address) {
pdc_ip = iface_list_best_ip(ifaces, src_address);
} else {
- pdc_ip = iface_list_
n_ip(ifaces, 0
);
+ pdc_ip = iface_list_
first_v4(ifaces
);
}
ZERO_STRUCTP(netlogon);