summaryrefslogtreecommitdiff
path: root/source4/param/tests
AgeCommit message (Collapse)AuthorFilesLines
2012-03-04s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett1-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 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2011-11-17lib/param: Add tests for security= behaviour now it operates with server roleAndrew Bartlett1-0/+41
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: Add tests for automatic server role guessingAndrew Bartlett1-0/+81
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2-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
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij1-57/+0
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-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>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-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>
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij1-2/+3
setUp methods are called, fix formatting.
2010-02-22Various source4 spelling fixes.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2009-12-21Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij1-3/+7
Found by Ricardo Jorge <rvelhote@gmail.com>.
2008-12-21Move tests for ParamFile.Jelmer Vernooij1-20/+0
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-1/+1
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-2/+2
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-02-28Remove sDefault as static variable.Jelmer Vernooij1-2/+2
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-01-23Add bindings for lp_load_default().Jelmer Vernooij1-0/+3
(This used to be commit ffd793bbde636366855462f980f1f7d0e25afaab)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-6/+10
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26517: Add functions for setting and getting parameters on a LoadParm.Jelmer Vernooij1-0/+17
Pass loadparm context along to Ldb contexts. Other minor Python improvements. (This used to be commit 7a15b486bae8fb774058b2d94cc12b7b01ee6ac0)
2007-12-21r26505: Add python bindings for some samdb-related functions, improve ↵Jelmer Vernooij1-2/+2
provisioning in python. (This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033)
2007-12-21r26503: Change order of arguments in param interface so it's easier to make theJelmer Vernooij1-0/+11
section name optional. Fix several smaller bits and pieces in the Python code. (This used to be commit 1b89311e5fa4fcde060df50e580dc221205cc8ca)
2007-12-21r26456: Provide default config object, fix typo.Jelmer Vernooij1-1/+1
(This used to be commit 2b59df2af973044d9d3875c9202c17647f561d3b)
2007-12-21r26448: Add basic tests for param python module.Jelmer Vernooij1-0/+41
(This used to be commit ccfab20dcc2d7059c402c03be244b759d59c4b81)
2007-12-21r26440: Remove more uses of global_loadparm.Jelmer Vernooij1-2/+2
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-1/+1
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26350: More tests.Jelmer Vernooij1-0/+41
(This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
2007-12-21r26349: More tests.Jelmer Vernooij1-0/+12
(This used to be commit c440b130a9d57c1928fb5aef34fa4c00c7e46cff)
2007-12-21r26347: More tests.Jelmer Vernooij1-0/+48
(This used to be commit 5d927b5ca792c2c9da4a1c4f5c3ae880637895e3)
2007-12-21r26346: Add tests for loadparm.Jelmer Vernooij1-0/+66
(This used to be commit 064a2329e13f1d904142da1cac486c126a2fe57d)
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij1-1/+2
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21r25927: Move share tests to param directory.Jelmer Vernooij1-0/+210
(This used to be commit f12f623da52aefdf49df9b77d87b9b0d48177c14)