summaryrefslogtreecommitdiffstats
path: root/source4/param/tests
Commit message (Collapse)AuthorAgeFilesLines
* s4:param/tests: add missing #include "torture/local/proto.h"Stefan Metzmacher2014-04-022-0/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2012-06-151-1/+1
| | | | | | | | | | | | | | | controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
* s4:param/tests: remove "security=server" testStefan Metzmacher2012-05-151-10/+0
| | | | metze
* s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett2012-03-041-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
* lib/param: Add tests for security= behaviour now it operates with server roleAndrew Bartlett2011-11-171-0/+41
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* param: Add tests for automatic server role guessingAndrew Bartlett2011-11-171-0/+81
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-112-2/+2
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-211-57/+0
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-33/+33
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-1/+1
| | | | | | | | Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-191-2/+3
| | | | setUp methods are called, fix formatting.
* Various source4 spelling fixes.Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij2009-12-211-3/+7
| | | | Found by Ricardo Jorge <rvelhote@gmail.com>.
* Move tests for ParamFile.Jelmer Vernooij2008-12-211-20/+0
|
* Move more modules inside of the samba package.Jelmer Vernooij2008-05-211-1/+1
| | | | (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-2/+2
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* Remove sDefault as static variable.Jelmer Vernooij2008-02-281-2/+2
| | | | (This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
* Add bindings for lp_load_default().Jelmer Vernooij2008-01-231-0/+3
| | | | (This used to be commit ffd793bbde636366855462f980f1f7d0e25afaab)
* r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin2007-12-261-6/+10
| | | | | Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
* r26517: Add functions for setting and getting parameters on a LoadParm.Jelmer Vernooij2007-12-211-0/+17
| | | | | | Pass loadparm context along to Ldb contexts. Other minor Python improvements. (This used to be commit 7a15b486bae8fb774058b2d94cc12b7b01ee6ac0)
* r26505: Add python bindings for some samdb-related functions, improve ↵Jelmer Vernooij2007-12-211-2/+2
| | | | | | provisioning in python. (This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033)
* r26503: Change order of arguments in param interface so it's easier to make theJelmer Vernooij2007-12-211-0/+11
| | | | | section name optional. Fix several smaller bits and pieces in the Python code. (This used to be commit 1b89311e5fa4fcde060df50e580dc221205cc8ca)
* r26456: Provide default config object, fix typo.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 2b59df2af973044d9d3875c9202c17647f561d3b)
* r26448: Add basic tests for param python module.Jelmer Vernooij2007-12-211-0/+41
| | | | (This used to be commit ccfab20dcc2d7059c402c03be244b759d59c4b81)
* r26440: Remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
* r26350: More tests.Jelmer Vernooij2007-12-211-0/+41
| | | | (This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
* r26349: More tests.Jelmer Vernooij2007-12-211-0/+12
| | | | (This used to be commit c440b130a9d57c1928fb5aef34fa4c00c7e46cff)
* r26347: More tests.Jelmer Vernooij2007-12-211-0/+48
| | | | (This used to be commit 5d927b5ca792c2c9da4a1c4f5c3ae880637895e3)
* r26346: Add tests for loadparm.Jelmer Vernooij2007-12-211-0/+66
| | | | (This used to be commit 064a2329e13f1d904142da1cac486c126a2fe57d)
* r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij2007-12-211-1/+2
| | | | | | explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
* r25927: Move share tests to param directory.Jelmer Vernooij2007-12-211-0/+210
(This used to be commit f12f623da52aefdf49df9b77d87b9b0d48177c14)