Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2009-12-15 | s4: reorder action to permit old provision to be correctly upgraded | Matthieu Patou | 1 | -5/+8 | |
2009-12-01 | s4: Remove targetdir as it can cause some trouble and can be replaced by an ↵ | Matthieu Patou | 1 | -3/+1 | |
adapted -s smb.conf Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-01 | s4: Handle the case in secrets.ldb without name attribute | Matthieu Patou | 1 | -5/+25 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-01 | s4: don't forget to update defaultSecurityDescriptor | Matthieu Patou | 1 | -2/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-01 | s4: load the domain level of the current provision and create a provision ↵ | Matthieu Patou | 1 | -2/+8 | |
with the same domain level Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-28 | s4: fix SD update and password change in upgrade script | Matthieu Patou | 1 | -82/+90 | |
- reserve a new Samba OID for recalculate SD control - fix the update SD function - fix handling of kvno in the update_machine_account_password function - fix handling of handles in RPC winreg server Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-27 | s4:upgradeprovision Rework update_machine_account_password() tranactions | Andrew Bartlett | 1 | -4/+6 | |
This balances the transaction_begin() and transactin_prepare_commit() calls Andrew Bartlett | |||||
2009-11-27 | s4:upgradeprovision Use mkdtemp to create unique tempoary directory names | Andrew Bartlett | 1 | -2/+3 | |
2009-11-27 | s4:upgradeprovision Rework script, and reset machine account pw | Andrew Bartlett | 1 | -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-27 | s4: Improve updateprovision | Matthieu Patou | 1 | -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-27 | s4: Rename the script | Matthieu Patou | 1 | -0/+694 | |