summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin
Commit message (Collapse)AuthorAgeFilesLines
* s4-dsdb: added samba_spnupdateAndrew Tridgell2010-04-271-0/+137
| | | | | this script adds all our required servicePrincipalName entries at runtime. The admin can add more entries to spn_update_list as needed
* s4-dns: cope better with comments in dns_update_listAndrew Tridgell2010-04-271-7/+4
|
* s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3Andrew Tridgell2010-04-211-1/+1
|
* s4-dns: use neater python for reading linesAndrew Tridgell2010-04-191-7/+2
| | | | files are line iterators
* s4-python: More cleanups.Jelmer Vernooij2010-04-082-7/+3
|
* s4-python: Simplify code, improve formatting.Jelmer Vernooij2010-04-081-17/+25
|
* s4-python: Move samdb_ntds_objectGUID to pydsdb.Jelmer Vernooij2010-04-072-5/+4
|
* s4-python: Install external packages to a different directory but import intoJelmer Vernooij2010-04-011-1/+1
| | | | the normal namespace when the system doesn't have it available.
* subunitrun: Find testtools and subunit when they're not provided by theJelmer Vernooij2010-04-011-3/+5
| | | | system.
* s4-python: Simplify mechanism for finding included Python modules.Jelmer Vernooij2010-03-291-2/+2
|
* s4-python: Move dnspython to lib/, like the other Python modulesJelmer Vernooij2010-03-291-5/+3
| | | | | This also avoids it from being installed if it's already present on the system.
* upgradeprovision: Fix formatting, syntax error.Jelmer Vernooij2010-03-281-17/+20
|
* s4 upgradeprovision: add information about upgrade in oEMInformation to keep ↵Matthieu Patou2010-03-281-2/+15
| | | | | | a better trace of different updates Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4: allow upgrade provision to fix acl and missing dir on GPO dirsMatthieu Patou2010-03-281-1/+18
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-2514-14/+14
| | | | this should be much more portable
* s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdateAndrew Bartlett2010-03-111-21/+55
| | | | | | | | | For the testsuite to use DNS like names, we need to write these names to a file. Also, to have this run in 'make test' the usual rules about 'no 127.*' IP addresses in DNS must be skipped, so glue.interface_ips takes two arguments now
* s4-dns: use samba.external to pull in the dns.resolver libraryAndrew Tridgell2010-03-051-3/+5
|
* dns: make dns update script use unbuffered IOAndrew Tridgell2010-03-031-0/+4
| | | | Otherwise we can lose debug output when a timeout happens
* More formatting fixes.Jelmer Vernooij2010-03-011-69/+74
|
* Fix formatting.Jelmer Vernooij2010-03-011-734/+734
|
* upgradeprovision: Remove unused imports, use shutil.rmtree rather thanJelmer Vernooij2010-03-011-11/+7
| | | | rmall.
* upgradeprovision: Move to pythondoc formatMatthieu Patou2010-03-011-23/+172
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* upgradeprovision: Allow script to be called with pydocMatthieu Patou2010-03-011-40/+42
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* upgrade provision: change the meaning of handle_security_desc to be similar ↵Matthieu Patou2010-03-011-3/+3
| | | | | | to handle_special_case Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* upgradeprovision: code cleanupMatthieu Patou2010-03-011-49/+57
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* upgradeprovision: split the big script to put reusable functions appartMatthieu Patou2010-03-011-231/+48
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4:provision: use generate_random_password()Stefan Metzmacher2010-02-261-1/+1
| | | | metze
* s4-dns: fixed CNAME automatic DNS updatesAndrew Tridgell2010-02-261-1/+1
|
* dns: auto-delete incorrect SRV entries for our hostnameAndrew Tridgell2010-02-261-8/+15
|
* s4-dns: add automatic dynamic DNS updating scriptAndrew Tridgell2010-02-261-1/+223
| | | | | | | | | | | This script checks a list of DNS names that we should have, and does dynamic DNS updates using our machine account credentials to add any missing DNS entries. This allows us to correctly add all the DNS entries we need when we join an existing domain as a DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* dns: dummy samba_dnsupdate scriptAndrew Tridgell2010-02-261-0/+38
| | | | | The merge from metze of my dns tree means we now depend on this. This is a placeholder until Andrew and I have finished the full script.
* s4:credentials Add hooks to extract a named Kerberos credentials cacheAndrew Bartlett2010-02-201-0/+30
| | | | | | | | | | | | This allows the integration of external tools that can't be linked into C or python, but need to authenticate as the local machine account. The machineaccountccache script demonstrates this, and debugging has been improved in cli_credentials_set_secrets() by passing back and error string. Andrew Bartlett
* s4-script: make enablerecyclebin use system_sessionAndrew Tridgell2010-02-121-1/+2
| | | | This allows it to work against our local ldb
* upgradeprovision: forbid running upgradeprovision when there is more than 1 DCMatthieu Patou2010-01-211-0/+20
|
* upgradeprovision: mark rIDAvailablePool never upgradedMatthieu Patou2010-01-211-16/+121
| | | | | handle properly the fact that missing object might depend on some other in order to be correctly created debug change also if we are in debugall mode
* upgradeprovision: reformat + add groupType as possibly overwrittenMatthieu Patou2010-01-211-9/+12
|
* upgradeprovision: improve info messagesMatthieu Patou2010-01-211-7/+5
|
* Revert "s4:upgradeprovision - fix up the script regarding linked attributes"Matthieu Patou2010-01-211-46/+12
| | | | This reverts commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826.
* upgradeprovision: never use xattr it's pointless in this usecaseMatthieu Patou2010-01-211-1/+1
|
* Import testtools as well, required for subunit.Jelmer Vernooij2010-01-161-2/+1
|
* s4:upgradeprovision - fix up the script regarding linked attributesMatthias Dieter Wallnöfer2010-01-101-12/+46
| | | | | | | | | | | | | | | | We have to try to add new objects until between two iterations we didn't make any progress. Either we are then done (no objects remaining) or we are incapable to do this fully automatically. The latter can happen if important system objects (builtin groups, users...) moved (e.g. consider one of my recent comments). Then the new object can't be added if it contains the same "sAMAccountName" attribute as the old one. We have to let the user delete the old one (also to give him a chance to backup personal changes - if needed) and only then the script is capable to add the new one onto the right place. Make this clear with an exhaustive error output. I personally don't see a good way how to do this better for now so I would leave this as a manual step.
* s4:upgradeprovision - Reformat commentsMatthias Dieter Wallnöfer2010-01-101-28/+44
| | | | Make them break at line 80 (better readability).
* s4-scripting: we need to use a base search for the NTDS GUIDAndrew Tridgell2010-01-081-1/+1
| | | | now we have nTDSConnections structures we can get more than 1 reply
* s4-scripts: add a enablerecyclebin scriptAndrew Tridgell2009-12-181-0/+54
| | | | | | This can be used to enable the recyclebin on a windows box. Once we properly implement this feature in samba we will use this to enable the feature on ourselves as well.
* s4: rename res/res2 to something more explicitMatthieu Patou2009-12-151-71/+68
|
* s4: upgradeprovision handle renaming and knownobjectsMatthieu Patou2009-12-151-6/+18
|
* s4: upgradeprovision rename also when there is a mismatch on the case of ↵Matthieu Patou2009-12-151-2/+7
| | | | | | | | | name attribute Renaming not only helps when name attribute is not here it also helps when the case is not the good one. So in order to avoid problem and have as much as possible similar provision we should use the rename whenever a name difference appear.
* s4: reorder action to permit old provision to be correctly upgradedMatthieu Patou2009-12-151-5/+8
|
* s4: Remove targetdir as it can cause some trouble and can be replaced by an ↵Matthieu Patou2009-12-011-3/+1
| | | | | | adapted -s smb.conf Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4: Handle the case in secrets.ldb without name attributeMatthieu Patou2009-12-011-5/+25
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>