Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-08 | s4 upgradeprovision: For SID > 1000 do not copy them, let the system ↵ | Matthieu Patou | 1 | -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-24 | s4:upgradeprovision - fix include order for "ldb" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Patch originally posted on the list by Matthieu Patou. | |||||
2010-06-21 | s4 upgradeprovision: fix the logging stuff so that it actually log | Matthieu Patou | 1 | -0/+2 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | Some more formatting fixes, move schema related functions from Ldb to Schema. | Jelmer Vernooij | 1 | -4/+5 | |
2010-06-20 | Formatting cleanups; use True/False for booleans, unnecessary backslashes, ↵ | Jelmer Vernooij | 1 | -61/+63 | |
spacing. | |||||
2010-06-20 | s4-python: Remove trivial function, replace by dictionary. | Jelmer Vernooij | 1 | -4/+11 | |
2010-06-20 | s4 upgradeprovision: Check that the policy for DC is present if not warn the ↵ | Matthieu Patou | 1 | -4/+14 | |
user Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: add an option to force the rebuilding of FS ACLs on ↵ | Matthieu Patou | 1 | -1/+6 | |
sysvols share Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Restyle imports | Matthieu Patou | 1 | -15/+15 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Move functions to helpers and improve code | Matthieu Patou | 1 | -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-20 | s4 upgradeprovision: Add documentation on the update process | Matthieu Patou | 1 | -9/+162 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: move some functions to upgradehelpers for unit tests | Matthieu Patou | 1 | -129/+13 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Fix style | Matthieu Patou | 1 | -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-20 | s4 upgradeprovision: Use replPropertyMetaData for better guess | Matthieu Patou | 1 | -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-20 | s4 upgradeprovision: Reformat attributes lists and reformat parser | Matthieu Patou | 1 | -17/+33 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: Inform about new dns dynamic update if the provision ↵ | Matthieu Patou | 1 | -3/+41 | |
didn't have it Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgradeprovision: fix style | Matthieu Patou | 1 | -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-20 | s4 upgrade provision: Refactor code to do all the modification within 1 ↵ | Matthieu Patou | 1 | -308/+413 | |
transaction Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | s4 upgrade provision: Fix style in gen_dn_index | Matthieu Patou | 1 | -2/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-13 | upgradeprovision: Use logging infrastructure. | Jelmer Vernooij | 1 | -13/+14 | |
2010-06-13 | upgrade: Properly cancel/commit transactions in a couple more places. | Jelmer Vernooij | 1 | -122/+135 | |
2010-06-13 | s4-python: Start using standard python logging infrastructure rather | Jelmer Vernooij | 1 | -4/+5 | |
than simple messaging callbacks. | |||||
2010-04-21 | s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3 | Andrew Tridgell | 1 | -1/+1 | |
2010-04-08 | s4-python: More cleanups. | Jelmer Vernooij | 1 | -0/+1 | |
2010-04-08 | s4-python: Simplify code, improve formatting. | Jelmer Vernooij | 1 | -17/+25 | |
2010-04-07 | s4-python: Move samdb_ntds_objectGUID to pydsdb. | Jelmer Vernooij | 1 | -2/+1 | |
2010-03-28 | upgradeprovision: Fix formatting, syntax error. | Jelmer Vernooij | 1 | -17/+20 | |
2010-03-28 | s4 upgradeprovision: add information about upgrade in oEMInformation to keep ↵ | Matthieu Patou | 1 | -2/+15 | |
a better trace of different updates Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-28 | s4: allow upgrade provision to fix acl and missing dir on GPO dirs | Matthieu Patou | 1 | -1/+18 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-25 | python: use '#!/usr/bin/env python' to cope with varying install locations | Andrew Tridgell | 1 | -1/+1 | |
this should be much more portable | |||||
2010-03-01 | More formatting fixes. | Jelmer Vernooij | 1 | -69/+74 | |
2010-03-01 | Fix formatting. | Jelmer Vernooij | 1 | -734/+734 | |
2010-03-01 | upgradeprovision: Remove unused imports, use shutil.rmtree rather than | Jelmer Vernooij | 1 | -11/+7 | |
rmall. | |||||
2010-03-01 | upgradeprovision: Move to pythondoc format | Matthieu Patou | 1 | -23/+172 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: Allow script to be called with pydoc | Matthieu Patou | 1 | -40/+42 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgrade provision: change the meaning of handle_security_desc to be similar ↵ | Matthieu Patou | 1 | -3/+3 | |
to handle_special_case Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: code cleanup | Matthieu Patou | 1 | -49/+57 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: split the big script to put reusable functions appart | Matthieu Patou | 1 | -231/+48 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-02-26 | s4:provision: use generate_random_password() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-01-21 | upgradeprovision: forbid running upgradeprovision when there is more than 1 DC | Matthieu Patou | 1 | -0/+20 | |
2010-01-21 | upgradeprovision: mark rIDAvailablePool never upgraded | Matthieu Patou | 1 | -16/+121 | |
handle properly the fact that missing object might depend on some other in order to be correctly created debug change also if we are in debugall mode | |||||
2010-01-21 | upgradeprovision: reformat + add groupType as possibly overwritten | Matthieu Patou | 1 | -9/+12 | |
2010-01-21 | upgradeprovision: improve info messages | Matthieu Patou | 1 | -7/+5 | |
2010-01-21 | Revert "s4:upgradeprovision - fix up the script regarding linked attributes" | Matthieu Patou | 1 | -46/+12 | |
This reverts commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826. | |||||
2010-01-21 | upgradeprovision: never use xattr it's pointless in this usecase | Matthieu Patou | 1 | -1/+1 | |
2010-01-10 | s4:upgradeprovision - fix up the script regarding linked attributes | Matthias Dieter Wallnöfer | 1 | -12/+46 | |
We have to try to add new objects until between two iterations we didn't make any progress. Either we are then done (no objects remaining) or we are incapable to do this fully automatically. The latter can happen if important system objects (builtin groups, users...) moved (e.g. consider one of my recent comments). Then the new object can't be added if it contains the same "sAMAccountName" attribute as the old one. We have to let the user delete the old one (also to give him a chance to backup personal changes - if needed) and only then the script is capable to add the new one onto the right place. Make this clear with an exhaustive error output. I personally don't see a good way how to do this better for now so I would leave this as a manual step. | |||||
2010-01-10 | s4:upgradeprovision - Reformat comments | Matthias Dieter Wallnöfer | 1 | -28/+44 | |
Make them break at line 80 (better readability). | |||||
2009-12-15 | s4: rename res/res2 to something more explicit | Matthieu Patou | 1 | -71/+68 | |
2009-12-15 | s4: upgradeprovision handle renaming and knownobjects | Matthieu Patou | 1 | -6/+18 | |
2009-12-15 | s4: upgradeprovision rename also when there is a mismatch on the case of ↵ | Matthieu Patou | 1 | -2/+7 | |
name attribute Renaming not only helps when name attribute is not here it also helps when the case is not the good one. So in order to avoid problem and have as much as possible similar provision we should use the rename whenever a name difference appear. |