Small buglet in samba 3.2.7 winbindd/idmap_tdb.c

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 21 08:52:26 GMT 2009


On Tue, Jan 20, 2009 at 10:35:53PM -0800, Richard Sharpe wrote:
>  diff -up samba-3.2.7.orig/source/winbindd/idmap_tdb.c
> samba-3.2.7/source/winbindd/idmap_tdb.c
> --- samba-3.2.7.orig/source/winbindd/idmap_tdb.c	2008-12-19
> 05:57:33.000000000 -0800
> +++ samba-3.2.7/source/winbindd/idmap_tdb.c	2009-01-20 15:20:40.000000000 -0800
> @@ -926,7 +926,8 @@ static NTSTATUS idmap_tdb_set_mapping(st
>  	if (tdb_chainlock(ctx->tdb, ksid) != 0) {
>  		DEBUG(10,("Failed to lock record %s. Error %s\n",
>  				ksidstr, tdb_errorstr(ctx->tdb) ));
> -		return NT_STATUS_UNSUCCESSFUL;
> +		ret = NT_STATUS_UNSUCCESSFUL;
> +		goto done;
>  	}
> 
>  	data = tdb_fetch(ctx->tdb, ksid);

Can you send this as a git format-patch formatted patch?

Thanks,

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090121/89223901/attachment.bin


More information about the samba-technical mailing list