Jelmer Vernooij
477ecbd498
r24861: Use absolute paths to make it easier to run the testsuite from the Samba3 source.
...
(This used to be commit 022d5a43cedeb5cca7e4cf3424963e2180ec1f2f)
2007-10-10 15:03:21 -05:00
Jelmer Vernooij
c3077a9e4b
r24860: Make it easier to run selftest.pl in a Samba3 source tree.
...
(This used to be commit 53ec879e3168e9f56e774f0b0d70aeebb3795f8e)
2007-10-10 15:03:21 -05:00
Andrew Bartlett
48029b3520
r24859: Merge from SAMBA_4_0_RELEASE:
...
Make the SWAT-based Vampire work again (needs override for default
smb.conf values).
Andrew Bartlett
(This used to be commit e5cd44a018eae1f49e4408049461693350498326)
2007-10-10 15:03:21 -05:00
Jelmer Vernooij
7fd416bd3e
r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
...
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)
2007-10-10 15:03:20 -05:00
Jelmer Vernooij
f03fdddd88
r24852: Fix initialization
...
(This used to be commit 1e56698f1bac30a1d6b7558df41e85db3d2571db)
2007-10-10 15:03:20 -05:00
Jelmer Vernooij
275a8c9183
r24851: Add --load-module argument to smbtorture.
...
(This used to be commit 76a713b6786e22b810937289b3e7cc6700a0b49d)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
9c006b122f
r24850: Convert to torture API.
...
(This used to be commit 6c7a004b9d95e443d07307bbe94f691cc4b03490)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
edeea82ae4
r24849: Add helper function for running tests as a member server.
...
(This used to be commit 61b2f0a405ea70203ea982b9a151643f28b1da7e)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
d05d5da1e8
r24846: Use metadata about dangerous tests.
...
(This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
9e35f00c63
r24844: Convert to torture API in preparation of helper functions for domain member
...
RPC tests.
(This used to be commit c2521453a902ea5fd4f894a21af711ac2b2cbd40)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
aea8009071
r24839: Default to creating a dc + domain member in 'make testenv'.
...
(This used to be commit 221d2279131c72c8055ceebe0314930881085aeb)
2007-10-10 15:03:17 -05:00
Jelmer Vernooij
2a8ff00eea
r24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren't there.
...
(This used to be commit 1ff13ae254288afc56a3b19d00c7a20120eb4c74)
2007-10-10 15:03:17 -05:00
Jelmer Vernooij
51cdf8bc04
r24834: Pass environment name on to skip_testsuite().
...
(This used to be commit 2ac1f32506c9fdfbe836f605b2152a9e094dc733)
2007-10-10 15:03:16 -05:00
Andrew Bartlett
6f9ea168a6
r24822: Merge from SAMBA_4_0_RELEASE:
...
Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.
Andrew Bartlett
(This used to be commit 5f9ca54b5cc76cedcb56d805d5f9ea9167adc94b)
2007-10-10 15:03:16 -05:00
Andrew Bartlett
b7eae78794
r24819: We are preparing for alpha1, so update the mkversion script to cope with that.
...
Andrew Bartlett
(This used to be commit 6245da195b76e233f83354797818f608c5458d63)
2007-10-10 15:03:16 -05:00
Jelmer Vernooij
e89be1bf44
r24817: Don't REG_NONE for all value types. Patch from
...
Andrew Kroeger <andrew@sprocks.gotdns.com>
(This used to be commit ff81ea3f5aa8a93cf96914f03c26f8c86ec1e912)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
8d182d881d
r24816: Move the rest of the contents of core.h to more appropriate places.
...
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
7acc0e77a6
r24815: Support cpp_quote().
...
(This used to be commit 30c1de30bb4ded16e79316c0ab43809e0e19f75d)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
82037a75ea
r24814: Fix headers, trim core.h even more.
...
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735
r24812: Fix headers for external users.
...
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10 15:03:13 -05:00
Jelmer Vernooij
4fa13976a2
r24810: Don't collide with <time.h>
...
(This used to be commit 2e4fe89d41f8d95beb95dc9f8423062076820049)
2007-10-10 15:03:13 -05:00
Volker Lendecke
331d100b0b
r24800: Don't execute RAW-SAMBA3POSIXTIMEDLOCK
...
Thanks jelmer, I was not aware of the difference between knownfail and
skip
(This used to be commit df0b3ad90a5db5cef8315ab8948ee2816c34e3c6)
2007-10-10 15:03:12 -05:00
Volker Lendecke
afe87d6cfc
r24798: RAW-SAMBA3POSIXTIMEDLOCK
...
This adds the torture:localdir option, smbtorture expects the share to actually
reside in this directory. This might open up more solid posix vs cifs tests.
(This used to be commit b0a40dd277c343f5c77c851b26981ddd8166f6bb)
2007-10-10 15:03:12 -05:00
Kai Blin
d510accb39
r24796: Add bounds checking to ntlm_auth, increase initial buffer size to 300 to avoid
...
one talloc/fgets loop in the common case, which is slightly over 200 for the KK
response.
(This used to be commit ba5ac4eeb8086d50e829e1a9944ea89a28eeef2c)
2007-10-10 15:03:11 -05:00
Kai Blin
96539eb143
r24795: When talking to squid, allocate the buffer size dynamically.
...
(This used to be commit 2b72738e4ecc6ad25a08ce7bf41d8d46fcee4115)
2007-10-10 15:03:11 -05:00
Jelmer Vernooij
003afc25ca
r24794: util_proto.h is no longer generated.
...
(This used to be commit 01096201bfa089f668a834697f470cbefc2a35f4)
2007-10-10 15:03:11 -05:00
Andrew Bartlett
50017a0075
r24793: The subtree_rename module is a work of fiction. An resemblance to a
...
working module, live or dead, is purely co-incidental.
Andrew Bartlett
(This used to be commit 64cc31642fd2ded149631d07bc022213f19595b8)
2007-10-10 15:03:10 -05:00
Jelmer Vernooij
0b91f39164
r24780: More work allowing libutil to be used by external users.
...
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10 15:03:10 -05:00
Ronnie Sahlberg
b867b3c147
r24779: add 11 specific access rights that applies to accessmasks for User
...
objects on the samr pipe.
8 of these bits :
get name etc
get locale
get loc com
set attributes
change password
set password
get groups
comes from wireshark/ethereal where they were added Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
3 bits :
get attributes
get group membership
change group membership
also come from wireshark/ethereal where they were added Jul 24 2003
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=8022&r2=8080
(This used to be commit 1c2729228a341a2d063a444e9546e7e09f23c966)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
0193c58114
r24777: add 11 specific access rights to the access mask for
...
domains on the samr pipe
10 of these bits :
lookup info 1
set info 1
lookup info 2
set info 2
create user
create group
create alias
enum account
open account
set info 3
come from wireshark/ethereal and were added to wireshark in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
one bit
lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178
(This used to be commit 4b2c8e28657b31c606d21946e7949c9cc52613c9)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
6fa7bed854
r24775: add 5 specific access right bits for the accessmask that refers
...
to Groups on the samr pipe
the five bits
lookup info
set info
add member
remove member
get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit 1f00ac5dbe8f034d845c4e579a3f517311784900)
2007-10-10 15:03:09 -05:00
Ronnie Sahlberg
bf3b40dc14
r24774: add 5 specific access mask bits for policy handles created for aliases
...
these five access mask bits :
add member
remove members
get members
lookup info
set info
come from wireshark/ethereal where they were added to cvs in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit e39556ba4cc76b2754ef891d5c696bc3a5761310)
2007-10-10 15:03:08 -05:00
Ronnie Sahlberg
c96657e751
r24772: add a bitmap that describes 6 of the specific accessmask bits for
...
policy handles that are create by Connect?() calls on the samr pipe.
these bits come from the wireshark/ethereal sources where they have
been documented for a long time.
the bits :
connect to server
initialize server
create domain
were added to wireshark/ethereal in svn 8080 Jul 24 2003
the bits :
open domain
enum domain
shutdown server
were added to wireshark/ethereal in svn 6054 Aug 21 2002
(This used to be commit 04e67bb6807c318de44d5434bc4344b24494b4a1)
2007-10-10 15:03:08 -05:00
Ronnie Sahlberg
2e5e9411d4
r24768: redo the pingpong torture using sync functions to make the code simpler
...
(This used to be commit b4a6a4c1299ef916719a819203ef931847e59ee0)
2007-10-10 15:03:07 -05:00
Ronnie Sahlberg
c0641b4728
r24767: add a torture test that performs "ping-pong" that works the same way as
...
ping-pong.c
this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
(This used to be commit b58677fa745361eafe87c62b2988a7b6387b23e7)
2007-10-10 15:03:07 -05:00
Andrew Tridgell
55cbccc5bc
r24766: forgot to commit this before. It is needed as this never terminates.
...
(This used to be commit 81355630ff201764a1b9393ae0ef4da8340752c1)
2007-10-10 15:03:07 -05:00
Andrew Tridgell
aaf7df0597
r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
...
to test the interaction of oplocks with local filesystem or NFS
access. You start it, then manually access the 4 files via another
mechanism (such as a shell) and see what oplock breaks you get
(This used to be commit 4c3e4564260e55434a54a013051db609c92cabe8)
2007-10-10 15:03:06 -05:00
Jelmer Vernooij
64e98b0324
r24763: Allow users to leave out the transport in DCE/RPC binding strings. If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file.
...
This means that 'smbtorture localhost RPC-WINREG' works now.
(This used to be commit b7fa0859d2e4236112075604281410ba037b1076)
2007-10-10 15:03:06 -05:00
Andrew Bartlett
4e1d0cc8e3
r24761: Permit subtree renames in Samba4.
...
The module is scary: On a rename, it does a search for all entries
under that entry (including itself), and fires off a seperate rename
call for each result. This will fail miserably on an LDAP backend,
but I'll need to work on using hdb for OpenLDAP, and hope Fedora DS
can implement subtree renames at some point.
Andrew Bartlett
(This used to be commit 13908a8cb4dd810503213203efb8d51f77f1f379)
2007-10-10 15:03:05 -05:00
Andrew Bartlett
f681306335
r24760: Ensure we base64 encode any password being put into LDIF, to avoid
...
provision failures when some of the random password values are illigal
LDIF.
Andrew Bartlett
(This used to be commit 876003f6c6466bfd37ec9b05c9a1f1cc83dd9898)
2007-10-10 15:03:05 -05:00
Jelmer Vernooij
748dcc3376
r24758: More use of torture API.
...
(This used to be commit e6f571227ed7428a98a7039a5eb777d3670572fa)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
7ee37fdb1e
r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
...
accepts strings not prefixed with a transport.
(This used to be commit d131d40ae3df3ca8f4ddec2cd0f16210ffe64367)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
3e7203d0b3
r24755: Use common code for finding the RPC binding in the torture tests.
...
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
53d10b44fa
r24753: Allow host name in binding string without transport.
...
(This used to be commit f7051d3a84486ed9d0a1689c10a693521ec63528)
2007-10-10 15:03:03 -05:00
Jelmer Vernooij
18302e7030
r24751: Run more tests, remove empty testsuites, more small improvements.
...
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
0e6773525f
r24741: More use of the torture API.
...
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
2007-10-10 15:03:02 -05:00
Michael Adam
8277256cee
r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.
...
Michael
(This used to be commit 7b2cabea55cebb98e0fcee17066a0871667cd83f)
2007-10-10 15:03:01 -05:00
Jelmer Vernooij
9cca9ddc79
r24736: Convert to using torture API.
...
(This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)
2007-10-10 15:03:01 -05:00
Jelmer Vernooij
919aa6b27e
r24735: Use torture API in more places.
...
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10 15:03:00 -05:00
Rafal Szczesniak
b42691ee16
r24732: Add comments and fix memory leak.
...
rafal
(This used to be commit 07b52b360676692abf00b64e6eada0f7850357bd)
2007-10-10 15:03:00 -05:00