summaryrefslogtreecommitdiff
path: root/source4/scripting/devel
AgeCommit message (Collapse)AuthorFilesLines
2013-07-03Make the output of the crackname script more readableMatthieu Patou1-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
2013-01-22devel-script: add options for RODC and partial replica for replicate flagsMatthieu Patou1-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
2013-01-21devel-scripts: ask with WRIT_REP by defaultMatthieu Patou1-0/+1
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-01-21devel-getncchange: try to find the dest_dsa automaticallyMatthieu Patou1-3/+19
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-01-01s4:scripting/python: always treat the highwatermark as opaque (bug #9508)Stefan Metzmacher2-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-10-07devel-crackname: Print if count > 0Matthieu Patou1-2/+5
2012-03-26LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer1-1/+1
Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-01-24python: Change except: statement to except Exception:Amitay Isaacs1-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
2012-01-12s4:repl_cleartext_pwd.py: add optional 'clear_utf16_name' parameterStefan Metzmacher1-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
2012-01-12s4:repl_cleartext_pwd.py: add 'attmode' parameter to convert the attname to utf8Stefan Metzmacher1-5/+22
metze
2012-01-12s4:repl_cleartext_pwd.py: correctly compare attids as uint32_t valuesStefan Metzmacher1-5/+10
metze
2012-01-09s4:scripting/devel: add repl_cleartext_pwd.py scriptStefan Metzmacher1-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
2011-11-11s4: Simple test script to create lots of contacts to stress the LDBMatthieu Patou1-0/+96
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
2011-09-13s4: add createtrust tool for testingAndrew Bartlett1-0/+137
2011-08-10s4: create a small script to test drsuapi/cracknameMatthieu Patou1-0/+75
2011-08-06s4-scripting: allow to specify the number max of iteration around getNcChangesMatthieu Patou1-1/+4
2011-07-21samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell1-1/+1
2011-05-21add a demo script for dirsyncMatthieu Patou1-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
2011-05-21s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou1-1/+2
namespace as it can be used not only for upgradeprovision
2011-05-08selftest: Polish selftest-vars.sh a little so it can be used againKamen Mazdrashki1-10/+14
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun May 8 22:50:01 CEST 2011 on sn-devel-104
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-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
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett1-1/+1
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-02-02s4-python Ensure we add the Samba python path first.Andrew Bartlett1-1/+1
This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
2010-12-22s4-devel/pfm_verify: Move schemaInfo getter into separate functionKamen Mazdrashki1-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
2010-12-18s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute valueKamen Mazdrashki1-6/+43
2010-12-15s4-tests: Added a speedtest for LDAP search operations with different accounts.Nadezhda Ivanova1-11/+67
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 15 21:32:09 CET 2010 on sn-devel-104
2010-11-29s4-ldapcmp: make ldapcmp a samba-tool commandAndrew Tridgell1-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
2010-11-29s4-ldapcmp: fixed exception handlingAndrew Tridgell1-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
2010-11-28chgtdcpass: Fix program name in usage message.Jelmer Vernooij1-5/+4
2010-11-27show_test_time: Move to root scripting directory as it's useful for s3Jelmer Vernooij1-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
2010-11-25s4-tests: Modified speedtest.py to use samba.tests.delete_forceNadezhda Ivanova1-8/+3
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 01:28:19 CET 2010 on sn-devel-104
2010-11-24s4-devel: we don't need to override these scripts nowAndrew Tridgell1-2/+0
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104
2010-11-23s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki1-1/+1
Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
2010-11-22s4-pfm_verify: fix usage stringKamen Mazdrashki1-1/+1
Thanks Tridge!
2010-11-19wintest: moved to top levelAndrew Tridgell3-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
2010-11-18s4-wintest: reliability and usability improvementsAndrew Tridgell3-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
2010-11-18s4-wintest: remove files in var/ when reprovisioningAndrew Tridgell1-0/+1
2010-11-18s4-test: added --rebase and --clean optionsAndrew Tridgell1-1/+13
2010-11-18s4-test: use --fail-immediately for samba_dnsupdate testingAndrew Tridgell1-2/+2
2010-11-18s4-test: added greater control over tests to runAndrew Tridgell3-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
2010-11-18s4-test: rename scripting/devel/howto to scripting/devel/wintestAndrew Tridgell3-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
2010-11-18s4-wintest: added wintest.py libraryAndrew Tridgell2-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
2010-11-17s4-test: updates to test-howto.pyAndrew Tridgell2-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
2010-11-17s4-test: added testing of w2k3 DC join to test-howto.pyAndrew Tridgell2-19/+105
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 17 01:16:19 UTC 2010 on sn-devel-104
2010-11-16s4-test: fixes for test-howto.pyAndrew Tridgell2-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
2010-11-15s4-devel: a script to test the Samba4 HOWTOAndrew Tridgell2-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.
2010-11-11s4:speedtest.py - use "unicodePwd" for setting user's passwordMatthias Dieter Wallnöfer1-1/+2
It's available on all AD hosts (including Windows 2000) and on all configurations!
2010-11-11s4:speedtest.py - remove duplicated codeMatthias Dieter Wallnöfer1-2/+0
2010-11-11s4:speedtest.py - fix script name in the help textMatthias Dieter Wallnöfer1-2/+2
2010-11-11s4:speedtest.py - make it executableMatthias Dieter Wallnöfer1-0/+0