Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-05 | selftest: start to run more dcerpc tests against plugin_s4_dc | Andrew Bartlett | 1 | -1/+2 | |
2012-03-05 | selftest: forward rpcecho to Samba4 in plugin_s4_dc | Andrew Bartlett | 1 | -1/+1 | |
2012-03-05 | selftest.run: Factor out read_testlist_file and open_file_or_pipe. | Jelmer Vernooij | 3 | -17/+87 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 5 05:42:19 CET 2012 on sn-devel-104 | |||||
2012-03-05 | selftest.run: Factor out exported_envvars_str. | Jelmer Vernooij | 3 | -12/+26 | |
2012-03-05 | selfclient.client: Factor out write_clientconf. | Jelmer Vernooij | 2 | -62/+83 | |
2012-03-05 | selftest.run: Factor out expand_command_run. | Jelmer Vernooij | 3 | -17/+73 | |
2012-03-05 | selftest.run: Factor out expand_command_list. | Jelmer Vernooij | 3 | -7/+25 | |
2012-03-05 | selftest: Factor out expand_environment_strings. | Jelmer Vernooij | 4 | -11/+70 | |
2012-03-05 | s3-ctdb: Enable CTDB readonly support only if CTDB supports it | Amitay Isaacs | 3 | -1/+40 | |
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Mar 5 02:47:36 CET 2012 on sn-devel-104 | |||||
2012-03-05 | dbwrap_ctdb: only fetch a read-only copy if we had a record already. | Rusty Russell | 3 | -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> | |||||
2012-03-05 | ctdbd_conn: fetch read-only copies of records. | Rusty Russell | 1 | -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> | |||||
2012-03-05 | dbwrap_ctdb: handle read-only records. | Rusty Russell | 1 | -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> | |||||
2012-03-05 | selftest: remove unused config.h check | Andrew Bartlett | 1 | -6/+0 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Mar 5 01:10:01 CET 2012 on sn-devel-104 | |||||
2012-03-04 | s3-smbd: vuser and session_info cannot be NULL here | Andrew Bartlett | 1 | -37/+31 | |
The callers always supply it. (this is a hold-over from the security=share removal). Andrew Bartlett | |||||
2012-03-04 | s3-rpc_server: consolidate rpc server init routines | Andrew Bartlett | 1 | -484/+64 | |
This uses a helper function to reduce duplication. Andrew Bartlett | |||||
2012-03-04 | s3-auth Add make_session_info_from_pw to avoid multiple getpwnam() calls | Andrew Bartlett | 1 | -12/+34 | |
2012-03-04 | s3-auth: Remove security=share (depricated since 3.6). | Andrew Bartlett | 27 | -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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ | |||||
2012-03-04 | s3:smbd/globals.h: remove unused pollfd pointer | Stefan Metzmacher | 1 | -6/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 4 23:18:10 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest.py: Use testtools TestCase class. | Jelmer Vernooij | 4 | -12/+15 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 19:38:25 CET 2012 on sn-devel-104 | |||||
2012-03-04 | selftest.py: Add dummy init file (required to run tests). | Jelmer Vernooij | 1 | -0/+0 | |
2012-03-04 | selftest.pl: Remove unused --verbose option. | Jelmer Vernooij | 1 | -8/+0 | |
2012-03-04 | selftest.py: Remove unused --verbose option. | Jelmer Vernooij | 1 | -5/+0 | |
2012-03-04 | selftest.py: Remove unused code, reconcile signal handlers. | Jelmer Vernooij | 1 | -19/+16 | |
2012-03-04 | selftest.py: Fix handling of boolean options. | Jelmer Vernooij | 1 | -10/+12 | |
2012-03-04 | selftest.py: Fix signal handling. | Jelmer Vernooij | 1 | -2/+4 | |
2012-03-04 | Run selftest.py tests. | Jelmer Vernooij | 1 | -0/+1 | |
2012-03-04 | selftest: Now runs again for tests that use environment 'none'. | Jelmer Vernooij | 1 | -41/+68 | |
2012-03-04 | selftest.target: Add NoneTarget. | Jelmer Vernooij | 2 | -0/+30 | |
2012-03-04 | selftest.py: Finish conversion to python - now loads without syntax errors. | Jelmer Vernooij | 1 | -63/+89 | |
2012-03-04 | selftest.testlist: Add RestrictedTestManager.from_path. | Jelmer Vernooij | 2 | -37/+27 | |
2012-03-04 | selftest: More work on conversion to Python. | Jelmer Vernooij | 1 | -806/+482 | |
2012-03-04 | selftest.testlist: Add docstrings. | Jelmer Vernooij | 1 | -0/+12 | |
2012-03-04 | selftest.testlist: Add manager for restricted test lists. | Jelmer Vernooij | 2 | -10/+54 | |
2012-03-04 | Add TestListFilter definition. | Jelmer Vernooij | 1 | -0/+13 | |
2012-03-04 | selftest.testlist: Add read_testlist. | Jelmer Vernooij | 2 | -1/+51 | |
2012-03-04 | selftest.testlist: Add read_test_regexes. | Jelmer Vernooij | 2 | -1/+39 | |
2012-03-04 | selftest: Add testlist management module. | Jelmer Vernooij | 3 | -1/+73 | |
2012-03-04 | selftest.target: Add Environment.get_vars. | Jelmer Vernooij | 1 | -0/+11 | |
2012-03-04 | selftest: Add tests for trying to reuse an environment that has gone down. | Jelmer Vernooij | 1 | -1/+7 | |
2012-03-04 | selftest: Add tests for NoneEnvironment. | Jelmer Vernooij | 1 | -0/+17 | |
2012-03-04 | selftest.target: Test that environments are reused. | Jelmer Vernooij | 1 | -0/+5 | |
2012-03-04 | selftest.target: Add tests for get_running_env. | Jelmer Vernooij | 1 | -0/+7 | |
2012-03-04 | selftest.target: Add tests for getlog_env. | Jelmer Vernooij | 1 | -0/+8 | |
2012-03-04 | selftest.target: Add tests for check. | Jelmer Vernooij | 2 | -2/+9 | |
2012-03-04 | selftest.target: Add tests for setup. | Jelmer Vernooij | 2 | -9/+14 | |
2012-03-04 | selftest: Add base classes for Target/Environment and their management. | Jelmer Vernooij | 3 | -1/+199 | |
2012-03-04 | selftest.socket_wrapper: interface is an integer. | Jelmer Vernooij | 1 | -1/+1 | |
2012-03-04 | selftest.socket_wrapper: Add basic unit tests. | Jelmer Vernooij | 2 | -3/+16 | |
2012-03-04 | selftest.socket_wrapper: Add docstrings. | Jelmer Vernooij | 1 | -1/+8 | |
2012-03-04 | Add test infrastructure for selftest. | Jelmer Vernooij | 2 | -0/+52 | |