summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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: samba_backup: Fix typos.Michael Wood2011-02-131-3/+3
| | | | 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
* subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2010-12-101-11/+11
| | | | | | | available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
* s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2010-12-101-4/+2
| | | | package.
* subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij2010-12-101-0/+2
|
* subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij2010-12-101-1/+6
| | | | different location.
* s4-python: Split up ensure_external_module.Jelmer Vernooij2010-12-101-2/+1
|
* subunitrun: Support --list.Jelmer Vernooij2010-12-101-3/+8
|
* s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett2010-12-081-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
* s4/scripting/ktpass: make shell code portable and eliminate another bash ↵Björn Jacke2010-12-021-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
* s4-dns: catch all DNS exceptions in samba_dnsupdateAndrew Tridgell2010-12-011-4/+8
|
* s4-spnupdate: only enable NDR print at log level above 5Andrew Tridgell2010-11-181-1/+4
|
* s4-dns: added support for --fail-immediately for RODC netlogon dns updatesAndrew Tridgell2010-11-181-0/+7
|
* s4-dns: catch more expections in samba_dnsupdateAndrew Tridgell2010-11-171-1/+5
|
* s4-dns: added --fail-immediately option to samba_dnsupdateAndrew Tridgell2010-11-151-1/+13
| | | | this is useful for manual testing
* s4-dns: fixed registration of multiple IPs in samba_dnsupdateAndrew Tridgell2010-11-151-1/+1
| | | | | | bitten by python object references again! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:upgradeprovision - why not directly use "provision:0"?Matthias Dieter Wallnöfer2010-11-131-4/+4
|
* ktpass: also use userPrincipalName for locating the principalMatthieu Patou2010-11-121-1/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 12 20:24:23 UTC 2010 on sn-devel-104
* ktpass: fix the search path for when running in samba's source dirMatthieu Patou2010-11-121-0/+3
|
* 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.
* upgradeprovision: use the (upgrade)provision control alsoMatthieu Patou2010-11-121-2/+2
|
* upgradeprovision: update revision for forestupdate and domainupdate objectsMatthieu Patou2010-11-121-1/+4
|
* Add a script to make backup of samba provisionMatthieu Patou2010-11-121-0/+65
|
* s4-join: modify join behaviour according to domain levelAndrew Tridgell2010-11-071-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104
* s4:upgradeprovision - remove some "recalculate_sd" usesMatthias Dieter Wallnöfer2010-11-071-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
* s4:scripting/bin/samba_spnupdate - also support adding all possible ↵Matthias Dieter Wallnöfer2010-10-311-2/+3
| | | | "servicePrincipalName"s
* s4-provision Remove serverdn parameter from Schema()Andrew Bartlett2010-10-191-2/+1
| | | | | | | We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
* s4:dsdb python stuff - introduce also here the "show_recycled" controlMatthias Dieter Wallnöfer2010-10-031-3/+6
| | | | | | | But also here beside "show_deleted" to not loose compatibility with older provisions. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-spn: don't try and send an empty SPN listAndrew Tridgell2010-09-301-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: send A record updates via TKEYAndrew Tridgell2010-09-301-1/+6
|
* s4-spnupdate: when we are a RODC we need to use the WriteSPN DRS callAndrew Tridgell2010-09-291-10/+57
| | | | | we can't do SPN updates via sam writes and replication, as the sam is read-only
* s4-kerberos: use TZ=GMT when we are invoking krb5 code in helpersAndrew Tridgell2010-09-292-0/+12
| | | | | | | | | | | Our helper scripts can fail on Fedora with the PDT timezone (Western USA). This is the same issue we found with Heimdal earlier today, the 24 second difference between GMT and UTC, but this time in MIT Kerberos as linked into bind9. By forcing TZ=GMT in these scripts we avoid the problem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: added --update-list option to samba_dnsupdateAndrew Tridgell2010-09-271-8/+14
| | | | this allows us to use it for RODC netlogon updates
* s4-dns: use the generated krb5.conf in samba_dnsupdateAndrew Tridgell2010-09-271-0/+5
| | | | | | | this gives one less thing that an admin can get wrong Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 02:35:29 UTC 2010 on sn-devel-104
* s4-spn: don't try to do SPN updates as a RODCAndrew Tridgell2010-09-261-0/+4
| | | | we don't have the permissions to do it
* upgradeprovision: fix a typoMatthieu Patou2010-09-261-1/+1
|
* upgradeprovision: Fix a bug with renamed entriesMatthieu Patou2010-09-261-2/+13
| | | | | The SD was not refetched for renamed entries, resulting with a try to add an additional SD when there was already one.
* upgradeprovision: fix a bug with not updated linksMatthieu Patou2010-09-261-0/+1
|
* s4 upgradeprovision: fix a bug with empty reference objectsMatthieu Patou2010-09-261-1/+9
| | | | Thanks to lukas@eecs.qmul.ac.uk for poiting it to me
* s4 upgradeprovision: Copy versionNumber if not present it helps to make gpo ↵Matthieu Patou2010-09-261-3/+3
| | | | valid
* s4-dns: fixed the dns_domain_info_type for netlogon DNS callsAndrew Tridgell2010-09-191-3/+14
| | | | w2k8r2 does check this field (WSPP docs need an update)
* s4-dns: added --all-names option to samba_dnsupdateAndrew Tridgell2010-09-191-1/+2
| | | | this forces the re-registration of all names