samldb and associated patches

Andrew Bartlett abartlet at samba.org
Thu Sep 30 20:22:53 MDT 2010


On Fri, 2010-10-01 at 00:48 +0300, Kamen Mazdrashki wrote:
> Hi Matthias,
> 
> On Thu, Sep 30, 2010 at 21:39, Matthias Dieter Wallnöfer <mdw at samba.org>wrote:
> 
> > Hi Kamen,
> >
> > Kamen Mazdrashki wrote:
> >
> >> Hey Matthias,
> >>
> >>
> >> On Thu, Sep 30, 2010 at 09:53, Matthias Dieter Wallnöfer <mdw at samba.org<mailto:
> >> mdw at samba.org>> wrote:
> >>
> >>    So, Kamen & Andrew, if you like my work I hope that it will be
> >>    merged soon.
> >>
> >> IMHO, it is ok to be pushed. I would suggest though for you to wait until
> >> the
> >> end of the week - so that guys at plugfest to get the chance to test only
> >> what related patches. What do you think?
> >>
> > Okay, I can wait until what you say me: Saturday, Sunday?
> 
> 
> Sorry, it seems I've expressed myself in a wrong way - I can say you
> nothing of course :)
> It is just me that I don't want to push anything while Samba guys are
> testing
> at Microsoft plugfest - I just don't want them to waste their time testing a
> bug
> that I may happen to introduce eventually :)
> 
> 
> > Thanks a lot for your patience Matthias - I am not a fast reviewer, sorry
> >> for that!
> >>
> >> Oh, I have a patch for your problem with timeouts in FSMO test:
> >>
> >> http://git.samba.org/?p=kamenim/samba.git;a=commitdiff;h=10b472fc739854dcc85c9d3dfc81ca4455ef0759
> >> Current timeout is about 20 secs and it should be quite enough, even for
> >> busy/slow machines.
> >>
> > Very appreciated, thanks.
> >
> > This will be the final version of the patch:
> http://git.samba.org/?p=kamenim/samba.git;a=commitdiff;h=48a01b5fd0f2ffd5ef7fe9dba7bc600738a11d45
> (I've refactored it a little bit so it doesn't look like been implemented by
> a rookie in Python) :)

Out of interest, I combined the mdw/dsdb_work and
kamenim/pylint-fix-build trees and tested, but the attached tests fail.
(I only removed the changes to SAMR and the 'extra' tests, otherwise
it's all the patches from both).

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
= Failed tests =
== samba4.smb2.dir(dc) ==
envlog: SAMBA LOG of: localdc
dreplsrv_op_pull_source(WERR_BADFILE/NT_STATUS_NO_SUCH_DEVICE) for CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com failures[2]
dreplsrv_op_pull_source(WERR_BADFILE/NT_STATUS_NO_SUCH_DEVICE) for CN=Configuration,DC=samba,DC=example,DC=com failures[2]
dreplsrv_op_pull_source(WERR_BADFILE/NT_STATUS_NO_SUCH_DEVICE) for DC=samba,DC=example,DC=com failures[2]

command: ./bin/smbtorture --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba4 --basedir=/data/samba-2/source4/st/s4client --option=torture:progress=no --format=subunit //$SERVER/tmp -U$USERNAME%$PASSWORD --option=torture:sharedelay=10000 --option=torture:oplocktimeout=3 --option=torture:writetimeupdatedelay=50000 SMB2-DIR $LOADLIST 2>&1 | ../selftest/filter-subunit --prefix="samba4.smb2.dir(dc)."
expanded command: ./bin/smbtorture --configfile=/data/samba-2/source4/st/client/client.conf --maximum-runtime=1200 --target=samba4 --basedir=/data/samba-2/source4/st/s4client --option=torture:progress=no --format=subunit //localdc/tmp -UAdministrator%locDCpass1 --option=torture:sharedelay=10000 --option=torture:oplocktimeout=3 --option=torture:writetimeupdatedelay=50000 SMB2-DIR $LOADLIST 2>&1 | ../selftest/filter-subunit --prefix="samba4.smb2.dir(dc)."
ERROR: Testsuite[samba4.smb2.dir(dc)]
REASON: Exit code was 1




== samba4.urgent_replication.python(dc) ==
command: PYTHONPATH=/data/samba-2/source4/bin/python:../lib/subunit/python:../lib/testtools python ./selftest/../dsdb/tests/python/urgent_replication.py $PREFIX_ABS/dc/private/sam.ldb 2>&1 | ../selftest/filter-subunit --prefix="samba4.urgent_replication.python(dc)."
expanded command: PYTHONPATH=/data/samba-2/source4/bin/python:../lib/subunit/python:../lib/testtools python ./selftest/../dsdb/tests/python/urgent_replication.py /data/samba-2/source4/st/dc/private/sam.ldb 2>&1 | ../selftest/filter-subunit --prefix="samba4.urgent_replication.python(dc)."
ERROR: Testsuite[samba4.urgent_replication.python(dc)]
REASON: Exit code was 1




== samba4.deletetest.python(dc) ==
command: PYTHONPATH=/data/samba-2/source4/bin/python:../lib/subunit/python:../lib/testtools python ./selftest/../dsdb/tests/python/deletetest.py $SERVER -U$USERNAME%$PASSWORD -W $DOMAIN 2>&1 | ../selftest/filter-subunit --prefix="samba4.deletetest.python(dc)."
expanded command: PYTHONPATH=/data/samba-2/source4/bin/python:../lib/subunit/python:../lib/testtools python ./selftest/../dsdb/tests/python/deletetest.py localdc -UAdministrator%locDCpass1 -W SAMBADOMAIN 2>&1 | ../selftest/filter-subunit --prefix="samba4.deletetest.python(dc)."
ERROR: Testsuite[samba4.deletetest.python(dc)]
REASON: Exit code was 1




== samba4.drs_delete_object.python(vampire_dc) ==
command: PYTHONPATH=/data/samba-2/source4/bin/python:./selftest/../torture/drs/python DC1=$DC_SERVER DC2=$VAMPIRE_DC_SERVER python ./selftest/../scripting/bin/subunitrun delete_object -U$DOMAIN/$DC_USERNAME%$DC_PASSWORD 2>&1 | ../selftest/filter-subunit --prefix="samba4.drs_delete_object.python(vampire_dc)."
expanded command: PYTHONPATH=/data/samba-2/source4/bin/python:./selftest/../torture/drs/python DC1=$DC_SERVER DC2=$VAMPIRE_DC_SERVER python ./selftest/../scripting/bin/subunitrun delete_object -U$DOMAIN/$DC_USERNAME%$DC_PASSWORD 2>&1 | ../selftest/filter-subunit --prefix="samba4.drs_delete_object.python(vampire_dc)."
ERROR: Testsuite[samba4.drs_delete_object.python(vampire_dc)]
REASON: Exit code was 1

 errors[2]



== samba4.drs_fsmo.python(vampire_dc) ==
ERROR: Testsuite[samba4.drs_fsmo.python(vampire_dc)]
REASON: unable to set up environment vampire_dc




== samba4.rpc.samr.large.dc.one(vampire_dc) ==
ERROR: Testsuite[samba4.rpc.samr.large.dc.one(vampire_dc)]
REASON: unable to set up environment vampire_dc




== samba4.rpc.samr.large.dc.two(vampire_dc) ==
ERROR: Testsuite[samba4.rpc.samr.large.dc.two(vampire_dc)]
REASON: unable to set up environment vampire_dc


PROVISIONING RODC...testsuite: samba4.rpc.echo to RODC(rodc)
ERROR: Testsuite[samba4.rpc.echo to RODC(rodc)]
REASON: unable to set up environment rodc



SAMBA LOG of: dc5
samba: EOF on stdin - terminating
./bin/samba exits with status 0
SAMBA LOG of: localdc
samba: EOF on stdin - terminating
./bin/samba exits with status 0
SAMBA LOG of: dc6
samba: EOF on stdin - terminating
./bin/samba exits with status 0
SAMBA LOG of: localmember
samba: EOF on stdin - terminating
./bin/samba exits with status 0
SAMBA LOG of: dc7
samba: EOF on stdin - terminating
./bin/samba exits with status 0
SAMBA LOG of: localrpcproxy
samba: EOF on stdin - terminating
./bin/samba exits with status 0


== samba4.rpc.echo to RODC(rodc) ==

= Skipped tests =
UNKNOWN
	samba4.ldap.bench.cldap(dc)
	samba4.rpc.samba3.sharesec on ncalrpc with seal,padcheck(dc:local)
	samba4.rpc.samsync on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.sessionkey on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.getusername on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.lsa on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.bind on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.netlogon on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.sharesec on ncacn_np with seal,padcheck(dc)
	samba4.rpc.samba3.sharesec on ncacn_ip_tcp with seal,padcheck(dc)
	samba4.rpc.samba3.sharesec on ncalrpc with validate(dc:local)
	samba4.rpc.samsync on ncacn_np with validate(dc)
	samba4.rpc.samba3.sessionkey on ncacn_np with validate(dc)
	samba4.rpc.samba3.getusername on ncacn_np with validate(dc)
	samba4.rpc.samba3.lsa on ncacn_np with validate(dc)
	samba4.rpc.samba3.bind on ncacn_np with validate(dc)
	samba4.rpc.samba3.netlogon on ncacn_np with validate(dc)
	samba4.rpc.samba3.sharesec on ncacn_np with validate(dc)
	samba4.rpc.samba3.sharesec on ncacn_ip_tcp with validate(dc)
	samba4.rpc.samba3.sharesec on ncalrpc with bigendian(dc:local)
	samba4.rpc.samsync on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.sessionkey on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.getusername on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.lsa on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.bind on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.netlogon on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.sharesec on ncacn_np with bigendian(dc)
	samba4.rpc.samba3.sharesec on ncacn_ip_tcp with bigendian(dc)
	samba4.rpc.lsa.forest.trust with (dc)
	samba4.rpc.dfs with (dc)
	samba4.rpc.frsapi with (dc)
	samba4.rpc.eventlog with (dc)
	samba4.rpc.atsvc with (dc)
	samba4.rpc.svcctl with (dc)
	samba4.rpc.samr.accessmask with (dc)
	samba4.rpc.initshutdown with (dc)
	samba4.rpc.oxidresolve with (dc)
	samba4.rpc.remact with (dc)
	samba4.rpc.ntsvcs with (dc)
	samba4.rpc.bench.schannel1 with (dc)
	samba4.rpc.scanner with (dc)
	samba4.rpc.autoidl with (dc)
	samba4.rpc.bench.rpc with (dc)
	samba4.rpc.lsa.forest.trust with validate(dc)
	samba4.rpc.dfs with validate(dc)
	samba4.rpc.frsapi with validate(dc)
	samba4.rpc.eventlog with validate(dc)
	samba4.rpc.atsvc with validate(dc)
	samba4.rpc.svcctl with validate(dc)
	samba4.rpc.samr.accessmask with validate(dc)
	samba4.rpc.initshutdown with validate(dc)
	samba4.rpc.oxidresolve with validate(dc)
	samba4.rpc.remact with validate(dc)
	samba4.rpc.ntsvcs with validate(dc)
	samba4.rpc.bench.schannel1 with validate(dc)
	samba4.rpc.scanner with validate(dc)
	samba4.rpc.autoidl with validate(dc)
	samba4.rpc.bench.rpc with validate(dc)
	samba4.rpc.lsa.forest.trust with bigendian(dc)
	samba4.rpc.dfs with bigendian(dc)
	samba4.rpc.frsapi with bigendian(dc)
	samba4.rpc.eventlog with bigendian(dc)
	samba4.rpc.atsvc with bigendian(dc)
	samba4.rpc.svcctl with bigendian(dc)
	samba4.rpc.samr.accessmask with bigendian(dc)
	samba4.rpc.initshutdown with bigendian(dc)
	samba4.rpc.oxidresolve with bigendian(dc)
	samba4.rpc.remact with bigendian(dc)
	samba4.rpc.ntsvcs with bigendian(dc)
	samba4.rpc.bench.schannel1 with bigendian(dc)
	samba4.rpc.scanner with bigendian(dc)
	samba4.rpc.autoidl with bigendian(dc)
	samba4.rpc.bench.rpc with bigendian(dc)
	samba4.rpc.countcalls(dc:local)
	samba4.net.domopen(dc)
	samba4.base.delaywrite(dc)
	samba4.base.iometer(dc)
	samba4.base.secleak(dc)
	samba4.base.samba3error(dc)
	samba4.base.casetable(dc)
	samba4.base.utable(dc)
	samba4.base.smb(dc)
	samba4.base.trans2.scan(dc)
	samba4.base.nttrans(dc)
	samba4.base.bench.holdcon(dc)
	samba4.base.bench.holdopen(dc)
	samba4.base.bench.readwrite(dc)
	samba4.base.bench.torture(dc)
	samba4.base.scan.pipe_number(dc)
	samba4.base.scan.ioctl(dc)
	samba4.base.scan.maxfid(dc)
	samba4.raw.bench.oplock(dc)
	samba4.raw.ping.pong(dc)
	samba4.raw.bench.lock(dc)
	samba4.raw.bench.open(dc)
	samba4.raw.bench.lookup(dc)
	samba4.raw.bench.tcon(dc)
	samba4.raw.offline(dc)
	samba4.raw.hold.oplock(dc)
	samba4.raw.composite(dc)
	samba4.raw.samba3hide(dc)
	samba4.raw.samba3closeerr(dc)
	samba4.raw.samba3rootdirfid(dc)
	samba4.raw.samba3checkfsp(dc)
	samba4.raw.samba3oplocklogoff(dc)
	samba4.raw.samba3badpath(dc)
	samba4.raw.samba3caseinsensitive(dc)
	samba4.raw.samba3posixtimedlock(dc)
	samba4.raw.scan.eamax(dc)
	samba4.smb2.acls(dc)
	samba4.smb2.notify(dc)
	samba4.smb2.durable.open(dc)
	samba4.smb2.lease(dc)
	samba4.smb2.scan(dc)
	samba4.smb2.scangetinfo(dc)
	samba4.smb2.scansetinfo(dc)
	samba4.smb2.scanfind(dc)
	samba4.smb2.bench.oplock(dc)
	samba4.smb2.hold.oplock(dc)
	samba4.rap.printing(dc)
	samba4.rap.sam(dc)
	samba4.rap.scan(dc)
	samba4.ntvfs.cifs.base.charset(dc)
	samba4.ntvfs.cifs.base.delaywrite(dc)
	samba4.ntvfs.cifs.base.iometer(dc)
	samba4.ntvfs.cifs.base.secleak(dc)
	samba4.ntvfs.cifs.base.samba3error(dc)
	samba4.ntvfs.cifs.base.casetable(dc)
	samba4.ntvfs.cifs.base.utable(dc)
	samba4.ntvfs.cifs.base.smb(dc)
	samba4.ntvfs.cifs.base.trans2.scan(dc)
	samba4.ntvfs.cifs.base.nttrans(dc)
	samba4.ntvfs.cifs.base.bench.holdcon(dc)
	samba4.ntvfs.cifs.base.bench.holdopen(dc)
	samba4.ntvfs.cifs.base.bench.readwrite(dc)
	samba4.ntvfs.cifs.base.bench.torture(dc)
	samba4.ntvfs.cifs.base.scan.pipe_number(dc)
	samba4.ntvfs.cifs.base.scan.ioctl(dc)
	samba4.ntvfs.cifs.base.scan.maxfid(dc)
	samba4.ntvfs.cifs.raw.sfileinfo(dc)
	samba4.ntvfs.cifs.raw.search(dc)
	samba4.ntvfs.cifs.raw.open(dc)
	samba4.ntvfs.cifs.raw.oplock(dc)
	samba4.ntvfs.cifs.raw.unlink(dc)
	samba4.ntvfs.cifs.raw.read(dc)
	samba4.ntvfs.cifs.raw.write(dc)
	samba4.ntvfs.cifs.raw.lock(dc)
	samba4.ntvfs.cifs.raw.rename(dc)
	samba4.ntvfs.cifs.raw.streams(dc)
	samba4.ntvfs.cifs.raw.acls(dc)
	samba4.ntvfs.cifs.raw.bench.oplock(dc)
	samba4.ntvfs.cifs.raw.ping.pong(dc)
	samba4.ntvfs.cifs.raw.bench.lock(dc)
	samba4.ntvfs.cifs.raw.bench.open(dc)
	samba4.ntvfs.cifs.raw.bench.lookup(dc)
	samba4.ntvfs.cifs.raw.bench.tcon(dc)
	samba4.ntvfs.cifs.raw.offline(dc)
	samba4.ntvfs.cifs.raw.qfsinfo(dc)
	samba4.ntvfs.cifs.raw.qfileinfo(dc)
	samba4.ntvfs.cifs.raw.close(dc)
	samba4.ntvfs.cifs.raw.mkdir(dc)
	samba4.ntvfs.cifs.raw.hold.oplock(dc)
	samba4.ntvfs.cifs.raw.notify(dc)
	samba4.ntvfs.cifs.raw.mux(dc)
	samba4.ntvfs.cifs.raw.ioctl(dc)
	samba4.ntvfs.cifs.raw.chkpath(dc)
	samba4.ntvfs.cifs.raw.context(dc)
	samba4.ntvfs.cifs.raw.seek(dc)
	samba4.ntvfs.cifs.raw.eas(dc)
	samba4.ntvfs.cifs.raw.composite(dc)
	samba4.ntvfs.cifs.raw.samba3hide(dc)
	samba4.ntvfs.cifs.raw.samba3closeerr(dc)
	samba4.ntvfs.cifs.raw.samba3rootdirfid(dc)
	samba4.ntvfs.cifs.raw.samba3checkfsp(dc)
	samba4.ntvfs.cifs.raw.samba3oplocklogoff(dc)
	samba4.ntvfs.cifs.raw.samba3badpath(dc)
	samba4.ntvfs.cifs.raw.samba3caseinsensitive(dc)
	samba4.ntvfs.cifs.raw.samba3posixtimedlock(dc)
	samba4.ntvfs.cifs.raw.scan.eamax(dc)
	tdb.stress
	samba4.blackbox.ktpass(dc)
	samba4.nbt.bench(dc)
	samba4.nbt.bench.wins(dc)
	samba4.nss.test using winbind(member)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101001/0fa551ba/attachment.pgp>


More information about the samba-technical mailing list