summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
AgeCommit message (Collapse)AuthorFilesLines
2009-11-27s4:upgradeprovision Use mkdtemp to create unique tempoary directory namesAndrew Bartlett1-2/+3
2009-11-27s4:upgradeprovision Rework script, and reset machine account pwAndrew Bartlett1-27/+58
The rework corrects some duplication and errors in the original script, found when preparing an automated test of the script. The code to reset the machine account password avoids issues with AES keys and salting, which may not otherwise be solved by the upgrade. Andrew Bartlett
2009-11-27s4: Improve updateprovisionMatthieu Patou1-33/+52
* Define a simple upgrade process mode (module storage change, file name change, copy of new file) * Move the schema, configuration and current object upgrade into full upgrade mode * Added the --full switch to select the full upgrade mode, and made simple upgrade mode the default * Make updateprovision works without any switch (update the provision in the default location) * Cleanup the messages * Create the reference provision in a subdirectory of the updated provision
2009-11-27s4: Rename the scriptMatthieu Patou1-45/+45
2009-11-25s4:upgradeschema.py Update to reflect recent change in provisionMatthieu Patou1-27/+31
- define which modules we want to use when loading the ldb - move partition in sam.ldb.d dir Changes have been suggested by Andrew Bartlett. (commit message clarified by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-25s4:upgradeschema.py CleanupMatthieu Patou1-6/+1
- remove some useless comments - remove hardcoded paths (commit message clarified by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-02s4:provision Move 'Schema' into it's own fileAndrew Bartlett2-3/+5
2009-11-02s4: Create a script for updating a running provision with change introduced ↵Matthieu Patou1-0/+694
since the initial provision
2009-10-15s4:w32err_code.py script - put it under "scripting/bin"Matthias Dieter Wallnöfer1-0/+361
I think this is a better location for this script. Since the subdirectory "script" of "source4" contains only scripts for "make install" and "make uninstall".
2009-10-15s4-script: flush DNS after adding new addressesAndrew Tridgell1-0/+1
2009-09-30Revert "python: create a script for reorgnizing an LDB file."Matthias Dieter Wallnöfer1-60/+0
This reverts commit 11a7842854c0be8c427a2dbf0a8fc3761cda6298. abartlet claims that this patch could lead to data loss (look at technical mailing list)
2009-09-18s4:minschema/fullschema - add correct header commentsMatthias Dieter Wallnöfer2-2/+2
2009-09-18python: create a script for reorgnizing an LDB file.Matthieu Patou1-0/+60
This script helps to reclaim waisted place.
2009-09-14s4: Script to build or rebuild extend DN attributesMatthieu Patou1-0/+141
This script can be used to upgrade a provision that didn't integrate extended dn. It can also be used to add missing extended DN that weren't created during provision.
2009-09-12s4-scripts: allow setup_dns.sh to take a PRIVATEDIRAndrew Tridgell1-1/+3
2009-09-07s4:setup_dns.sh fixed the update of the GUID CNAMEAndrew Tridgell1-8/+14
2009-09-07s4:nsupdate-gss allow forcing of the realmAndrew Tridgell1-35/+37
this is needed for the _msdcs zone
2009-09-07s4: bring nsupdate-gss into the s4 treeAndrew Tridgell2-0/+379
This is a perl script that does TSIG-GSS DNS updates against a AD DC. The bind 9.5 nsupdate still doesn't seem to work with TSIG-GSS, and we need a way to do DNS updates when we vampire a domain, so I revived this ancient perl script and added a wrapper script that can update DNS entries using our machine account credentials
2009-07-03s4: Remove stub endpoint mapper script.Jelmer Vernooij1-24/+0
2009-07-02show attribute values in sorted order to make comparison easierAndrew Tridgell1-0/+5
2009-06-17Make fullschema script executable.Jelmer Vernooij1-0/+0
2009-06-11A script to compare the differences in nTSecurityDescriptor between 2 hostsNadezhda Ivanova1-0/+153
This script walks the schema, configuration and domain partitions of the locally installed Ldb and a remote hosts and compares the descriptors disregarding the difference in domain SID. The goal is to make sure a freshly provisioned Samba has the correct descriptors so ACLs work correctly. It outputs the descriptors in short SDDL, where the correct SIDs are to be replaced during provisioning. Optionally it can be output as an LDIF file with the current local domain and domain SIDs.
2009-03-20s4:fullschema Use server-side sort to make the output deterministicAndrew Bartlett1-2/+4
2009-03-20s4: Remove autogenerated attributes from minschema and fullschema outputAndrew Bartlett2-16/+0
These attributes will be generated by Samba on import, and do not need to be in the schema file. Andrew Bartlett
2009-03-20Add minschema like tool to extract and dump the full schema from ADAndrew Bartlett1-0/+191
2009-03-20s4:minschma Fix aggregate schema generation in minschemaAndrew Bartlett1-24/+23
The conversion from EJS to python I did with Jelmer this morning was not quite complete, due mostly to the difference between print in EJS and python (python implies a newline). Andrew Bartlett
2009-03-20Fix up minschema after the conversion from JavaScript.Jelmer Vernooij1-88/+77
Pair programmed over the phone with Andrew :-)
2008-10-24Remove use of global_loadparm in last Python script.Jelmer Vernooij1-2/+0
2008-10-08Fix subunit files location after cherrypicks.Jelmer Vernooij1-1/+1
2008-10-08Move all subunit files to lib directory.Jelmer Vernooij1-0/+1
2008-10-08Fix syntax errors in minschema.Jelmer Vernooij1-20/+16
2008-09-18Remove python extension, simplify some code.Jelmer Vernooij4-3/+3
2008-09-12Revert "Add option for generating coverage data from python tests."Jelmer Vernooij1-8/+0
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef. (This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
2008-09-09Add option for generating coverage data from python tests.Jelmer Vernooij1-0/+8
(This used to be commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef)
2008-07-30Be more pythonic.Jelmer Vernooij1-7/+5
(This used to be commit 20d40e31942f96ca9d077e57c6dd4c1d38f79b4b)
2008-07-26mamachinepw: add better error handlingStefan Metzmacher1-4/+20
metze (This used to be commit 7ac424137f62ceacf44e477f4e3805267013005b)
2008-07-26Add "mymachinepw" to fetch our machine password out of secrets.ldbVolker Lendecke1-0/+45
(This used to be commit 4fbe16deb0e06e145f643568a699b80b431d4f42)
2008-05-26Remove obsolete ejs winreg example.Jelmer Vernooij1-107/+0
(This used to be commit f1a2d2bc00dac56080b2bd560074ec66d12a3129)
2008-05-26Move some scripts to examples directory since they're not really generically ↵Jelmer Vernooij3-203/+2
useful. (This used to be commit 4026493e91f8096e5d602cd42f9a83d2d75042db)
2008-05-26Cope with no server being active.Jelmer Vernooij1-3/+9
(This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
2008-05-26Finish smbstatus in Python.Jelmer Vernooij1-8/+15
(This used to be commit 988508c2d3269cc88ed38df2fc207a1c0aaccc6b)
2008-05-26Allow using IRPC functions on the messaging bus from Python.Jelmer Vernooij1-16/+23
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
2008-05-26Convert smbstatus to Python.Jelmer Vernooij1-96/+63
(This used to be commit f14ad6cd92227c7ed5c570b581e5db82b7d42e25)
2008-05-25Add initial work for script that uses probing to figure out IDL.Jelmer Vernooij1-0/+161
(This used to be commit 4e5687e813e50d0bc8d6314e389d1d7a0be2f8c1)
2008-05-23Fix bugs in samr python tests.Jelmer Vernooij1-3/+3
(This used to be commit 09c6b106ac144820b8c072bda4dad3d8e2145ff0)
2008-05-23Convert samr test to python.Jelmer Vernooij1-0/+114
(This used to be commit 88d473b202e82b462ef82ffdeb4f1710918ffda5)
2008-05-23Fix imports for minschema.Jelmer Vernooij1-0/+2
(This used to be commit bda223a49e6bdeda68518cba27bc92df33784939)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-1/+1
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-11Set sys.path for running inside source tree.Jelmer Vernooij5-2/+19
(This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)
2008-05-11Use system python rather than smbpython.Jelmer Vernooij1-1/+3
(This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)