lsa open policy argument
Michael B Allen
mba2000 at ioplex.com
Wed Aug 23 04:27:02 GMT 2006
On Wed, 23 Aug 2006 13:17:13 +1000
Tim Potter <tpot at samba.org> wrote:
> Whoever wrote the original IDL for the OpenPolicy function forgot the
> [string] attribute on the system_name parameter which means that you
> only see a pointer to a single uint16 on the wire, instead of an array
> of uint16s.
>
> >From Samba's IDL:
>
> NTSTATUS lsa_OpenPolicy (
> [in,unique] uint16 *system_name,
> [in] lsa_ObjectAttribute *attr,
> [in] uint32 access_mask,
> [out] policy_handle *handle
> );
>
> vs
>
> NTSTATUS lsa_OpenPolicy2 (
> [in,unique] [string,charset(UTF16)] uint16 *system_name,
> [in] lsa_ObjectAttribute *attr,
> [in] uint32 access_mask,
> [out] policy_handle *handle
> );
Interesting.
Thanks,
Mike
--
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/
More information about the samba-technical
mailing list