1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

620 Commits

Author SHA1 Message Date
Günther Deschner
6c52a37ac1 s3-selftest: enable RPC-WINREG against Samba 3.
Guenther
2010-03-05 11:09:05 +01:00
Stefan Metzmacher
9f2f738a3c s3:test_wbinfo_s3: test --check-secret and --change-secret
metze
2010-02-24 11:56:10 +01:00
Jeremy Allison
2a5060fcef A test "store create time" parameter got commited by accident. Remove it.
Jeremy.
2010-02-22 15:34:15 -08:00
Volker Lendecke
e38908ea65 s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests 2010-02-20 21:35:03 +01:00
Günther Deschner
b6f58e25b5 s3-selftest: fix return code for modprinter.pl -a.
Background is: the SetPrinter level 2 calls "addprinter command" an fails if a
share already existed (and the addprinter command returned a non-0 return code).
Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to
see if a share already exists before calling out the addprinter command.

Maybe one day, we need to have a "changeprinter command"...

Guenther
2010-02-18 11:23:59 +01:00
Günther Deschner
867daf6e0a s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.
Guenther
2010-02-18 02:27:08 +01:00
Günther Deschner
34ad5da5cd s3-selftest: include addprinter/deleteprinter command.
Guenther
2010-02-18 02:27:04 +01:00
Jeremy Allison
a35be8c0c2 Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
Ensure new files in a directory don't reset the create time.

Jeremy.
2010-02-01 18:49:50 -08:00
Günther Deschner
1ead83947f s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the buildfarm.
Guenther
2010-01-27 13:40:16 +01:00
Volker Lendecke
397a6faed9 s3: Add a little torture test for dom_sid_parse 2010-01-23 16:28:11 +01:00
Günther Deschner
b5186b3e23 s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
c971c10a63 s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
2010-01-19 14:14:30 +01:00
Kai Blin
743adfda91 s3 selftest: Enable the WINBIND-STRUCT tests 2010-01-14 15:18:35 +01:00
Kai Blin
cf38a1f850 s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
2010-01-14 15:18:35 +01:00
Volker Lendecke
eb7ff9220d s3: Run RPC-SAMBA3-GETALIASMEMBERSHIP-0 in make test 2009-12-17 12:48:27 +01:00
Günther Deschner
31202a9dab s3-selftest: enable RPC-SAMBA3-WINREG.
Very strange we didn't run it before.

Guenther
2009-12-10 22:49:16 +01:00
Günther Deschner
9a3d9abdd8 s3-selftest: run LOCAL-NDR when running make selftest.
Guenther
2009-12-03 01:04:02 +01:00
Volker Lendecke
7bbee8dc17 s3: Add a regression test for bug 6898 2009-11-29 16:12:51 +01:00
Jeremy Allison
108da2adaf Add RAW-CHKPATH test with case-sensitive share.
Jeremy.
2009-11-25 13:17:38 -08:00
Tim Prouty
17caf63640 s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftest 2009-11-25 08:45:58 -08:00
Tim Prouty
ce9ac3a685 s4 torture: Split up the torture suite setup for RAW-SFILEINFO
A side effect of this change is that RAW-SFILEINFO now runs the whole
suite instead of just the first test.  I changed the name of the first
test to RAW-SFILEINFO-BASE and changed all of the selftest scripts
that call it.
2009-11-25 08:45:14 -08:00
Günther Deschner
d7ce873391 s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.
Guenther
2009-11-09 17:36:53 +01:00
Jeremy Allison
e434934526 Remove the smbd:writetimeupdatedelay change Metze added. Metze please
explain why you added this. Change --maximum-runtime=900 for smbtorture4
with BASE-DELAYWRITE. Should allow it to successfully complete now.
Jeremy.
2009-11-05 17:43:33 -08:00
Jeremy Allison
9356265802 Turn on LOCK9 test which will test for regressions in bug 6828.
Jeremy.
2009-10-20 17:53:06 -07:00
Günther Deschner
870f2d336a s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3.
Guenther
2009-10-20 15:57:00 +02:00
Jeremy Allison
8d85757578 Fix posix_unlink test. Was doing grep without quotes around the
target string.
Jeremy.
2009-10-17 20:46:22 -07:00
Jeremy Allison
096589aead Trying to find out why the posix_unlink test build farm is still failing even
though we're now successfully deleting the symlink.
Jeremy.
2009-10-17 10:38:44 -07:00
Jeremy Allison
010dfbf1fd Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. Caught by the torture tester. I love unit tests :-). Jeremy. 2009-10-16 16:38:59 -07:00
Günther Deschner
3f80b06d9e s3-selftest: enable WINBIND-WBCLIENT against s3.
Guenther
2009-10-16 02:04:37 +02:00
Matt Kraai
815b790c96 Use the method used by build_env.sh to discover the user name.
so try USERNAME, then LOGNAME, then whoami, then id -un to find out who we
are.
2009-10-11 12:44:42 +02:00
Jeremy Allison
7709db4c03 Test creating and deleting a bad symlink using the POSIX calls. Ensure
we don't regress on bug 6769.
Jeremy.
2009-10-06 17:18:15 -07:00
Michael Adam
9741cb7638 talloc:mksyms: allow characters after closing functions parenthesis.
Michael
2009-09-11 15:39:53 +02:00
Michael Adam
ee1fe382d6 talloc:mksyms: allow double pointer return value of functions.
Michael
2009-09-11 15:39:52 +02:00
Michael Adam
50347d6ac0 s3:mksyms: fix spelling...
Michael
2009-09-11 15:39:52 +02:00
Günther Deschner
32f9d20dff s3-selftest: enable running RPC-NETLOGON-S3 against samba3.
Guenther
2009-08-26 23:04:22 +02:00
Kai Blin
8d0345e5a0 wbinfo: Fix up s3 blackbox test. wbinfo no longer needs a config file. 2009-08-18 22:10:04 +02:00
Jeremy Allison
28f7b07436 Move build over to storing DOS attributes in EA's.
Turn off "map to" directives. I've now fixed the
issues with the build tests running this way. I think
this is how most people run these days - please raise this on
the list (or revert) if you disagree.
2009-08-12 17:07:13 -07:00
Jeremy Allison
d6270df748 Add "store create time" parameter (docs to follow)
that stores the create time in the user.DosTimestamps EA.
Jeremy.
2009-08-12 13:00:54 -07:00
Stefan Metzmacher
b4abb190a9 s3:make test: smbtorture from s3 needs to take the config file path via the SMB_CONF_PATH envvar
metze
2009-07-15 11:55:27 +02:00
Volker Lendecke
3969f65aaa Fix&Run local-gencache 2009-07-10 18:16:46 +02:00
Volker Lendecke
0a0bff353e Fix our base64 implementation for blobs of length 4....
The additional length check bit us exactly at 4, removing it. The
torture test survives valgrind up to 2000 bytes :-)
2009-07-10 18:16:46 +02:00
Volker Lendecke
7e560bd802 For non-existent streams we have to return OBJECT_NAME_NOT_FOUND
See the STREAMERROR s3 torture test.

Jeremy, Tim, please check!
2009-07-03 23:20:57 +02:00
Günther Deschner
bd997b2574 s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.
Guenther
2009-06-29 14:40:17 +02:00
Michael Adam
8925778a61 s3: fix make test with external libtalloc or libtdb.
This skips the talloctort and tdbtorture tests when the
corresponding binaries are not present.
There might be more clever ways of detecting wether samba
has been linked with internal or external libraries, but
as a first approximation, this seems valid.

Michael
2009-06-19 21:13:38 +02:00
Timur I. Bakeyev
ef9773c8e7 Fix make test_pam_modules
In Samba3 there is a very handy Makefile target 'test_pam_modules'. It let
quickly veryfy, that obtained PAM module actually is loadable and doesn't
miss any dependency libs. the only problem that on FreeBSD it doesn't work
OOTB, as it unconditionally adds -ldl to the list of libraries when FreeBSD
doesn't have it and doesn't need it.

This small patch fixes the problem for FreeBSD and, I hope, still valid
for othe systems, where -ldl is required. Has to be tested there though.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08 13:20:54 +02:00
Günther Deschner
029e8e6314 s3-test: finally enable RPC-SAMR against samba3.
We now pass it :-)

Guenther
2009-06-08 13:06:53 +02:00
Jelmer Vernooij
e285bb2da5 Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00
Günther Deschner
df167ee771 s3-selftest: Fix invalid /etc/group file used with nss_wrapper.
Found by torture test.

Guenther
2009-05-30 09:43:28 +02:00
Günther Deschner
90db997d37 Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."
This reverts commit 8da15dc29a.
2009-05-29 18:11:39 +02:00
Günther Deschner
8da15dc29a s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.
Guenther
2009-05-29 18:10:04 +02:00