s4:lsa RPC server - always initialise "info" structures

Matthias Dieter Wallnöfer mdw at samba.org
Sat Dec 4 02:12:58 MST 2010


Hi metze,

should that mean that you want to have me changing the IDL file again?

But eg. in the following cases we aren't using it:
>         typedef struct {
>                 [range(0,1000)] uint32 count;
>                 uint32 unknown;
>                 [size_is(count)] lsa_LUIDAttribute set[*];
>         } lsa_PrivilegeSet;
>         typedef struct {
>                 lsa_SidType sid_type;
>                 lsa_String name;
>                 uint32 sid_index;
>                 uint32 unknown;
>         } lsa_TranslatedName2;
Cheers,
Matthias

Stefan (metze) Metzmacher wrote:
> Am 04.12.2010 09:34, schrieb Matthias Dieter Wallnöfer:
>    
>> Jelmer and others,
>>
>> the next patch initialises the missing field (reserved) -
>> http://gitweb.samba.org/samba.git/?p=samba.git;a=commitdiff;h=70eaa3fd0cc1622724852039d63121a2c5ee22d1.
>> Therefore no problem here!
>>      
> For things like reserved fields we can also use [value(0)] in the idl
> definition.
>
> metze
>
>    



More information about the samba-technical mailing list