summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin/upgradeprovision
Commit message (Collapse)AuthorAgeFilesLines
* s4:scripting: rename upgradeprovision -> samba_upgradeprovisionStefan Metzmacher2012-09-121-1946/+0
| | | | metze
* LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer2012-03-261-11/+12
| | | | | | | Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* upgrade provision didn't run findprovisionrange anymoreMatthieu Patou2012-03-171-8/+13
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Mar 17 09:51:46 CET 2012 on sn-devel-104
* s4:upgradeprovision - fix some output messagesMatthias Dieter Wallnöfer2012-03-111-3/+3
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Mar 11 21:54:54 CET 2012 on sn-devel-104
* s4-upgradeprovision: Add options to do a DB backup only and not to fix acls ↵Matthieu Patou2012-03-071-17/+26
| | | | in sysvol
* samba.xattr: Massively simplify copytree_with_xattrs.Jelmer Vernooij2012-02-271-1/+1
|
* upgradeprovision: Only backup sysvol directory if it exists.Jelmer Vernooij2012-02-271-1/+2
| | | | | | | This is not the case for standalone installations. Bug: https://bugs.launchpad.net/samba/+bug/930370 Bug: https://bugzilla.samba.org/show_bug.cgi?id=8781
* samba.xattr: Split copying of tree with extended attributes out into ↵Jelmer Vernooij2012-02-271-66/+3
| | | | separate module.
* provision: Leave result reporting up to caller.Jelmer Vernooij2012-02-261-1/+2
|
* python: Change except: statement to except Exception:Amitay Isaacs2012-01-241-4/+4
| | | | | | | | This way we only catch true exceptions and keyboard interrupts are not caught here. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
* upgradeprovision: do not hold references to messageElementsMatthieu Patou2012-01-031-10/+17
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Jan 3 08:20:02 CET 2012 on sn-devel-104
* upgradeprovision: treat provision without oem attribute as quite recent, ↵Matthieu Patou2012-01-031-1/+1
| | | | it's provision that comes from Windows replication
* s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher2011-11-151-3/+4
| | | | metze
* s4-upgradeprovision: try to fix the detection of @provision recordMatthieu Patou2011-08-011-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Aug 1 13:43:50 CEST 2011 on sn-devel-104
* s4-upgradeprovision: Detect recent provision in a more reliable wayMatthieu Patou2011-07-261-1/+12
|
* ldb: use base searches for @ special DNsAndrew Tridgell2011-07-131-1/+1
| | | | | | subtree searches on these DNs don't work any more Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* upgradeprovision: reduce the number of attribute that we skipMatthieu Patou2011-07-111-2/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-upgradeprovision: Don't forget to populate the non replicated objects, ↵Matthieu Patou2011-06-221-2/+4
| | | | and don't touch rIDPreviousAllocationPool
* s4-upgradeprovision: propose the use of findprovisionranges if no ranges are ↵Matthieu Patou2011-06-201-0/+14
| | | | | | | present Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jun 20 00:30:59 CEST 2011 on sn-devel-104
* s4-upgradeprovision: skip versionNumber, it's used by GPOMatthieu Patou2011-06-191-0/+1
|
* s4-upgradeprovision: deltaattr can be empty or none tooMatthieu Patou2011-06-191-8/+8
|
* s4-upgradeprovision: Rework completly how SDs are recalculatedMatthieu Patou2011-06-191-66/+99
|
* s4-upgradeprovision: remove useless commentMatthieu Patou2011-06-191-1/+0
|
* s4-upgradeprovision: ignore objectSidMatthieu Patou2011-06-191-2/+3
|
* s4-upgradeprovision: add a list of attribute that are not DSDB attribute ↵Matthieu Patou2011-06-191-0/+4
| | | | that we don't want to copy
* s4-upgradeprovision: if there is nothing to really modify then skip itMatthieu Patou2011-06-191-0/+3
|
* s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove ↵Matthieu Patou2011-06-191-0/+3
| | | | this attribute
* s4-upgradeprovision: change hashAttrNotCopied to be an arrayMatthieu Patou2011-06-191-26/+22
|
* s4-upgradeprovision: fix inverted logic and wrong flags on sd_flags controlMatthieu Patou2011-06-191-3/+4
|
* s4-upgradeprovision: remove useless codeMatthieu Patou2011-06-191-3/+0
|
* s4-upgradeprovision: don't print dn in the list of modified attributesMatthieu Patou2011-06-191-1/+2
|
* s4-upgradeprovision: clean up, reformating and update docsMatthieu Patou2011-06-191-9/+8
|
* s4-upgradeprovision: introduce invocation id in lastprovisionUSNsMatthieu Patou2011-06-191-12/+34
|
* s4-upgradeprovision: add function to know if attribute is replicated or notMatthieu Patou2011-06-191-0/+20
|
* s4-upgradeprovision: split update_present in two functions depending on the ↵Matthieu Patou2011-06-191-130/+171
| | | | | | | | | | method used In order to make the function a bit more clearer and with less depth, the selection of attribute that are not updated is split in two functions depending on the fact that we are using mainly replPropertyMetadata to make our choice or if we are using the list of attributes that should, could or shouldn't be updated/created/deleted.
* s4-upgradeprovision: handle_special_attributes don't really need ranges of ↵Matthieu Patou2011-06-191-5/+6
| | | | USNs, just the information if we are using replPropertyMetadata for attribute selection
* s4-upgradeprovision: Fix an error, so that cursddl and refsddl are not the sameMatthieu Patou2011-06-191-1/+1
| | | | Thanks to Dirk Paulli for pointing it with his bug report.
* s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou2011-05-211-2/+2
| | | | namespace as it can be used not only for upgradeprovision
* s4-python: add an option for just fixing gpo foldersMatthieu Patou2011-05-171-189/+196
|
* s4/upgradeprovision: Fix help for --debugguess.Michael Wood2011-02-131-1/+1
| | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 16:38:13 CET 2011 on sn-devel-104
* s4/upgradeprovision: Typo and better word.Michael Wood2011-02-131-2/+2
| | | | Signed-off-by: Matthieu Patou <mat@matws.net>
* s4-provision: added setup_path() import in two more placesAndrew Tridgell2011-02-071-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett2011-02-071-10/+3
| | | | | | | | | | | | | | We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
* s4: upgradeprovision: Improve wording, punctuationMichael Wood2011-01-081-57/+60
| | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Jan 8 00:25:08 CET 2011 on sn-devel-104
* upgradeprovision: Fix use of dict.get().Jelmer Vernooij2011-01-051-11/+5
| | | | | | | Avoid modifying list while iterating over it. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Jan 5 03:37:35 CET 2011 on sn-devel-104
* s4:upgradeprovision - why not directly use "provision:0"?Matthias Dieter Wallnöfer2010-11-131-4/+4
|
* Fix typoMatthieu Patou2010-11-121-1/+1
|
* 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-121-1/+27
|
* 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.