summaryrefslogtreecommitdiffstats
path: root/source4/setup/tests
Commit message (Collapse)AuthorAgeFilesLines
* samba-tool: updated test suite to account for newuser changeGiampaolo Lauria2011-07-283-5/+5
| | | | | | | Updated test suite invocations of newuser to "user add" as the newuser functionality is now being moved to "user add" Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: fixed samba-tool user syntaxAndrew Tridgell2011-07-211-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: update test suite for the new domain objectGiampaolo Lauria2011-07-211-1/+1
| | | | | | Changed test suite to reflect the changes from setpassword to "domain setpassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update test suite for add setpasswordGiampaolo Lauria2011-07-212-5/+5
| | | | | | The test suite needs to change from setpassword to "user setpassword" to reflect the new cmd syntax Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>Theresa Halloran2011-06-011-4/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4/samba-tool: Move samba-tool enableaccount to samba-tool user enable command.Theresa Halloran2011-06-011-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* upgradeprovision: add hostname in the blackbox testsMatthieu Patou2011-05-211-1/+1
|
* Make the purge first so that the provision can reused during testsMatthieu Patou2011-05-211-3/+3
|
* s4-test: fixed more assumptions of ./setup for setup directoryAndrew Tridgell2011-02-076-21/+21
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool Add test for --store-plaintextAndrew Bartlett2010-11-161-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 16 06:29:04 UTC 2010 on sn-devel-104
* s4 net: rename to samba-tool in order to not clash with s3 netKai Blin2010-10-284-67/+67
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
* unit tests: do some cleanup after testsMatthieu Patou2010-10-112-0/+15
| | | | | | | fix Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Oct 11 14:29:10 UTC 2010 on sn-devel-104
* unit tests: debug to ease locating pb, remove dir if exists to avoid errorMatthieu Patou2010-08-191-2/+8
|
* s4:blackbox/newuser: use test specific user namesStefan Metzmacher2010-07-311-10/+10
| | | | | | | | As this test doesn't delete the user accounts at the end, we should use test specific user names. That lowers the chance of conflicts with other tests. metze
* s4 unittests: remove the provision directory before (re)generatingMatthieu Patou2010-07-103-0/+3
|
* s4 net: Add spn module to list/add/remove spn on objectsMatthieu Patou2010-07-101-0/+33
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* make test modules for net group set of commands and modification to the ↵Lukasz Zalewski2010-06-202-1/+82
| | | | | | newuser to include additional parameters Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4:blackbox password tests - more complex passwordsStefan Metzmacher2010-05-102-5/+5
|
* Fixed OL-MMR make testOliver Liebel2010-03-181-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision Just 'do the right thing' with empty smb.conf filesAndrew Bartlett2010-02-101-0/+16
| | | | | | | | For some reason, JHT keeps on creating an empty smb.conf file, expecting it to be the same as a non-existant one. It is easier to just realise what he meant. Andrew Bartlett
* net: Move 'newuser' to 'net newuser'Jelmer Vernooij2009-12-312-9/+12
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:setup Adjust upgradeprovision blackbox test now we don't have --targetdirAndrew Bartlett2009-12-011-2/+2
|
* s4:upgradeprovision add 'exit $failed' to blackbox testAndrew Bartlett2009-11-271-0/+2
|
* s4:selftest Add tests for upgradeprovisionAndrew Bartlett2009-11-271-0/+26
|
* s4:provision Test ability to set GUIDs from provision command lineAndrew Bartlett2009-10-211-0/+1
|
* s4:pwsettings: Added blackbox tests.Andrew Kroeger2009-09-101-0/+2
| | | | | | The added tests include basic validation that the script runs and accepts all custom arguments. The tests also verify changes to the password complexity, minimum password length, and minimum password length settings.
* s4:provision Rework provision-backend into provisionAndrew Bartlett2009-08-171-5/+5
| | | | | | | | | | | | | | | This removes a *lot* of duplicated code and the cause of much administrator frustration. We now handle starting and stopping the slapd (at least for the provision), and ensure that there is only one 'right' way to configure the OpenLDAP and Fedora DS backend We now run OpenLDAP in 'cn=config' mode for online configuration. To test what was the provision-backend code, a new --ldap-dryrun-mode option has been added to provision. It quits the provision just before it would start the LDAP binaries Andrew Bartlett
* s4:provision Allow provision-backend to not run slapd for 'make test'Andrew Bartlett2009-08-121-5/+5
| | | | | | | | | | | As the version of OpenLDAP required for Samba4 is fairly new, we don't want to make it a requirement before this python code is run in 'make test'. As such, skip over the actual starting of slapd, but check the rest runs alright (which still validates syntax and other modules). Andrew Bartlett
* s4:setup Add an option to 'setpassword' to force password change at next loginAndrew Bartlett2009-06-181-0/+2
|
* Add a setexpiry operation in samdb.pyAndrew Tridgell2008-08-301-1/+13
| | | | | This makes it easy to set the expiry (or no expiry) for a samdb user (This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
* Fix up new OpenLDAP MMR code.Andrew Bartlett2008-08-191-0/+1
| | | | | | | | | | | | | | This changes the MMR password from hard-coded value of 'linux', adds tests and fixes the Fedora DS backend. Currently the MMR password matches the admin password, but we can change this to be another random value if required. Also require the port to be specified on the command line, so we don't hard-code a port of 9000. Andrew Bartlett (This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
* Add a blackbox test for the provision-backend script.Andrew Bartlett2008-06-191-0/+25
| | | | | | | | This test (as most tests do :-) found a few bugs, also fixed in this commit. Andrew Bartlett (This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)
* Don't pass an smb.conf to provision tests.Andrew Bartlett2008-05-303-22/+19
| | | | | | | These tests will create their own smb.conf in their prefix anyway. Andrew Bartlett (This used to be commit c0322e8e27d67655b7498b27df0829aa5682a345)
* use one blackbox script per executable.Jelmer Vernooij2008-05-223-18/+44
| | | | (This used to be commit cd8c8226784c96d7f1dbae006a4853eb50c7b2e2)
* Fix newuser and setpassword scripts, and port to idmap.Andrew Bartlett2008-04-141-2/+5
| | | | | | | | | The new idmap world does not use the unixUser any more, so we need to set up the entry (if wanted) in the idmap database. Users without a backing unix user will get an allocated uid by idmap later. Andrew Bartlett (This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)
* Actually test the different 'fill levels' in the provision process.Andrew Bartlett2008-04-111-0/+2
| | | | | | | This should cover a few more codepaths in the provision script. Andrew Bartlett (This used to be commit 75c8dc6c6f3134bb78356630f24617aaeb869344)
* Extend testsuite to cover specifying a domain SID.Andrew Bartlett2008-03-111-1/+1
| | | | | Andrew Bartlett (This used to be commit edb7af0685983543c321e3d8b90f6ae07af2e4e3)
* Rework provision scripts for more testingAndrew Bartlett2008-03-071-1/+4
| | | | | | | | | | | | | | | This fixes up some issues with testdir (was not honoured) and increases test coverage. We now check all the major provision modes. In doing so, to make it possible to call from the multiple layers of 'sh', I have allowed 'dc' to alias 'domain controller' and 'member' to alias 'member server'. Fighting shell quoting in the test system was just too hard... Also fix upgrade.py Andrew Bartlett (This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)
* Make setup/provision the name of the python provision script now that that ↵Jelmer Vernooij2008-02-211-3/+3
| | | | | | is the default. (This used to be commit a0a05c5a3d614d0f2936ecfcab5273a2ef7d61a8)
* Add blackbox test for provisioning code to make sure it can be run more than ↵Jelmer Vernooij2008-02-121-0/+39
once in a row. (This used to be commit 42466d960c86b692ef5e03c045ba24591c5c6f84)