summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-lsasd: Fix debug messages on registration failureAndrew Bartlett2012-03-051-3/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 5 09:50:17 CET 2012 on sn-devel-104
* selftest: Reduce declarations of smbclient_auth tests by moving into a loopAndrew Bartlett2012-03-051-3/+1
|
* selftest: run smbtorture_s3 tests against the ntvfs file serverAndrew Bartlett2012-03-053-1/+16
| | | | | | | This checks not only the behaviour of the NTVFS file server, but also the client library and authentication stack. Andrew Bartlett
* selftest: Reduce time in cleanup loop, try waitpid on all 3 childrenAndrew Bartlett2012-03-051-6/+12
|
* selftest: start to run more dcerpc tests against plugin_s4_dcAndrew Bartlett2012-03-051-1/+2
|
* selftest: forward rpcecho to Samba4 in plugin_s4_dcAndrew Bartlett2012-03-051-1/+1
|
* selftest.run: Factor out read_testlist_file and open_file_or_pipe.Jelmer Vernooij2012-03-053-17/+87
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 5 05:42:19 CET 2012 on sn-devel-104
* selftest.run: Factor out exported_envvars_str.Jelmer Vernooij2012-03-053-12/+26
|
* selfclient.client: Factor out write_clientconf.Jelmer Vernooij2012-03-052-62/+83
|
* selftest.run: Factor out expand_command_run.Jelmer Vernooij2012-03-053-17/+73
|
* selftest.run: Factor out expand_command_list.Jelmer Vernooij2012-03-053-7/+25
|
* selftest: Factor out expand_environment_strings.Jelmer Vernooij2012-03-054-11/+70
|
* s3-ctdb: Enable CTDB readonly support only if CTDB supports itAmitay Isaacs2012-03-053-1/+40
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Mar 5 02:47:36 CET 2012 on sn-devel-104
* dbwrap_ctdb: only fetch a read-only copy if we had a record already.Rusty Russell2012-03-053-5/+12
| | | | | | | | | | | | | Because revoking read-only copies of records is expensive, we only want ctdbd to do it for high-turnover records. A basic heuristic is that if we don't find a local copy of the record, don't ask for a read-only copy. The fetch itself will cause ctdbd to migrate the record, so eventually we will have a local copy. Next time it gets migrated away, we'll call ctdbd_fetch() with local_copy = true. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ctdbd_conn: fetch read-only copies of records.Rusty Russell2012-03-051-2/+2
| | | | | | | This means we try to get a read-only copy of a record, which we can then place in the local tdb. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* dbwrap_ctdb: handle read-only records.Rusty Russell2012-03-051-9/+26
| | | | | | | | | | | | | | | | | | | | | The new read-only record flags make determining if we can use a record a bit more complex, so extract it into its own function. The OLD logic was: 1) If the record doesn't exist, we can't use it. 2) If we are the dmaster for the record, we can use it. The new logic is: 1) If the record doesn't exist, we can't use it. 2) If we are the dmaster for the record, we can use it IF we only want read-only access, OR there are no read-only delegations. 3) If we are not dmaster, we can only use it if we want read-only access and it is marked as a read-only copy. This logic is unused until the next patches which begin to ask for read-only copies of records. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* selftest: remove unused config.h checkAndrew Bartlett2012-03-051-6/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 5 01:10:01 CET 2012 on sn-devel-104
* s3-smbd: vuser and session_info cannot be NULL hereAndrew Bartlett2012-03-041-37/+31
| | | | | | | The callers always supply it. (this is a hold-over from the security=share removal). Andrew Bartlett
* s3-rpc_server: consolidate rpc server init routinesAndrew Bartlett2012-03-041-484/+64
| | | | | | This uses a helper function to reduce duplication. Andrew Bartlett
* s3-auth Add make_session_info_from_pw to avoid multiple getpwnam() callsAndrew Bartlett2012-03-041-12/+34
|
* 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
|