diff options
author | Günther Deschner <gd@samba.org> | 2008-10-23 01:42:27 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-23 01:42:27 +0200 |
commit | 74a9a391aa98dda542ef413d46d2080b450be127 (patch) | |
tree | c050853d325e7785407794f9f0d354be37a64387 | |
parent | f9c6313e660e7a6dc78c124ffb88c1258c5a5025 (diff) | |
download | samba-74a9a391aa98dda542ef413d46d2080b450be127.tar.gz samba-74a9a391aa98dda542ef413d46d2080b450be127.tar.bz2 samba-74a9a391aa98dda542ef413d46d2080b450be127.zip |
s3-samr-server: _samr_DeleteUser needs to wipe out the user_handle on success.
Guenther
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index d08bb50bb9..36be832a75 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -4908,6 +4908,8 @@ NTSTATUS _samr_DeleteUser(pipes_struct *p, if (!close_policy_hnd(p, r->in.user_handle)) return NT_STATUS_OBJECT_NAME_INVALID; + ZERO_STRUCTP(r->out.user_handle); + force_flush_samr_cache(disp_info); return NT_STATUS_OK; |