svn commit: samba r10158 - in trunk/source/rpc_server: .
jra at samba.org
jra at samba.org
Mon Sep 12 01:34:39 GMT 2005
Author: jra
Date: 2005-09-12 01:34:38 +0000 (Mon, 12 Sep 2005)
New Revision: 10158
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10158
Log:
Quieten Jerry's initial bellyaching about domain joins (remember to
check correct version of a boolean fn. - check for False not
true :-).
Ok - it still fails with "stub got bad data" but it's closer :-).
Jeremy.
Modified:
trunk/source/rpc_server/srv_netlog_nt.c
Changeset:
Modified: trunk/source/rpc_server/srv_netlog_nt.c
===================================================================
--- trunk/source/rpc_server/srv_netlog_nt.c 2005-09-12 01:32:57 UTC (rev 10157)
+++ trunk/source/rpc_server/srv_netlog_nt.c 2005-09-12 01:34:38 UTC (rev 10158)
@@ -327,7 +327,11 @@
rpcstr_pull(remote_machine, q_u->clnt_id.uni_comp_name.buffer,sizeof(fstring),
q_u->clnt_id.uni_comp_name.uni_str_len*2,0);
- if (get_md4pw((char *)p->dc->mach_pw, mach_acct)) {
+ if (!get_md4pw((char *)p->dc->mach_pw, mach_acct)) {
+ DEBUG(0,("_net_auth: creds_server_check failed. Failed to "
+ "get pasword for machine account %s "
+ "from client %s\n",
+ mach_acct, remote_machine ));
return NT_STATUS_ACCESS_DENIED;
}
@@ -401,7 +405,7 @@
return NT_STATUS_ACCESS_DENIED;
}
- if (get_md4pw((char *)p->dc->mach_pw, mach_acct)) {
+ if (!get_md4pw((char *)p->dc->mach_pw, mach_acct)) {
DEBUG(0,("_net_auth2: failed to get machine password for "
"account %s\n",
mach_acct ));
More information about the samba-cvs
mailing list