[PATCH] Merging the privilege code

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Aug 30 23:49:45 MDT 2010


On Tue, Aug 31, 2010 at 12:31:27PM +1000, Andrew Bartlett wrote:
> As to why I feel the SE_PRIV bitmap is not suitable for use in an IDL
> defined structure, our IDL does not as far as I know provide an easy way
> to generate defines such as:
> 
> #define SE_NETWORK_LOGON               { { 0x00000001, 0x00000000,
> 0x00000000, 0x00000000 } }

Couldn't we add something to PIDL that does this? It could
even find the number of bits required and make the structure
allocate the require number of uint32's or even make it an
array of uint8's.

Volker


More information about the samba-technical mailing list