summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-11-17s4-join: enable NDR printing at debug levels >= 5Andrew Tridgell1-2/+9
this is handy for debugging joins
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-16samba-tool pwsettings Allow setting 'store cleartext'Andrew Bartlett1-2/+17
This allows the 'store cleartext' password policy flag to be (un)set. Andrew Bartlett
2010-11-15s4-join: not all versions of w2003 have msDS-SupportedEncryptionTypesAndrew Tridgell1-2/+4
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 15 22:28:16 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-15s4-dns: added --fail-immediately option to samba_dnsupdateAndrew Tridgell1-1/+13
this is useful for manual testing
2010-11-15s4-dns: fixed registration of multiple IPs in samba_dnsupdateAndrew Tridgell1-1/+1
bitten by python object references again! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-13s4:upgradeprovision - why not directly use "provision:0"?Matthias Dieter Wallnöfer1-4/+4
2010-11-12ktpass: also use userPrincipalName for locating the principalMatthieu Patou1-1/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 12 20:24:23 UTC 2010 on sn-devel-104
2010-11-12ktpass: fix the search path for when running in samba's source dirMatthieu Patou1-0/+3
2010-11-12python: use the ldbMessage + modify notation instead of modify_ldif that we ↵Matthieu Patou1-7/+6
try to avoid
2010-11-12Fix typoMatthieu Patou1-1/+1
2010-11-12unit tests: add testing for dns account password changeMatthieu Patou1-0/+4
2010-11-12upgradeprovision: use relaxed control while adding missing object containerMatthieu Patou1-1/+3
2010-11-12upgradeprovision: fix pb with dns-hostname, regenerate a correct keytabMatthieu Patou2-1/+75
2010-11-12upgradeprovision: use the relax/(upgrade)provision when modifying objectMatthieu Patou1-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.
2010-11-12upgradeprovision: use the (upgrade)provision control alsoMatthieu Patou1-2/+2
2010-11-12upgradeprovision: update revision for forestupdate and domainupdate objectsMatthieu Patou1-1/+4
2010-11-12Add a script to make backup of samba provisionMatthieu Patou1-0/+65
2010-11-11s4-provision UTF16 encode the password in sam.ldb, not secrets.ldbAndrew Bartlett1-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
2010-11-11s4:upgradehelpers.py - use "clearTextPassword" rather than "userPassword"Matthias Dieter Wallnöfer1-5/+8
It's the default internal s4 password change attribute
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
2010-11-11s4-provision: include command line provision options in the generated smb.confAndrew Tridgell1-11/+22
this saves the smb.conf using lp.dump_globals() to ensure that any command line options (for example directory overrides) are saved in the generated smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-11s4-devel: useful script for testing join with empty smb.confAndrew Tridgell1-0/+43
this sets up all the needed --options for a join with a prefix other than the one compiled in
2010-11-11s4-join: use the command line loadparm in provision during a joinAndrew Tridgell2-9/+13
this allows a join with an empty smb.conf to override locations of files correctly with --option Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-10s4-join: raise mininum password length to 32 in new join codeAndrew Tridgell1-1/+1
2010-11-09s4:provision.py - strip trailing whitespacesMatthias Dieter Wallnöfer1-106/+106
2010-11-09s4:provision - switch to "clearTextPassword" for setting passwordsMatthias Dieter Wallnöfer1-4/+4
This is the default password set/change attribute for s4 specific purposes (otherwise in respect to Windows it's "unicodePwd"). We move away from "userPassword" since on Windows it's not activated by default - and s4 will follow soon.
2010-11-08s4-pydrs: validate the DsGetNCChanges responseAndrew Tridgell1-0/+2
check that object_count matches up with first_object
2010-11-07s4-join: modify join behaviour according to domain levelAndrew Tridgell4-43/+112
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
2010-11-07s4-drs: allow override of the replica_flagsAndrew Tridgell1-2/+7
2010-11-07s4:upgradeprovision - remove some "recalculate_sd" usesMatthias Dieter Wallnöfer1-3/+3
We need "recalculate_sd" only when no external "nTSecurityDescriptor" change is performed. Otherwise the recalculation is performed automatically. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 18:52:42 UTC 2010 on sn-devel-104
2010-11-06s4-join: fixed SPNs, invocationId and dnshostname and python joinAndrew Tridgell1-3/+4
- we need the GN/ SPN for replication. - fixed the string form of the invocationId - lowercase the dnshostname Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-06s4-join: switch over to the new DC join in make testAndrew Tridgell1-1/+1
2010-11-06samba-tool: deprecate samba-tool vampire commandAndrew Tridgell1-1/+5
2010-11-05s4-join: fixed secure_channel_typeAndrew Tridgell1-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 5 13:24:32 UTC 2010 on sn-devel-104
2010-11-05s4-join: don't print all the NDR packets by defaultAndrew Tridgell1-1/+1
2010-11-05s4: net -> samba-toolAndrew Tridgell1-1/+1
2010-11-05s4-join: added DC join to the python join codeAndrew Tridgell2-152/+282
this will replace the old vampire code
2010-11-05s4-pydrs: added rodc option to python drs replicationAndrew Tridgell2-5/+6
2010-11-05s4-pydsdb: added DsReplicaAttribute()Andrew Tridgell1-0/+3
this allows us to form a DsReplicaAttribute structure from python
2010-11-05talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij5-62/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-11-04s4-devel: Verify prefixMap is saved correctly in LDB on diskKamen Mazdrashki1-0/+146
2010-11-04Speed test with user objectsZahari Zahariev1-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
2010-11-03provision: Look for in source setup data first, in case an older versionJelmer Vernooij1-16/+28
of samba 4 is installed in the system.
2010-11-03samba: Make in_source_tree() public.Jelmer Vernooij1-3/+3
2010-11-01s4:provision - adapt the "provision" so that SIDs are only set on entry creationMatthias Dieter Wallnöfer1-8/+4
SID modifications are denied.