1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

48 Commits

Author SHA1 Message Date
Andrew Bartlett
3a2a967723 If we disable hostname lookups we can at least get a uniform answer for testing
the rhosts and hostsequiv stuff with.

Andrew Bartlett
-
Andrew Bartlett
4df974527c Fix up the test for some of the quirkier hosts on the farm, and enable one
previously disabled sub-test.
-
Andrew Bartlett
9e5a1d1623 Add and modify some of the various tests I have had sitting around here for a
little while.  This should give us a bit more coverage.

Andrew Bartlett
-
Tim Potter
2138c44619 Fixed typo. -
Christopher R. Hertel
6f38850262 Typo fix per Vance on IRC. -
Tim Potter
99071c45d0 Another winbind test - fill in later. -
Andrew Bartlett
9bfc480bda Some minor doco on what the build_farm dir does -
Andrew Bartlett
51903dbfee Update tests, start testing password server code, now I have it working and
know what it does...

Andrew Bartlett
-
Andrew Bartlett
805c20452e Allow us to vary the log-level, so we can run at level 1 normally,
and push it to 10 when we fail (we redo the test).

Also disable the server-level security testing till it know what it does

Andrew Bartlett
-
Andrew Tridgell
fe5d38780f added line-feed at end of templates -
Andrew Bartlett
bc6160a482 Running torture-RANDOMIPC on the build farm doesn't go down as a 'good idea' as its logsfiles are BIG! -
Andrew Bartlett
d04ea88b5d Fix the torture test, we had the wrong file-name in the tests
Andrew Bartlett
-
Andrew Bartlett
584a14a216 We need strict locking to pass LOCK4
Andrew Bartlett
-
Andrew Bartlett
eee251f710 Start of smbtorture based testing. Not all of smbtorture's facilites
are used, but these ones should pass.

Andrew Bartlett
-
Andrew Tridgell
0d112d7960 fixed guest account for build farm boxes -
Andrew Bartlett
19fdc553d6 Jigger around with the tests a bit more
We now test security=share, security=user, security=server for both the
positive and negitive case (good/bad pw) and check that guest shares work for
share level security.

The server level security stuff seems to test positive without actualy
contating a server (another LIBSMB_PROG based smbd) - I will need to look into that...

Andrew Bartlett
-
Andrew Bartlett
b28baf71a7 Add the generic funcions file for the basicsmb tests
Andrew Bartlett
-
Andrew Bartlett
56a881b2b4 Changed some of the tests around, made failures for parts actualy count
Andrew Bartlett
-
Andrew Bartlett
542977bc43 Added the basic tests of smb functionality for HEAD
This works with the new build farm system

Andrew Bartlett
-
Tim Potter
4c2b915ed1 Test login using pam_winbind.so and group membership. -
Tim Potter
b208d74e05 Fixed lookup of entire /etc/{passwd,group} file line. -
Tim Potter
acef477383 Cleaned up bitrot in nsswitch testsuite. Merged tests across from TNG
branch.
-
Richard Sharpe
adef47b517 Bulk add of the test suite for libsmbclient ... -
David O'Neill
376601d17d Changes from APPLIANCE_HEAD:
testsuite/printing/psec.c
        - Use lock directory from smb.conf parameter when peeking at the
          ntdrivers.tdb file.
    source/rpc_parse/parse_sec.c
        - fix typo in debug message
    source/script/installbin.sh
        - create private directory as part of 'make install'.
    source/nsswitch/winbindd_cache.c
    source/nsswitch/winbindd_idmap.c
    source/passdb/secrets.c
    source/smbd/connection.c
        - always convert tdb key to unix code-page when generating.
    source/printing/nt_printing.c
        - always convert tdb key to unix code-page when generating.
        - don't prepend path to a filename that is NULL in
          add_a_printer_driver_3().
    source/rpc_server/srv_spoolss_nt.c
        - always convert tdb key to unix code-page when generating.
        - don't prepend server name to a path/filename that is NULL in the
          fill_printer_driver_info functions.
    source/printing/printing.c
        - always convert tdb key to unix code-page when generating.
        - move access check for print_queue_purge() outside of job delete
          loop.
    source/smbd/unix_acls.c
        - fix for setting ACLs (this got missed earlier)
    source/lib/messages.c
        - trivial sync with appliance_head
-
David O'Neill
03dd90ab92 Brief documentation on using the virtual printer code -
Tim Potter
73b237e639 Fix error string. -
Tim Potter
7b896697d1 Compile fixes for changes in make_sec_desc() interface. -
Tim Potter
369a378b33 Fixed some debugging code. -
David O'Neill
0ee469f566 Changes from APPLIANCE_HEAD:
- add empty README file for vlp.  Blame Tim.  =)
-
David O'Neill
fbcf83140d Changes from APPLIANCE_HEAD:
- merged Tim's vlp (virtual lp) test program.  Enable it with
      -DDEVELOPER or by using ./configure.developer
	  (source/include/smb.h source/configure.developer
	   source/printing/lpq_parse.c source/param/loadparm.c
	   testsuite/printing/.cvsignore testsuite/printing/Makefile.vlp
	   testsuite/printing/vlp.c)
-
David O'Neill
74af3e2cae Changes from APPLIANCE_HEAD (per Tim Potter):
- make proto
	- addition of function to convert from errno values to NT status codes
	  (source/lib/error.c)
	- purge queue done without full access permission will purge only the
	  jobs owned by that user, rather than failing.
	- unlock job database tdb before sending job to printer
	- in print_job_start(), ensure that we don't pick a jobid with an existing
	  temporary file that may be owned by another user, as it causes silent
	  failures.
	- fixes for printer permission checking for NT5 clients
	  (source/include/rpc_spoolss.h, source/printing/nt_printing.c,
	   source/printing/printing.c, source/rpc_server/srv_spoolss_nt.c)
	- change from uint8 to 'enum SID_NAME_USE' (source/rpc_server/srv_lsa.c)
	- fixed memory leaks for win95 driver download process
	  (source/smbd/lanman.c)
	- properly free prs_structs and dacl in testsuite/printing/psec.c
-
Tim Potter
604f6a34ef Merge. -
Tim Potter
9af82423d2 NT printer permissions test program. -
Tim Potter
db54e72d2f Test for reloading smb.conf after SIGHUP. Needs to be run as root. -
Tim Potter
bba912cad8 se_access_check() tests. -
Tim Potter
8de200ecbc Added more args to smbclient wrapper - there's probably a better way
to do this.
-
Tim Potter
66fd7da08f Don't return a value for a void function. -
Tim Potter
0af2a1ea69 Test harness stuff for compiling things. -
Tim Potter
85a68bc449 Tests for new security context stuff. -
Tim Potter
cb9d9e4f89 Start of test blurb. -
Tim Potter
a9790f1961 Test transfer of large random file w/o corruption. -
Tim Potter
6d50bb36a6 Fix to return buffer output properly. -
Tim Potter
5b3fcc303d Test various operations on ipc$ share. -
Tim Potter
4a14b16cd1 Testharness for masktest program. -
Tim Potter
a9133e2df0 Test wildcard rename function. -
Tim Potter
82ff52ee86 Environment variables for single server test scripts. -
Tim Potter
fa6a360abe Routines for driving smbclient from DejaGnu. -
Tim Potter
af5ded9f17 Merge from TNG. -