svn commit: samba r16048 - in trunk/source/rpc_server: .

vlendec at samba.org vlendec at samba.org
Mon Jun 5 20:09:24 GMT 2006


Author: vlendec
Date: 2006-06-05 20:09:24 +0000 (Mon, 05 Jun 2006)
New Revision: 16048

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

Log:
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:
   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	2006-06-05 16:59:10 UTC (rev 16047)
+++ trunk/source/rpc_server/srv_netlog_nt.c	2006-06-05 20:09:24 UTC (rev 16048)
@@ -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