summaryrefslogtreecommitdiff
path: root/source4/scripting/devel
Commit message (Collapse)AuthorAgeFilesLines
* s4: create a small script to test drsuapi/cracknameMatthieu Patou2011-08-101-0/+75
|
* s4-scripting: allow to specify the number max of iteration around getNcChangesMatthieu Patou2011-08-061-1/+4
|
* samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell2011-07-211-1/+1
|
* add a demo script for dirsyncMatthieu Patou2011-05-211-0/+156
| | | | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 15:40:26 CEST 2011 on sn-devel-104
* s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou2011-05-211-1/+2
| | | | namespace as it can be used not only for upgradeprovision
* selftest: Polish selftest-vars.sh a little so it can be used againKamen Mazdrashki2011-05-081-10/+14
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun May 8 22:50:01 CEST 2011 on sn-devel-104
* selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett2011-04-191-1/+0
| | | | | | | It is much more reliable to specify it as a direct parameter, and this is needed for the combined 'make test'. Andrew Bartlett
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-161-1/+1
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* s4-python Ensure we add the Samba python path first.Andrew Bartlett2011-02-021-1/+1
| | | | | | | This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
* s4-devel/pfm_verify: Move schemaInfo getter into separate functionKamen Mazdrashki2010-12-221-4/+12
| | | | | | | | so it can be used against Windows DC without fetching prefixMap Fetching prefixMap doesn't work against WinDCs for some reason at the moment Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 22 01:28:49 CET 2010 on sn-devel-104
* s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute valueKamen Mazdrashki2010-12-181-6/+43
|
* s4-tests: Added a speedtest for LDAP search operations with different accounts.Nadezhda Ivanova2010-12-151-11/+67
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 15 21:32:09 CET 2010 on sn-devel-104
* s4-ldapcmp: make ldapcmp a samba-tool commandAndrew Tridgell2010-11-291-818/+0
| | | | | | The ldapcmp tool is very useful, and should be available to Samba admins, not just developers. This makes it a samba-tool command, which also gives it the nicer command line handling that samba-tool has
* s4-ldapcmp: fixed exception handlingAndrew Tridgell2010-11-291-19/+17
| | | | | | | | | This pattern, which is common in our code, is wrong: except LdbError, (ERR_NO_SUCH_OBJECT, _): what it actually does it to change the value of ldb.ERR_NO_SUCH_OBJECT to be equal to whatever ldb error occurred! This led to some really bizarre behavior
* chgtdcpass: Fix program name in usage message.Jelmer Vernooij2010-11-281-5/+4
|
* show_test_time: Move to root scripting directory as it's useful for s3Jelmer Vernooij2010-11-271-19/+0
| | | | | | | and s4. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
* s4-tests: Modified speedtest.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-8/+3
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 01:28:19 CET 2010 on sn-devel-104
* s4-devel: we don't need to override these scripts nowAndrew Tridgell2010-11-241-2/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104
* s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki2010-11-231-1/+1
| | | | | | Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
* s4-pfm_verify: fix usage stringKamen Mazdrashki2010-11-221-1/+1
| | | | Thanks Tridge!
* wintest: moved to top levelAndrew Tridgell2010-11-193-970/+0
| | | | | the plan is to expand wintest to test a lot more of Samba against windows, including testing the Samba3 file server, winbind, nmbd etc
* s4-wintest: reliability and usability improvementsAndrew Tridgell2010-11-183-116/+166
| | | | | | | | | | | - allow for missing VMs - improved VM names - added join of w2k3 to Samba domain - cope with w2k3 dcpromo output - wait for port 139 not 23, to avoid windows telnet server bug Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 23:56:11 CET 2010 on sn-devel-104
* s4-wintest: remove files in var/ when reprovisioningAndrew Tridgell2010-11-181-0/+1
|
* s4-test: added --rebase and --clean optionsAndrew Tridgell2010-11-181-1/+13
|
* s4-test: use --fail-immediately for samba_dnsupdate testingAndrew Tridgell2010-11-181-2/+2
|
* s4-test: added greater control over tests to runAndrew Tridgell2010-11-183-220/+320
| | | | | | | now supports --list to list tests, and --skip to skip the named tests Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 04:29:24 UTC 2010 on sn-devel-104
* s4-test: rename scripting/devel/howto to scripting/devel/wintestAndrew Tridgell2010-11-183-0/+0
| | | | | | | this won't just be for the howto anymore Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 18 00:45:18 UTC 2010 on sn-devel-104
* s4-wintest: added wintest.py libraryAndrew Tridgell2010-11-182-420/+462
| | | | | | | converted test-howto.py to use the wintest library. The idea is for us to create other tests that test lots of different interactions with windows
* s4-test: updates to test-howto.pyAndrew Tridgell2010-11-172-59/+122
| | | | | | | | | | | | - handle clock skew using "net time" on windows after we open the telnet connection - allow checking for result lists in order - replicate all partitions after vampiring so we don't need to wait for periodic replication - use a krb5 ccache in the prefix for kinit based tests The complete test suite now passes on my system, taking just over 13 minutes to complete
* s4-test: added testing of w2k3 DC join to test-howto.pyAndrew Tridgell2010-11-172-19/+105
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
* s4-test: fixes for test-howto.pyAndrew Tridgell2010-11-162-25/+36
| | | | | | | | this fixes some timing issues, plus ensures we test both with and without kerberos Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 16 07:58:55 UTC 2010 on sn-devel-104
* s4-devel: a script to test the Samba4 HOWTOAndrew Tridgell2010-11-152-0/+605
| | | | | | | | | | This provides a script that allows testing of most of the steps of the Samba4 HOWTO. The big difference between this and 'make test' is that it test against windows, using pexpect to control windows boxes via telnet. The info about VMs and other parameters are in separate conf files. I've included a sample config file that I use on my laptop.
* s4:speedtest.py - use "unicodePwd" for setting user's passwordMatthias Dieter Wallnöfer2010-11-111-1/+2
| | | | It's available on all AD hosts (including Windows 2000) and on all configurations!
* s4:speedtest.py - remove duplicated codeMatthias Dieter Wallnöfer2010-11-111-2/+0
|
* s4:speedtest.py - fix script name in the help textMatthias Dieter Wallnöfer2010-11-111-2/+2
|
* s4:speedtest.py - make it executableMatthias Dieter Wallnöfer2010-11-111-0/+0
|
* s4-devel: useful script for testing join with empty smb.confAndrew Tridgell2010-11-111-0/+43
| | | | | this sets up all the needed --options for a join with a prefix other than the one compiled in
* s4-join: modify join behaviour according to domain levelAndrew Tridgell2010-11-071-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
* s4-join: switch over to the new DC join in make testAndrew Tridgell2010-11-061-1/+1
|
* s4: net -> samba-toolAndrew Tridgell2010-11-051-1/+1
|
* s4-devel: Verify prefixMap is saved correctly in LDB on diskKamen Mazdrashki2010-11-041-0/+146
|
* Speed test with user objectsZahari Zahariev2010-11-041-0/+191
| | | | | | | | | | | This is a modest speed test that aims to show performance difference between Samba4 vs MS Active Directory. It should be used with Samba-style credentials and no arguments like every other python unittest. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-User: Anatoliy Atanasov <anatoliy@samba.org> Autobuild-Date: Thu Nov 4 00:11:20 UTC 2010 on sn-devel-104
* s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2010-11-011-1/+0
|
* Add a script for formating test result of st/subunitMatthieu Patou2010-10-261-0/+19
| | | | | | | | This script show the time of each test and tests are sorted by execution time (from the slowest to the quickest) Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Oct 26 20:42:11 UTC 2010 on sn-devel-104
* s4-ldapcmp.py: Don't guess credentials for second Credentials objectKamen Mazdrashki2010-10-021-1/+1
| | | | | | | This allow us to fallback to first credentials given. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Oct 2 23:05:20 UTC 2010 on sn-devel-104
* LDAPCmp feature to compare nTSecurityDescriptorsZahari Zahariev2010-09-301-34/+252
| | | | | | | | | | | | | | | | | New feature that enables LDAPCmp users to find unmatched or missing ACEs in objects for the three naming contexts between DCs in one domain (default) or different domains. Comparing security descriptors is not the default action but attribute compatison. So to activate the new mode there is --sd switch. However there are two view modes to the new --sd action which are 'section' (default) or 'collision'. In 'section' mode you can only find differences connected to missing or value unmatched ACEs but not disorder unmatch if ACE values and count are the same. All of the mentioned differences plus disorder ACE unmatch you can observe under 'collision' view however it is more verbose. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* s4-devel: added new options to getncchanges scriptAndrew Tridgell2010-09-291-9/+65
| | | | | | added --pas, --dest-dsa and --replica-flags options Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* s4-ldapcmp: Fix usage of 'paged_search' module for remote LDB connectionsKamen Mazdrashki2010-09-261-2/+3
|
* s4-ldapcmp: Extend ldapcmp to be able to compare more than one context at a timeKamen Mazdrashki2010-09-261-20/+33
| | | | If no arguments given, ldapcmp will compare all NCs
* s4-ldapcmp: Enable comparisons between LDBs tooKamen Mazdrashki2010-09-221-3/+12
| | | | | | | This will enable us to compare two LDBs or and LDB with running AD server. Comparing LDB against running running server may come into handy when one want to see if 'net vampire' command does what it does the right way