summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
AgeCommit message (Collapse)AuthorFilesLines
2010-07-08s4 upgradeprovision: For SID > 1000 do not copy them, let the system ↵Matthieu Patou1-0/+6
regenerated a new one This should avoid colliion with newly added objects that use the same SID as existing users in the upgraded provision. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-28s4/spnupdate: Fixed spnupdate to use secrets credentials when accessing SamDB.Endi S. Dewata1-3/+30
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24s4:upgradeprovision - fix include order for "ldb"Matthias Dieter Wallnöfer1-1/+1
Patch originally posted on the list by Matthieu Patou.
2010-06-21s4 upgradeprovision: fix the logging stuff so that it actually logMatthieu Patou1-0/+2
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20testparm: Check netbios name and workgroup characters and length.Jelmer Vernooij1-14/+36
2010-06-20selftest: Use scripted testparm.Jelmer Vernooij1-2/+2
2010-06-20testparm: Simplify default option handling.Jelmer Vernooij1-19/+14
2010-06-20testparm: Fix suppress prompt option.Jelmer Vernooij1-7/+5
2010-06-20testparm: Fix exit value, install.Jelmer Vernooij1-13/+20
2010-06-20s4-python: Implement LoadParm.dump().Jelmer Vernooij1-1/+1
2010-06-20testparm: Split up functions that do multiple things.Jelmer Vernooij1-40/+33
2010-06-20testparm: Convert to Python.Jelmer Vernooij1-0/+204
2010-06-20s4-python: Remove more unused imports, fix use of sets in upgradehelpers.Jelmer Vernooij2-7/+3
2010-06-20Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij1-4/+5
2010-06-20Formatting cleanups; use True/False for booleans, unnecessary backslashes, ↵Jelmer Vernooij1-61/+63
spacing.
2010-06-20s4-python: Remove trivial function, replace by dictionary.Jelmer Vernooij1-4/+11
2010-06-20s4 upgradeprovision: Check that the policy for DC is present if not warn the ↵Matthieu Patou1-4/+14
user Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: add an option to force the rebuilding of FS ACLs on ↵Matthieu Patou1-1/+6
sysvols share Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Restyle importsMatthieu Patou1-15/+15
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Move functions to helpers and improve codeMatthieu Patou1-197/+48
Among code improvement the most significant part is that we now compare DN object instead of their string representation. It allow to better react to case an white space difference. Some new move objects have been added (ie. System into well known security principals). This will allow more unittesting Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Add documentation on the update processMatthieu Patou1-9/+162
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: move some functions to upgradehelpers for unit testsMatthieu Patou1-129/+13
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Fix styleMatthieu Patou1-85/+137
reformat *_update_samdb functions fix_partition_sd rebuild_sd update_samdb update_privilege update_machine_account_password update_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Use replPropertyMetaData for better guessMatthieu Patou1-179/+565
Rework upgradeprovision in order to get more precise updates when doing upgrade provision. This is done through the use of replPropertyMetaData information and raw information revealed by the "reveal" control. The code has been changed also to avoid double free error when changing the schema (for old provision). Checking of SD is done a bit more cleverly as we compare the different parts for an ACL separately. Fix logic when upgrading provision without replPropertyMetaData infos Also for old provision (pre alpha9) do not copy the usn range because data here will be wrong Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Reformat attributes lists and reformat parserMatthieu Patou1-17/+33
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Inform about new dns dynamic update if the provision ↵Matthieu Patou1-3/+41
didn't have it Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: fix styleMatthieu Patou1-76/+123
add_deletedobj_containers add missing objects clean add-mising handle special add + dump denied Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgrade provision: Refactor code to do all the modification within 1 ↵Matthieu Patou1-308/+413
transaction Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgrade provision: Fix style in gen_dn_indexMatthieu Patou1-2/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij1-4/+1
command-line options. This is the first step towards supporting custom test runners.
2010-06-13Remove unused version options for subunitrun.Jelmer Vernooij1-1/+0
2010-06-13upgradeprovision: Use logging infrastructure.Jelmer Vernooij1-13/+14
2010-06-13upgrade: Properly cancel/commit transactions in a couple more places.Jelmer Vernooij1-122/+135
2010-06-13s4-python: Start using standard python logging infrastructure ratherJelmer Vernooij2-10/+8
than simple messaging callbacks.
2010-04-27s4-dsdb: added samba_spnupdateAndrew Tridgell1-0/+137
this script adds all our required servicePrincipalName entries at runtime. The admin can add more entries to spn_update_list as needed
2010-04-27s4-dns: cope better with comments in dns_update_listAndrew Tridgell1-7/+4
2010-04-21s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3Andrew Tridgell1-1/+1
2010-04-19s4-dns: use neater python for reading linesAndrew Tridgell1-7/+2
files are line iterators
2010-04-08s4-python: More cleanups.Jelmer Vernooij2-7/+3
2010-04-08s4-python: Simplify code, improve formatting.Jelmer Vernooij1-17/+25
2010-04-07s4-python: Move samdb_ntds_objectGUID to pydsdb.Jelmer Vernooij2-5/+4
2010-04-01s4-python: Install external packages to a different directory but import intoJelmer Vernooij1-1/+1
the normal namespace when the system doesn't have it available.
2010-04-01subunitrun: Find testtools and subunit when they're not provided by theJelmer Vernooij1-3/+5
system.
2010-03-29s4-python: Simplify mechanism for finding included Python modules.Jelmer Vernooij1-2/+2
2010-03-29s4-python: Move dnspython to lib/, like the other Python modulesJelmer Vernooij1-5/+3
This also avoids it from being installed if it's already present on the system.
2010-03-28upgradeprovision: Fix formatting, syntax error.Jelmer Vernooij1-17/+20
2010-03-28s4 upgradeprovision: add information about upgrade in oEMInformation to keep ↵Matthieu Patou1-2/+15
a better trace of different updates Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-28s4: allow upgrade provision to fix acl and missing dir on GPO dirsMatthieu Patou1-1/+18
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell14-14/+14
this should be much more portable