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/torture/rpc/autoidl.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/torture/rpc/autoidl.c')
-rw-r--r-- | source4/torture/rpc/autoidl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/autoidl.c b/source4/torture/rpc/autoidl.c index 1c164af333..d05390cb5a 100644 --- a/source4/torture/rpc/autoidl.c +++ b/source4/torture/rpc/autoidl.c @@ -34,7 +34,7 @@ static BOOL get_policy_handle(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, r.in.system_name = 0; r.in.access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED; - r.out.handle = handle; + r.out.connect_handle = handle; status = dcerpc_samr_Connect(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { |