diff options
author | Tim Potter <tpot@samba.org> | 2004-09-21 03:51:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:55 -0500 |
commit | 0e71bf8148684bbdb2a89f7099b59edc157c2f52 (patch) | |
tree | af92342fa515877c8e7102d3be4923f66e8f9ea3 /source4/rpc_server/samr/samr_password.c | |
parent | d78a1ac756631c168ecc0b73e8ba2dd35a428391 (diff) | |
download | samba-0e71bf8148684bbdb2a89f7099b59edc157c2f52.tar.gz samba-0e71bf8148684bbdb2a89f7099b59edc157c2f52.tar.bz2 samba-0e71bf8148684bbdb2a89f7099b59edc157c2f52.zip |
r2458: Rename policy handle parameters for the SAMR pipe. Parameters now
have the handle type implied by the parameter name. There are four
types of handle: connect, domain, user and group handles. The
various samr_Connect functions return a connect handle, and the
samr_OpenFoo functions return a foo handle.
There is one exception - the samr_{Get,Set}Security function can
take any type of handle.
Fix up all C callers.
(This used to be commit 32f0f3154a8eb63de83145cbc8806b8906ccdc3e)
Diffstat (limited to 'source4/rpc_server/samr/samr_password.c')
-rw-r--r-- | source4/rpc_server/samr/samr_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index 3347787425..5a6efc137b 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -39,7 +39,7 @@ NTSTATUS samr_ChangePasswordUser(struct dcesrv_call_state *dce_call, TALLOC_CTX NTSTATUS status = NT_STATUS_OK; const char * const attrs[] = { "lmPwdHash", "ntPwdHash" , "unicodePwd", NULL }; - DCESRV_PULL_HANDLE(h, r->in.handle, SAMR_HANDLE_USER); + DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); a_state = h->data; |