summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
* s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDBNadezhda Ivanova2010-11-231-0/+24
|
* s4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge.Nadezhda Ivanova2010-11-221-0/+15
|
* s4-tests: Wrap connect_samdb() into a connect_samdb_ex() helperKamen Mazdrashki2010-11-221-0/+18
| | | | | Thus caller will be able to connect to SamDB and fetch RootDSE info in a single step
* s4-samba.tests: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki2010-11-221-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-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replicationAndrew Tridgell2010-11-181-1/+2
| | | | see the description of this flag in [MS-DRSR]
* s4-join: initially disable the machine accountAndrew Tridgell2010-11-181-1/+8
| | | | enable after a password is set
* s4-drs: fixed a typoAndrew Tridgell2010-11-181-1/+1
|
* 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-spnupdate: only enable NDR print at log level above 5Andrew Tridgell2010-11-181-1/+4
|
* s4-dns: added support for --fail-immediately for RODC netlogon dns updatesAndrew Tridgell2010-11-181-0/+7
|
* s4-samdb.py: Use ldb.get_default_basedn() to avoid RootDSE searchKamen Mazdrashki2010-11-181-6/+1
|
* 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-provision: don't test for xattrs if posix:eadb is setAndrew Tridgell2010-11-171-0/+1
| | | | | when it is set in smb.conf or on the command line, obey the setting and don't try to test for system xattr support
* s4-provision: setup posix:eadb using lp.set()Andrew Tridgell2010-11-171-5/+2
| | | | | this allows it to override a setting made during the automatic testing of xattr support
* 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-provision: add log messages about IP lookupAndrew Tridgell2010-11-171-0/+2
| | | | | the IPv6 lookup can be very slow if a DNS server in the search list is unavailable. It's good to let the user know what its doing.
* s4-dns: catch more expections in samba_dnsupdateAndrew Tridgell2010-11-171-1/+5
|
* 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-join: fixed join to w2k3Andrew Tridgell2010-11-171-1/+1
| | | | w2k3 does need msDS-Behavior-Version
* s4-join: show a reasonable error on DsAddEntry() failingAndrew Tridgell2010-11-171-1/+6
| | | | DsAddEntry() gives errors in a reply container
* s4-join: enable NDR printing at debug levels >= 5Andrew Tridgell2010-11-171-2/+9
| | | | this is handy for debugging joins
* 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
* samba-tool pwsettings Allow setting 'store cleartext'Andrew Bartlett2010-11-161-2/+17
| | | | | | This allows the 'store cleartext' password policy flag to be (un)set. Andrew Bartlett
* s4-join: not all versions of w2003 have msDS-SupportedEncryptionTypesAndrew Tridgell2010-11-151-2/+4
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 15 22:28:16 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-dns: added --fail-immediately option to samba_dnsupdateAndrew Tridgell2010-11-151-1/+13
| | | | this is useful for manual testing
* s4-dns: fixed registration of multiple IPs in samba_dnsupdateAndrew Tridgell2010-11-151-1/+1
| | | | | | bitten by python object references again! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:upgradeprovision - why not directly use "provision:0"?Matthias Dieter Wallnöfer2010-11-131-4/+4
|
* ktpass: also use userPrincipalName for locating the principalMatthieu Patou2010-11-121-1/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 12 20:24:23 UTC 2010 on sn-devel-104
* ktpass: fix the search path for when running in samba's source dirMatthieu Patou2010-11-121-0/+3
|
* python: use the ldbMessage + modify notation instead of modify_ldif that we ↵Matthieu Patou2010-11-121-7/+6
| | | | try to avoid
* Fix typoMatthieu Patou2010-11-121-1/+1
|
* unit tests: add testing for dns account password changeMatthieu Patou2010-11-121-0/+4
|
* upgradeprovision: use relaxed control while adding missing object containerMatthieu Patou2010-11-121-1/+3
|
* upgradeprovision: fix pb with dns-hostname, regenerate a correct keytabMatthieu Patou2010-11-122-1/+75
|
* upgradeprovision: use the relax/(upgrade)provision when modifying objectMatthieu Patou2010-11-121-1/+8
| | | | | | For certain attribute we use the relax/provision control so that we try to respect checks as this is not a good idea to always force unwanted behavior.
* upgradeprovision: use the (upgrade)provision control alsoMatthieu Patou2010-11-121-2/+2
|
* upgradeprovision: update revision for forestupdate and domainupdate objectsMatthieu Patou2010-11-121-1/+4
|
* Add a script to make backup of samba provisionMatthieu Patou2010-11-121-0/+65
|
* s4-provision UTF16 encode the password in sam.ldb, not secrets.ldbAndrew Bartlett2010-11-111-2/+2
| | | | | | | | | | The password in secrets.ldb is UTF8, while clearTextPassword in sam.ldb is UTF16. This corrects commit bd5039546e520b6d6897a658bc0a358f0511f7c7, which had these the wrong way around. Andrew Bartlett
* s4:upgradehelpers.py - use "clearTextPassword" rather than "userPassword"Matthias Dieter Wallnöfer2010-11-111-5/+8
| | | | It's the default internal s4 password change attribute
* 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
|