svn commit: samba r16054 - in branches/SAMBA_3_0/source/rpc_server: .

jra at samba.org jra at samba.org
Tue Jun 6 00:34:27 GMT 2006


Author: jra
Date: 2006-06-06 00:34:26 +0000 (Tue, 06 Jun 2006)
New Revision: 16054

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16054

Log:
Janitor for Volker ? Volker - some reason you didn't
fix this in 3.0 ?
Jeremy.

We had no way to return NT_STATUS_OK from the netlogon serverpwset,
although
we successfully set the machine password...

One thing the samba3 join test found.

Volker


Modified:
   branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c	2006-06-05 23:22:22 UTC (rev 16053)
+++ branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c	2006-06-06 00:34:26 UTC (rev 16054)
@@ -510,7 +510,6 @@
 
 NTSTATUS _net_srv_pwset(pipes_struct *p, NET_Q_SRV_PWSET *q_u, NET_R_SRV_PWSET *r_u)
 {
-	NTSTATUS status = NT_STATUS_ACCESS_DENIED;
 	fstring remote_machine;
 	struct samu *sampass=NULL;
 	BOOL ret = False;
@@ -632,7 +631,7 @@
 	}
 
 	/* set up the LSA Server Password Set response */
-	init_net_r_srv_pwset(r_u, &cred_out, status);
+	init_net_r_srv_pwset(r_u, &cred_out, r_u->status);
 
 	TALLOC_FREE(sampass);
 	return r_u->status;



More information about the samba-cvs mailing list