[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-857-g2050187

Guenther Deschner gd at samba.org
Tue Apr 7 00:37:25 GMT 2009


Volker Lendecke wrote:
> On Mon, Apr 06, 2009 at 08:55:37AM -0500, Günther Deschner wrote:
>>     s3:libads Make ads_get_dn() take a talloc context
>>     
>>     Also remove ads_memfree(), which was only ever a wrapper around
>>     SAFE_FREE, used only to free the DN from ads_get_ds().
>>     
>>     This actually makes libgpo more consistant, as it mixed a talloc and a
>>     malloc based string on the same element.
>>     
>>     Andrew Bartlett
>>     
>>     Signed-off-by: Günther Deschner <gd at samba.org>
> 
> ...
> 
>> -	wkn_dn = ads_get_dn(ads, res);
>> +	wkn_dn = ads_get_dn(ads, NULL, res);
> 
> Can someone please explain to me why this NULL is not a
> talloc_tos()?

Should be fixed now.

Good night,
Guenther


-- 
Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner at redhat.com
Samba Team                              gd at samba.org


More information about the samba-technical mailing list