svn commit: samba r10179 - in trunk/source/rpc_client: .
jra at samba.org
jra at samba.org
Mon Sep 12 20:41:34 GMT 2005
Author: jra
Date: 2005-09-12 20:41:33 +0000 (Mon, 12 Sep 2005)
New Revision: 10179
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10179
Log:
Missed double "\\\\" - was using "\\".
We now join a domain correctly but the oldjoin causes
an error message :
creds_client_check: credentials check failed.
rpccli_netlogon_setup_creds: server XXXXXX replied with bad credential
- need to fix this.
Jeremy.
Modified:
trunk/source/rpc_client/cli_netlogon.c
Changeset:
Modified: trunk/source/rpc_client/cli_netlogon.c
===================================================================
--- trunk/source/rpc_client/cli_netlogon.c 2005-09-12 19:27:55 UTC (rev 10178)
+++ trunk/source/rpc_client/cli_netlogon.c 2005-09-12 20:41:33 UTC (rev 10179)
@@ -275,7 +275,7 @@
/* Store the machine account password we're going to use. */
memcpy(dc->mach_pw, machine_pwd, 16);
- fstrcpy(dc->remote_machine, "\\");
+ fstrcpy(dc->remote_machine, "\\\\");
fstrcat(dc->remote_machine, server_name);
fstrcpy(dc->domain, domain);
@@ -289,7 +289,7 @@
result = rpccli_net_req_chal(cli,
cli->mem_ctx,
dc->remote_machine,
- global_myname(),
+ machine_account,
&clnt_chal_send,
&srv_chal_recv);
@@ -313,7 +313,7 @@
dc->remote_machine,
dc->mach_acct,
sec_chan_type,
- global_myname(),
+ machine_account,
neg_flags_inout,
&clnt_chal_send, /* input. */
&srv_chal_recv); /* output */
More information about the samba-cvs
mailing list