[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-392-g988c5ff
Michael Adam
obnox at samba.org
Thu Nov 29 14:17:47 GMT 2007
The branch, v3-2-test has been updated
via 988c5ff3f47b7508b229464bbed2ca1948d6e27c (commit)
from 223352e32372f1b055298cfc6f2770043a845e3d (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 988c5ff3f47b7508b229464bbed2ca1948d6e27c
Author: Michael Adam <obnox at samba.org>
Date: Thu Nov 29 15:16:06 2007 +0100
Allow calling "net rpc join" and "net rpc trustdom" without specifying server IP.
This was a logic bug (typo) in a call to get_pdc_ip() in net_find_server().
Michael
-----------------------------------------------------------------------
Summary of changes:
source/utils/net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net.c b/source/utils/net.c
index 2390e58..8015358 100644
--- a/source/utils/net.c
+++ b/source/utils/net.c
@@ -414,7 +414,7 @@ bool net_find_server(const char *domain,
fstring dc_name;
struct sockaddr_storage pdc_ss;
- if (get_pdc_ip(d, &pdc_ss)) {
+ if (!get_pdc_ip(d, &pdc_ss)) {
DEBUG(1,("Unable to resolve PDC server address\n"));
return false;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list