libmsrpc user priv access mask

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 2 07:06:25 GMT 2005


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

Chris Nicholls wrote:
> 
> Yep, I'm talking about the privilege names, like
> SePrintOperatorPrivilege.  I was considering defining some bitmasks that
> can be used to specify the privileges and then internally worry about
> converting it to the actual strings.   I just don't like the idea of
> using strings to specify all the privileges, but it's probably far more
> trouble than it's worth for the 2 or 3 functions it will be useful for.
> (ie whatever uses cli_lsa_add_account_rights() and
> cli_lsa_remove_account_rights())

How about

#define SE_PRINT_OPERATOR "SePrintOperatorPrivilege"

?




jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC7xtxIR7qMdg1EfYRAi32AJ9DY8bbdiF1T2IxWt9r7c+Y2AZF9ACgnZMt
+bJj+4IfczBRqW0iCmPKU80=
=MWxp
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list