[SCM] Samba Shared Repository - branch master updated

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 8 07:20:32 MDT 2011


On Wed, Jun 08, 2011 at 02:45:02PM +0200, Günther Deschner wrote:
> diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
> index d733be0..50da98f 100644
> --- a/source3/winbindd/winbindd_cache.c
> +++ b/source3/winbindd/winbindd_cache.c
> @@ -1296,6 +1296,10 @@ NTSTATUS wcache_get_creds(struct winbindd_domain *domain,
>  	uint32 rid;
>  	fstring tmp;
>  
> +	if (!winbindd_use_cache()) {
> +		return NT_STATUS_OBJECT_NAME_NOT_FOUND;
> +	}
> +
>  	if (!cache->tdb) {
>  		return NT_STATUS_INTERNAL_DB_ERROR;
>  	}

This is also highly problematic from my point of view. If
you need to disable that winbind functionality for testing
purposes, please make -n only available when -DDEVELOPER is
being set.

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba-technical mailing list