summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-06 00:34:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:18 -0500
commite5b7acc9b5cb6e8cf3d03c9d392fad06e0d282d9 (patch)
treed74eaaa8ac1351b97b1707e0f86862af1bd73eee /source
parent00eb42791abf3e34dc42a2067f07b8549ea31abb (diff)
downloadsamba-e5b7acc9b5cb6e8cf3d03c9d392fad06e0d282d9.tar.gz
samba-e5b7acc9b5cb6e8cf3d03c9d392fad06e0d282d9.tar.xz
samba-e5b7acc9b5cb6e8cf3d03c9d392fad06e0d282d9.zip
r16054: 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
Diffstat (limited to 'source')
-rw-r--r--source/rpc_server/srv_netlog_nt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c
index 1a7ab4ef533..d512115e832 100644
--- a/source/rpc_server/srv_netlog_nt.c
+++ b/source/rpc_server/srv_netlog_nt.c
@@ -510,7 +510,6 @@ NTSTATUS _net_auth_2(pipes_struct *p, NET_Q_AUTH_2 *q_u, NET_R_AUTH_2 *r_u)
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 @@ NTSTATUS _net_srv_pwset(pipes_struct *p, NET_Q_SRV_PWSET *q_u, NET_R_SRV_PWSET *
}
/* 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;