summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-provision: include command line provision options in the generated smb.confAndrew Tridgell2010-11-111-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>
* 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: use the command line loadparm in provision during a joinAndrew Tridgell2010-11-112-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>
* s4-join: raise mininum password length to 32 in new join codeAndrew Tridgell2010-11-101-1/+1
|
* s4:provision.py - strip trailing whitespacesMatthias Dieter Wallnöfer2010-11-091-106/+106
|
* s4:provision - switch to "clearTextPassword" for setting passwordsMatthias Dieter Wallnöfer2010-11-091-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.
* s4-pydrs: validate the DsGetNCChanges responseAndrew Tridgell2010-11-081-0/+2
| | | | check that object_count matches up with first_object
* s4-join: modify join behaviour according to domain levelAndrew Tridgell2010-11-074-43/+112
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
* s4-drs: allow override of the replica_flagsAndrew Tridgell2010-11-071-2/+7
|
* s4:upgradeprovision - remove some "recalculate_sd" usesMatthias Dieter Wallnöfer2010-11-071-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
* s4-join: fixed SPNs, invocationId and dnshostname and python joinAndrew Tridgell2010-11-061-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>
* s4-join: switch over to the new DC join in make testAndrew Tridgell2010-11-061-1/+1
|
* samba-tool: deprecate samba-tool vampire commandAndrew Tridgell2010-11-061-1/+5
|
* s4-join: fixed secure_channel_typeAndrew Tridgell2010-11-051-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
* s4-join: don't print all the NDR packets by defaultAndrew Tridgell2010-11-051-1/+1
|
* s4: net -> samba-toolAndrew Tridgell2010-11-051-1/+1
|
* s4-join: added DC join to the python join codeAndrew Tridgell2010-11-052-152/+282
| | | | this will replace the old vampire code
* s4-pydrs: added rodc option to python drs replicationAndrew Tridgell2010-11-052-5/+6
|
* s4-pydsdb: added DsReplicaAttribute()Andrew Tridgell2010-11-051-0/+3
| | | | this allows us to form a DsReplicaAttribute structure from python
* talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2010-11-055-62/+12
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
* 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
* provision: Look for in source setup data first, in case an older versionJelmer Vernooij2010-11-031-16/+28
| | | | of samba 4 is installed in the system.
* samba: Make in_source_tree() public.Jelmer Vernooij2010-11-031-3/+3
|
* s4:provision - adapt the "provision" so that SIDs are only set on entry creationMatthias Dieter Wallnöfer2010-11-011-8/+4
| | | | SID modifications are denied.
* s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2010-11-011-1/+0
|
* s4:provision - remove the "servicePrincipalName" creation on the DC objectMatthias Dieter Wallnöfer2010-10-311-8/+0
| | | | This is now done by the "samba_spnupdate" script.
* s4:scripting/bin/samba_spnupdate - also support adding all possible ↵Matthias Dieter Wallnöfer2010-10-311-2/+3
| | | | "servicePrincipalName"s
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-46/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* provision: fix wrong testsMatthieu Patou2010-10-301-6/+11
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 30 17:31:23 UTC 2010 on sn-devel-104
* provision: when deriving netbiosname from hostname force the netbiosname to ↵Matthieu Patou2010-10-301-3/+13
| | | | | | | | | be compliant It means no space/_/-/@.... and less than 16 chars. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 30 14:26:22 UTC 2010 on sn-devel-104
* 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