libmsrpc user priv access mask

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 2 05:23:29 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Nicholls wrote:
> Hi,
> 
> Do you think it would be worthwhile to use access bits for 
> the LSA functions that require user privileges
> (LsaAddAccountRights for example)?  This would entail writing
> a function that translates between the access bits and an
> array of string representations of the privs.  I think it
> would make developing with the library much cleaner, even
> though there are only a small handful of functions that 
> will actually use it.  But I thought I would see if there
> are any comments before going through with it.

Chris,

First let's make sure that we are talking about the same things
here.  Are you talking about the privilege names such as
SePrintOperatorPrivilege?  Or are you talking about the
requested access bits used in the open handle call?  I'm
assuming the former.

Or are you talking about bits such as POLICY_VIEW_LOCAL_INFORMATION
in include/rpc_lsa.h?





cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC7wNRIR7qMdg1EfYRAnkzAJ4zm58vgcL2Q57odR7mqM2f3YXKvACgmWVc
AHk1pqV2MUsRpRmqxWrM8Uw=
=8ihq
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list