local memory contexts to avoid a discard_const_p()

Matthias Dieter Wallnöfer mdw at samba.org
Sun Dec 19 08:23:48 MST 2010


Hi Kamen,

Kamen Mazdrashki wrote:
> Hi Matthias,
>
> On Sun, Dec 19, 2010 at 13:52, Matthias Dieter Wallnöfer<mdw at samba.org>  wrote:
>    
>> Hi Kamen,
>>
>> so I will:
>> - remove this commit:
>> http://gitweb.samba.org/samba.git/?p=mdw/samba.git;a=commitdiff;h=712c96cad7cd2fbe3e5bff5be0b7388bd50159ae?
>>      
> Yes, I think we should not change prefixMap interface.
>    
Okay, I will drop this commit.
>> - restore the "mem_ctx" in "pydsdb.c" (py_dsdb_get_oid_from_attid())
>>
>>      
> This is what I think py_dsdb_get_oid_from_attid() should look like:
> http://samba.pastebin.com/E69gdKXQ
> (it's pretty much what Jelmer had initially commited with an added
> 'schema' reference)
>    
Perfect - feel free to push this.

Cheers,
Matthias


More information about the samba-technical mailing list