diff options
author | Günther Deschner <gd@samba.org> | 2008-01-30 21:55:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-31 13:39:37 +0100 |
commit | 2e2fa2c66ed8cd1ada68bc22ff257490495a29f0 (patch) | |
tree | 50e37400a7f8f57e1b52396b8ce49853805ea011 /source3/rpc_server/srv_samr_nt.c | |
parent | 8dc7fe774e8e913e464b7661caf669145d5ff2f7 (diff) | |
download | samba-2e2fa2c66ed8cd1ada68bc22ff257490495a29f0.tar.gz samba-2e2fa2c66ed8cd1ada68bc22ff257490495a29f0.tar.bz2 samba-2e2fa2c66ed8cd1ada68bc22ff257490495a29f0.zip |
Use pidl for samr_GetDomPwInfo() server-side.
Guenther
(This used to be commit 60fe8ade74d24d49f0fed0aae360a3b00edcd2b4)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index e80327367b..986fe9a62e 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -4810,23 +4810,24 @@ NTSTATUS _samr_set_aliasinfo(pipes_struct *p, SAMR_Q_SET_ALIASINFO *q_u, SAMR_R_ return status; } -/********************************************************************* - _samr_get_dom_pwinfo -*********************************************************************/ +/**************************************************************** + _samr_GetDomPwInfo +****************************************************************/ -NTSTATUS _samr_get_dom_pwinfo(pipes_struct *p, SAMR_Q_GET_DOM_PWINFO *q_u, SAMR_R_GET_DOM_PWINFO *r_u) +NTSTATUS _samr_GetDomPwInfo(pipes_struct *p, + struct samr_GetDomPwInfo *r) { /* Perform access check. Since this rpc does not require a policy handle it will not be caught by the access checks on SAMR_CONNECT or SAMR_CONNECT_ANON. */ if (!pipe_access_check(p)) { - DEBUG(3, ("access denied to samr_get_dom_pwinfo\n")); - r_u->status = NT_STATUS_ACCESS_DENIED; - return r_u->status; + DEBUG(3, ("access denied to _samr_GetDomPwInfo\n")); + return NT_STATUS_ACCESS_DENIED; } /* Actually, returning zeros here works quite well :-). */ + ZERO_STRUCTP(r->out.info); return NT_STATUS_OK; } @@ -5611,16 +5612,6 @@ NTSTATUS _samr_ChangePasswordUser2(pipes_struct *p, /**************************************************************** ****************************************************************/ -NTSTATUS _samr_GetDomPwInfo(pipes_struct *p, - struct samr_GetDomPwInfo *r) -{ - p->rng_fault_state = true; - return NT_STATUS_NOT_IMPLEMENTED; -} - -/**************************************************************** -****************************************************************/ - NTSTATUS _samr_Connect2(pipes_struct *p, struct samr_Connect2 *r) { |