[Patch] Make samba4 return a correct Supported Encryption

Matthieu Patou mat+Informatique.Samba at matws.net
Thu Sep 10 09:58:25 MDT 2009


>
>> Metze, Andrew,
>>
>> Find attached the version that use the IDL (good point because it
>> allowed me to realize that we should return 0x07 in fact ...) with int32
>> and a silent cast from samdb_search_int64.
>>      
> I just noticed that we already do a samdb_search_string(),
> which would mean we do 2 ldb searches for the same object.
> I think we should use only one search, maybe using gendb_search_dn()
> and ldb_msg_find_attr_as_uint().
>
>    
>> I attached the version with both generated code and not generated code
>> included in the patch.
>>      
> Note: the leading whitespaces in the idl changes...
>
> metze
>
>    
Hi Metze, Andrew,
Find attach a patch that take metze remarks in account.

Matthieu.


More information about the samba-technical mailing list