1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

59 Commits

Author SHA1 Message Date
Andrew Tridgell
228d4fc47b up the log level for server level security to try to track down the
segvs in the build farm
-
Andrew Tridgell
067a4f87ac don't use /dev/null for a smbpasswd file -
Andrew Bartlett
042b9e3a63 Fix up the build farm again.
This should get us 'green' for once...

Andrew Bartlett
-
Tim Potter
751ea8cfb9 Allow lookup of users with spaces in their name. -
Tim Potter
87955fcf30 Fixed bug in canned results list for checking the error code of wbinfo.
Made test names more verbose.
-
Martin Pool
fa7367a973 Rename $pwd to $test_root to avoid future confusion. -
Martin Pool
309b718842 Back out the change in 1.11 that set the poorly-named $pwd variable --
for the build farm this is actually the root directory for building,
or something like that.  Thanks a.b.
-
Martin Pool
af65a01d0d Also show $tree in diagnostics. -
Martin Pool
0d6d0c31f9 Give sensible defaults to some variables that are set by the build
farm but not present in Make.
-
Martin Pool
b6745ccd33 Little note about what's happening with Satyr. -
Martin Pool
b18703fc8e Doc.
Try not to run tests if the user specified --prefix=/usr* or something
similar, because it would not be nice(!) to clobber their
configuration file and passwords.  Eventually I think we want to run
the installed versions, but specify different paths for everything.
-
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. -