summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* samba-tool: Catch exceptions at top-level and exit with correct return valueAmitay Isaacs2011-07-281-1/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Display usage for main commands and list them alphabeticallyAmitay Isaacs2011-07-281-31/+35
| | | | | | This makes the MainCommand class similar to SuperCommand class in netcmd. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Replace C version of samba-tool with python versionAmitay Isaacs2011-07-282-0/+70
| | | | | | | C version of samba-tool is now called samba-tool-c, which will be removed as soon as all the samba-tool commands are ported to python. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-upgradeprovision: Detect recent provision in a more reliable wayMatthieu Patou2011-07-261-1/+12
|
* scripting/bin: Some formatting fixes.Jelmer Vernooij2011-07-232-4/+4
|
* samba_backup: check that directory really existsMatthieu Patou2011-07-211-1/+11
|
* 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>
* rebuildexetendeddn: PEP8: Use spaces rather than tabs.Jelmer Vernooij2011-06-301-66/+61
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jun 30 12:07:32 CEST 2011 on sn-devel-104
* rpcclient: PEP8: Use spaces rather than tabs.Jelmer Vernooij2011-06-301-45/+45
|
* smbstatus: PEP8: Use spaces rather than tabs.Jelmer Vernooij2011-06-301-38/+38
|
* mischema: Remove unused import.Jelmer Vernooij2011-06-301-1/+0
|
* enablerecyclebin: Remove unused imports, fix formatting.Jelmer Vernooij2011-06-301-5/+3
|
* s4-samba_dnsupdate: set environment via the env parameterMatthieu Patou2011-06-221-1/+1
| | | | | I faced a situation where the os.environ("KRB5CCNAME") = ... didn't seems to be effective
* 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: create script to find provision ranges for old provision without this ↵Matthieu Patou2011-06-191-0/+174
| | | | information
* 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-dns: fixed samba_tool -> samba-toolAndrew Tridgell2011-06-071-1/+1
|
* s4-param Remove 'secrets database' parameterAndrew Bartlett2011-06-061-1/+1
| | | | This is now just secrets.ldb in the private dir, which remains.
* s4-param Remove 'sam database' parameterAndrew Bartlett2011-06-062-3/+3
| | | | | | This now just relies on the private dir parameter, which remains. Andrew Bartlett
* s4-script: install some of the samba scripts in bin/ during buildAndrew Tridgell2011-06-061-0/+5
|
* s4-testparm: testparm is now part of samba_toolAndrew Tridgell2011-06-062-220/+1
|
* s4-ipv6: don't add link local addresses to DNSAndrew Tridgell2011-06-061-1/+3
| | | | these make no sense as DNS addresses
* s4-ipv6: added IPv6 support to samba_dnsupdateAndrew Tridgell2011-06-061-7/+31
|
* Add a script for renaming a DCMatthieu Patou2011-05-211-0/+200
|
* 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-samba_dnsupate Fix syntax errorAndrew Bartlett2011-04-071-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
* samba_dnsupdate: Don't use subprocess.check_call, it isn't in python 2.4Andrew Bartlett2011-04-071-1/+8
| | | | RHEL5 and clones use python 2.5
* s4-test: fixed a problem with very verbose NDR debugAndrew Tridgell2011-04-061-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
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-222-6/+6
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>