summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/upgradeprovision
AgeCommit message (Collapse)AuthorFilesLines
2011-06-22s4-upgradeprovision: Don't forget to populate the non replicated objects, ↵Matthieu Patou1-2/+4
and don't touch rIDPreviousAllocationPool
2011-06-20s4-upgradeprovision: propose the use of findprovisionranges if no ranges are ↵Matthieu Patou1-0/+14
present Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jun 20 00:30:59 CEST 2011 on sn-devel-104
2011-06-19s4-upgradeprovision: skip versionNumber, it's used by GPOMatthieu Patou1-0/+1
2011-06-19s4-upgradeprovision: deltaattr can be empty or none tooMatthieu Patou1-8/+8
2011-06-19s4-upgradeprovision: Rework completly how SDs are recalculatedMatthieu Patou1-66/+99
2011-06-19s4-upgradeprovision: remove useless commentMatthieu Patou1-1/+0
2011-06-19s4-upgradeprovision: ignore objectSidMatthieu Patou1-2/+3
2011-06-19s4-upgradeprovision: add a list of attribute that are not DSDB attribute ↵Matthieu Patou1-0/+4
that we don't want to copy
2011-06-19s4-upgradeprovision: if there is nothing to really modify then skip itMatthieu Patou1-0/+3
2011-06-19s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove ↵Matthieu Patou1-0/+3
this attribute
2011-06-19s4-upgradeprovision: change hashAttrNotCopied to be an arrayMatthieu Patou1-26/+22
2011-06-19s4-upgradeprovision: fix inverted logic and wrong flags on sd_flags controlMatthieu Patou1-3/+4
2011-06-19s4-upgradeprovision: remove useless codeMatthieu Patou1-3/+0
2011-06-19s4-upgradeprovision: don't print dn in the list of modified attributesMatthieu Patou1-1/+2
2011-06-19s4-upgradeprovision: clean up, reformating and update docsMatthieu Patou1-9/+8
2011-06-19s4-upgradeprovision: introduce invocation id in lastprovisionUSNsMatthieu Patou1-12/+34
2011-06-19s4-upgradeprovision: add function to know if attribute is replicated or notMatthieu Patou1-0/+20
2011-06-19s4-upgradeprovision: split update_present in two functions depending on the ↵Matthieu Patou1-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.
2011-06-19s4-upgradeprovision: handle_special_attributes don't really need ranges of ↵Matthieu Patou1-5/+6
USNs, just the information if we are using replPropertyMetadata for attribute selection
2011-06-19s4-upgradeprovision: Fix an error, so that cursddl and refsddl are not the sameMatthieu Patou1-1/+1
Thanks to Dirk Paulli for pointing it with his bug report.
2011-05-21s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou1-2/+2
namespace as it can be used not only for upgradeprovision
2011-05-17s4-python: add an option for just fixing gpo foldersMatthieu Patou1-189/+196
2011-02-13s4/upgradeprovision: Fix help for --debugguess.Michael Wood1-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
2011-02-13s4/upgradeprovision: Typo and better word.Michael Wood1-2/+2
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-07s4-provision: added setup_path() import in two more placesAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett1-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
2011-01-08s4: upgradeprovision: Improve wording, punctuationMichael Wood1-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
2011-01-05upgradeprovision: Fix use of dict.get().Jelmer Vernooij1-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
2010-11-13s4:upgradeprovision - why not directly use "provision:0"?Matthias Dieter Wallnöfer1-4/+4
2010-11-12Fix typoMatthieu Patou1-1/+1
2010-11-12upgradeprovision: use relaxed control while adding missing object containerMatthieu Patou1-1/+3
2010-11-12upgradeprovision: fix pb with dns-hostname, regenerate a correct keytabMatthieu Patou1-1/+27
2010-11-12upgradeprovision: use the relax/(upgrade)provision when modifying objectMatthieu Patou1-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.
2010-11-12upgradeprovision: use the (upgrade)provision control alsoMatthieu Patou1-2/+2
2010-11-12upgradeprovision: update revision for forestupdate and domainupdate objectsMatthieu Patou1-1/+4
2010-11-07s4:upgradeprovision - remove some "recalculate_sd" usesMatthias Dieter Wallnöfer1-3/+3
We need "recalculate_sd" only when no external "nTSecurityDescriptor" change is performed. Otherwise the recalculation is performed automatically. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 18:52:42 UTC 2010 on sn-devel-104
2010-10-19s4-provision Remove serverdn parameter from Schema()Andrew Bartlett1-2/+1
We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
2010-10-03s4:dsdb python stuff - introduce also here the "show_recycled" controlMatthias Dieter Wallnöfer1-3/+6
But also here beside "show_deleted" to not loose compatibility with older provisions. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-26upgradeprovision: fix a typoMatthieu Patou1-1/+1
2010-09-26upgradeprovision: Fix a bug with renamed entriesMatthieu Patou1-2/+13
The SD was not refetched for renamed entries, resulting with a try to add an additional SD when there was already one.
2010-09-26upgradeprovision: fix a bug with not updated linksMatthieu Patou1-0/+1
2010-09-26s4 upgradeprovision: fix a bug with empty reference objectsMatthieu Patou1-1/+9
Thanks to lukas@eecs.qmul.ac.uk for poiting it to me
2010-09-26s4 upgradeprovision: Copy versionNumber if not present it helps to make gpo ↵Matthieu Patou1-3/+3
valid
2010-09-05upgradeprovision: avoid working with None objects ...Matthieu Patou1-9/+10
2010-09-05upgradeprovision: do not try to remove/change attribute before the RID Set ↵Matthieu Patou1-6/+28
object is present
2010-09-05upgradeprovision: cleanupMatthieu Patou1-2/+2
2010-09-05s4 upgradeprovision: add dns_update_list if missingMatthieu Patou1-0/+4
2010-08-19s4 upgradeprovision: exit with a non null return code so that it can be ↵Matthieu Patou1-0/+1
trapped in blackbox tests
2010-08-19s4 upgradeprovision: add more attrbutes the ignore listMatthieu Patou1-5/+9
Also format in a pretty way the int64 ranges
2010-08-19s4 upgradeprovision: Deal with bootstrap indexing attribute to avoid useless ↵Matthieu Patou1-13/+65
reindexing