[SCM] Samba Shared Repository - branch v3-devel updated -
release-3-2-0pre2-3794-g33019fe
Jeremy Allison
jra at samba.org
Thu Aug 21 22:27:57 GMT 2008
The branch, v3-devel has been updated
via 33019fe2b5f521c143fc79edb915eca69b9ed98d (commit)
from f3791e03ab09cadb1f54e32e67f4dfb3cf42e708 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-devel
- Log -----------------------------------------------------------------
commit 33019fe2b5f521c143fc79edb915eca69b9ed98d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 21 15:27:22 2008 -0700
Fix broken net rpc join message when DC can't be found. Ensure we pass in a domain name.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/utils/net_util.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net_util.c b/source/utils/net_util.c
index eb39c73..88850d2 100644
--- a/source/utils/net_util.c
+++ b/source/utils/net_util.c
@@ -476,7 +476,7 @@ bool net_find_pdc(struct sockaddr_storage *server_ss,
NTSTATUS net_make_ipc_connection(struct net_context *c, unsigned flags,
struct cli_state **pcli)
{
- return net_make_ipc_connection_ex(c, NULL, NULL, NULL, flags, pcli);
+ return net_make_ipc_connection_ex(c, c->opt_workgroup, NULL, NULL, flags, pcli);
}
NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain,
@@ -492,7 +492,8 @@ NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain,
if ( !server || !pss ) {
if (!net_find_server(c, domain, flags, &server_ss,
&server_name)) {
- d_fprintf(stderr, "Unable to find a suitable server\n");
+ d_fprintf(stderr, "Unable to find a suitable server "
+ "for domain %s\n", domain);
nt_status = NT_STATUS_UNSUCCESSFUL;
goto done;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list