s4: Patch for "libnet/libnet_samsync_ldb.c"

Matthias Dieter Wallnöfer mdw at samba.org
Sat Dec 11 04:01:47 MST 2010


Hi Jelmer,

Jelmer Vernooij wrote:
> On Tue, 2010-12-07 at 15:44 +0100, Matthias Dieter Wallnöfer wrote:
>    
>> Regarding the other return values beside ERR_OPERATIONS_ERROR for out of
>> memory it's not so easy. Caller functions differ in behaviour regarding
>> NTSTATUS results - so I really thought it only to be used by msg_add*
>> calls and not for "ldb_add", "ldb_modify" ecc.
>>      
> Considering that, perhaps it would make more sense for the
> samdb_msg_add_* functions to return a NTSTATUS value directly?
>    
then we cannot use them in the LDB modules anymore. Do you have another 
proposal?

Cheers,
Matthias


More information about the samba-technical mailing list