Latest leases patchset - getting there !

Jeremy Allison jra at samba.org
Mon Nov 17 12:14:05 MST 2014


On Mon, Nov 17, 2014 at 08:11:38PM +0100, Stefan (metze) Metzmacher wrote:
> Hi Jeremy,
> 
> can you explain me why you needed to readd this?
> 
> I had succuessful autobuilds without this before...
> 
> metze
> 
> Am 15.11.2014 um 05:18 schrieb Jeremy Allison:
> > From f905e89dc94ac08d314693a74655740915dd5d20 Mon Sep 17 00:00:00 2001
> > From: Jeremy Allison <jra at samba.org>
> > Date: Fri, 14 Nov 2014 09:50:32 -0800
> > Subject: [PATCH 1/4] s4: leases tests: Still need to ignore alloc_size.
> > 
> > Signed-off-by: Jeremy Allison <jra at samba.org>
> > ---
> >  source4/torture/smb2/lease.c | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/source4/torture/smb2/lease.c b/source4/torture/smb2/lease.c
> > index 221d45c..24c6544 100644
> > --- a/source4/torture/smb2/lease.c
> > +++ b/source4/torture/smb2/lease.c
> > @@ -46,7 +46,9 @@
> >  #define CHECK_CREATED(__io, __created, __attribute)			\
> >  	do {								\
> >  		CHECK_VAL((__io)->out.create_action, NTCREATEX_ACTION_ ## __created); \
> > -		CHECK_VAL((__io)->out.alloc_size, 0);			\
> > +		if (!TARGET_IS_SAMBA3(tctx)) {                          \
> > +			CHECK_VAL((__io)->out.alloc_size, 0);           \
> > +		}                                                       \
> >  		CHECK_VAL((__io)->out.size, 0);				\
> >  		CHECK_VAL((__io)->out.file_attr, (__attribute));	\
> >  		CHECK_VAL((__io)->out.reserved2, 0);			\
> > -- 1.9.1

My default make install build seems to need it, I always get errors on
the alloc_size if not.


More information about the samba-technical mailing list