summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-0427-1068/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes security=share, which Samba implemented by matching the per-share password provided by the client in the Tree Connect with a selection of usernames supplied by the client, the smb.conf or guessed from the environment. The rationale for the removal is that for the bulk of security=share users, we just we need a very simple way to run a 'trust the network' Samba server, where users mark shares as guest ok. This is still supported, and the smb.conf options are documented at https://wiki.samba.org/index.php/Public_Samba_Server At the same time, this closes the door on one of the most arcane areas of Samba authentication. Naturally, full user-name/password authentication remain available in security=user and above. This includes documentation updates for username and only user, which now only do a small amount of what they used to do. Andrew Bartlett -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SHARE | | security=share | | | | | | 5 March | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* s3:smbd/globals.h: remove unused pollfd pointerStefan Metzmacher2012-03-041-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 4 23:18:10 CET 2012 on sn-devel-104
* selftest.py: Use testtools TestCase class.Jelmer Vernooij2012-03-044-12/+15
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 19:38:25 CET 2012 on sn-devel-104
* selftest.py: Add dummy init file (required to run tests).Jelmer Vernooij2012-03-041-0/+0
|
* selftest.pl: Remove unused --verbose option.Jelmer Vernooij2012-03-041-8/+0
|
* selftest.py: Remove unused --verbose option.Jelmer Vernooij2012-03-041-5/+0
|
* selftest.py: Remove unused code, reconcile signal handlers.Jelmer Vernooij2012-03-041-19/+16
|
* selftest.py: Fix handling of boolean options.Jelmer Vernooij2012-03-041-10/+12
|
* selftest.py: Fix signal handling.Jelmer Vernooij2012-03-041-2/+4
|
* Run selftest.py tests.Jelmer Vernooij2012-03-041-0/+1
|
* selftest: Now runs again for tests that use environment 'none'.Jelmer Vernooij2012-03-041-41/+68
|
* selftest.target: Add NoneTarget.Jelmer Vernooij2012-03-042-0/+30
|
* selftest.py: Finish conversion to python - now loads without syntax errors.Jelmer Vernooij2012-03-041-63/+89
|
* selftest.testlist: Add RestrictedTestManager.from_path.Jelmer Vernooij2012-03-042-37/+27
|
* selftest: More work on conversion to Python.Jelmer Vernooij2012-03-041-806/+482
|
* selftest.testlist: Add docstrings.Jelmer Vernooij2012-03-041-0/+12
|
* selftest.testlist: Add manager for restricted test lists.Jelmer Vernooij2012-03-042-10/+54
|
* Add TestListFilter definition.Jelmer Vernooij2012-03-041-0/+13
|
* selftest.testlist: Add read_testlist.Jelmer Vernooij2012-03-042-1/+51
|
* selftest.testlist: Add read_test_regexes.Jelmer Vernooij2012-03-042-1/+39
|
* selftest: Add testlist management module.Jelmer Vernooij2012-03-043-1/+73
|
* selftest.target: Add Environment.get_vars.Jelmer Vernooij2012-03-041-0/+11
|
* selftest: Add tests for trying to reuse an environment that has gone down.Jelmer Vernooij2012-03-041-1/+7
|
* selftest: Add tests for NoneEnvironment.Jelmer Vernooij2012-03-041-0/+17
|
* selftest.target: Test that environments are reused.Jelmer Vernooij2012-03-041-0/+5
|
* selftest.target: Add tests for get_running_env.Jelmer Vernooij2012-03-041-0/+7
|
* selftest.target: Add tests for getlog_env.Jelmer Vernooij2012-03-041-0/+8
|
* selftest.target: Add tests for check.Jelmer Vernooij2012-03-042-2/+9
|
* selftest.target: Add tests for setup.Jelmer Vernooij2012-03-042-9/+14
|
* selftest: Add base classes for Target/Environment and their management.Jelmer Vernooij2012-03-043-1/+199
|
* selftest.socket_wrapper: interface is an integer.Jelmer Vernooij2012-03-041-1/+1
|
* selftest.socket_wrapper: Add basic unit tests.Jelmer Vernooij2012-03-042-3/+16
|
* selftest.socket_wrapper: Add docstrings.Jelmer Vernooij2012-03-041-1/+8
|
* Add test infrastructure for selftest.Jelmer Vernooij2012-03-042-0/+52
|
* selftest: Add python version of socket wrapper utilities.Jelmer Vernooij2012-03-041-0/+54
|
* selftest: Add selftest.py.Jelmer Vernooij2012-03-041-0/+944
|
* kcc: Improve formatting of Python code to be more consistent with our other ↵Jelmer Vernooij2012-03-042-276/+224
| | | | code.
* libcli:smb: define SMB2_HDR_FLAG_REPLAY_OPERATIONMichael Adam2012-03-041-0/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Mar 4 15:10:38 CET 2012 on sn-devel-104
* s3: Fix some && vs & warningsVolker Lendecke2012-03-041-3/+3
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Sun Mar 4 13:31:25 CET 2012 on sn-devel-104
* selftest: Rework Samba3.pm process terminationAndrew Bartlett2012-03-041-15/+23
| | | | | | | | | | | | We now store the timelimit child PID in memory, and confirm that the child has exited with both waitpid() and kill(0, $pid). By calling Samba::cleanup_child() we get exit status information. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Mar 4 11:51:12 CET 2012 on sn-devel-104
* selftest: Rework Samba4.pm process termination.Andrew Bartlett2012-03-041-6/+23
| | | | | | | | We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett
* selftest: Fix waitpid termination testAndrew Bartlett2012-03-041-2/+2
|
* selftest: Use fork()/exec() rather than system()Andrew Bartlett2012-03-042-71/+59
| | | | | | | | | This follows the Samba3.pm model for starting child processes is to use fork()/exec(). This reduces the number of processes being created by selftest.pl, and gives us more information about the child process and the running state in the parent. Andrew Bartlett
* s3-winbindd: Add stdin handler for winbindAndrew Bartlett2012-03-042-3/+48
| | | | | | | This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
* s3-nmbd: Add stdin handler for nmbdAndrew Bartlett2012-03-041-0/+33
| | | | | | | This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
* change low FDs are handled in SambaAndrew Bartlett2012-03-047-31/+25
| | | | | | | | | | | We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett
* s3: don't replace the error message if already definedMatthieu Patou2012-03-041-3/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 4 10:13:24 CET 2012 on sn-devel-104
* s3: print a nice warning when HAVE_ADS is not enabled but you still try to ↵Matthieu Patou2012-03-041-0/+5
| | | | do net rpc keytab vampire
* selftest: Remove unused vde functions.Jelmer Vernooij2012-03-041-25/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104
* selftest/README: Expand inconsistent tabsJelmer Vernooij2012-03-041-11/+11
|