summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
AgeCommit message (Collapse)AuthorFilesLines
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-06-07s4-dns: fixed samba_tool -> samba-toolAndrew Tridgell1-1/+1
2011-06-06s4-param Remove 'secrets database' parameterAndrew Bartlett1-1/+1
This is now just secrets.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'sam database' parameterAndrew Bartlett2-3/+3
This now just relies on the private dir parameter, which remains. Andrew Bartlett
2011-06-06s4-script: install some of the samba scripts in bin/ during buildAndrew Tridgell1-0/+5
2011-06-06s4-testparm: testparm is now part of samba_toolAndrew Tridgell2-220/+1
2011-06-06s4-ipv6: don't add link local addresses to DNSAndrew Tridgell1-1/+3
these make no sense as DNS addresses
2011-06-06s4-ipv6: added IPv6 support to samba_dnsupdateAndrew Tridgell1-7/+31
2011-05-21Add a script for renaming a DCMatthieu Patou1-0/+200
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-04-07s4-samba_dnsupate Fix syntax errorAndrew Bartlett1-2/+1
This particular sub-part of the script isn't tested in 'make test' due to it making real changes to DNS. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 7 08:51:11 CEST 2011 on sn-devel-104
2011-04-07samba_dnsupdate: Don't use subprocess.check_call, it isn't in python 2.4Andrew Bartlett1-1/+8
RHEL5 and clones use python 2.5
2011-04-06s4-test: fixed a problem with very verbose NDR debugAndrew Tridgell1-1/+1
lp.get("log level") returns a string, not an integer. It needs to be cast to an integer for comparison with a number Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 08:58:05 CEST 2011 on sn-devel-104
2011-02-22python: use os.environ[] instead of os.putenv()Andrew Tridgell2-6/+6
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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-13s4: samba_backup: Fix typos.Michael Wood1-3/+3
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-12-10subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij1-11/+11
available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
2010-12-10s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij1-4/+2
package.
2010-12-10subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij1-0/+2
2010-12-10subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij1-1/+6
different location.
2010-12-10s4-python: Split up ensure_external_module.Jelmer Vernooij1-2/+1
2010-12-10subunitrun: Support --list.Jelmer Vernooij1-3/+8
2010-12-08s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett1-2/+3
The idea here is to allow an smb.conf file to work from the defaults, rather than override them. For example, 'server services = +openchange'. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 09:39:06 CET 2010 on sn-devel-104
2010-12-02s4/scripting/ktpass: make shell code portable and eliminate another bash ↵Björn Jacke1-4/+4
requirement Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Dec 2 11:20:42 CET 2010 on sn-devel-104
2010-12-01s4-dns: catch all DNS exceptions in samba_dnsupdateAndrew Tridgell1-4/+8
2010-11-18s4-spnupdate: only enable NDR print at log level above 5Andrew Tridgell1-1/+4
2010-11-18s4-dns: added support for --fail-immediately for RODC netlogon dns updatesAndrew Tridgell1-0/+7
2010-11-17s4-dns: catch more expections in samba_dnsupdateAndrew Tridgell1-1/+5
2010-11-15s4-dns: added --fail-immediately option to samba_dnsupdateAndrew Tridgell1-1/+13
this is useful for manual testing
2010-11-15s4-dns: fixed registration of multiple IPs in samba_dnsupdateAndrew Tridgell1-1/+1
bitten by python object references again! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-13s4:upgradeprovision - why not directly use "provision:0"?Matthias Dieter Wallnöfer1-4/+4
2010-11-12ktpass: also use userPrincipalName for locating the principalMatthieu Patou1-1/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 12 20:24:23 UTC 2010 on sn-devel-104
2010-11-12ktpass: fix the search path for when running in samba's source dirMatthieu Patou1-0/+3
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-12Add a script to make backup of samba provisionMatthieu Patou1-0/+65
2010-11-07s4-join: modify join behaviour according to domain levelAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
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