diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-06 00:34:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:18 -0500 |
commit | 656d8c30db52ecfeecff83909dbb9bafb37d123c (patch) | |
tree | f91772653264239a2a0ec899c840416e12427360 | |
parent | 92913918852b0efae64672421554783af1ec3240 (diff) | |
download | samba-656d8c30db52ecfeecff83909dbb9bafb37d123c.tar.gz samba-656d8c30db52ecfeecff83909dbb9bafb37d123c.tar.bz2 samba-656d8c30db52ecfeecff83909dbb9bafb37d123c.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
(This used to be commit e5b7acc9b5cb6e8cf3d03c9d392fad06e0d282d9)
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 1a7ab4ef53..d512115e83 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/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; |