summaryrefslogtreecommitdiffstats
path: root/source4/scripting/devel
Commit message (Collapse)AuthorAgeFilesLines
* Make the output of the crackname script more readableMatthieu Patou2013-07-031-4/+4
| | | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 3 23:17:57 CEST 2013 on sn-devel-104
* devel-script: add options for RODC and partial replica for replicate flagsMatthieu Patou2013-01-221-1/+21
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jan 22 00:12:17 CET 2013 on sn-devel-104
* devel-scripts: ask with WRIT_REP by defaultMatthieu Patou2013-01-211-0/+1
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* devel-getncchange: try to find the dest_dsa automaticallyMatthieu Patou2013-01-211-3/+19
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:scripting/python: always treat the highwatermark as opaque (bug #9508)Stefan Metzmacher2013-01-012-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* devel-crackname: Print if count > 0Matthieu Patou2012-10-071-2/+5
|
* LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer2012-03-261-1/+1
| | | | | | | Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* python: Change except: statement to except Exception:Amitay Isaacs2012-01-241-3/+3
| | | | | | | | This way we only catch true exceptions and keyboard interrupts are not caught here. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
* s4:repl_cleartext_pwd.py: add optional 'clear_utf16_name' parameterStefan Metzmacher2012-01-121-7/+17
| | | | | | | | | | Not all cleartext password (machine passwords) can be converted to utf8, let's export the raw uint16_t array. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 12 23:58:12 CET 2012 on sn-devel-104
* s4:repl_cleartext_pwd.py: add 'attmode' parameter to convert the attname to utf8Stefan Metzmacher2012-01-121-5/+22
| | | | metze
* s4:repl_cleartext_pwd.py: correctly compare attids as uint32_t valuesStefan Metzmacher2012-01-121-5/+10
| | | | metze
* s4:scripting/devel: add repl_cleartext_pwd.py scriptStefan Metzmacher2012-01-091-0/+377
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful to sync passwords from an AD domain. $ $ source4/scripting/devel/repl_cleartext_pwd.py \ -Uadministrator%A1b2C3d4 \ 172.31.9.219 DC=bla,DC=base /tmp/cookie cleartext_utf8 131085 displayName # starting at usn[0] dn: CN=Test User1,CN=Users,DC=bla,DC=base cleartext_utf8: A1b2C3d4 displayName:: VABlAHMAdAAgAFUAcwBlAHIAMQA= # up to usn[16449] $ $ source4/scripting/devel/repl_cleartext_pwd.py \ -Uadministrator%A1b2C3d4 172.31.9.219 DC=bla,DC=base /tmp/cookie cleartext_utf8 131085 displayName # starting at usn[16449] # up to usn[16449] $ metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 9 19:06:06 CET 2012 on sn-devel-104
* s4: Simple test script to create lots of contacts to stress the LDBMatthieu Patou2011-11-111-0/+96
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
* s4: add createtrust tool for testingAndrew Bartlett2011-09-131-0/+137
|
* 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
|