git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fabbb0
)
Fix bug where not specifying '-S PDC' in 'net join' would cause it to attempt
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 9 Nov 2002 02:36:47 +0000
(
02:36
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 9 Nov 2002 02:36:47 +0000
(
02:36
+0000)
to contact a random IP address.
Andrew Bartlett
(This used to be commit
e6837a85605f258da1fa9ac7ad329bc62392f29a
)
source3/utils/net.c
patch
|
blob
|
history
diff --git
a/source3/utils/net.c
b/source3/utils/net.c
index 607e47cf710749e1512b0fc7a1c110ced1c69397..4b1a52992e4689a79f7a0521b893d181d254d222 100644
(file)
--- a/
source3/utils/net.c
+++ b/
source3/utils/net.c
@@
-192,6
+192,7
@@
BOOL net_find_server(unsigned flags, struct in_addr *server_ip, char **server_na
return False;
*server_name = strdup(dc_name);
+ *server_ip = pdc_ip;
}
} else if (flags & NET_FLAGS_DMB) {