summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s4-rodc: added RODC DNS update support to samba_dnsupdateAndrew Tridgell2010-09-191-3/+70
| | | | for DNS updates that have a netlogon equivalent, send via netlogon
* s4-dns: use a non-forwardable ticket in samba_dnsupdateAndrew Tridgell2010-09-161-2/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* upgradeprovision: avoid working with None objects ...Matthieu Patou2010-09-051-9/+10
|
* upgradeprovision: do not try to remove/change attribute before the RID Set ↵Matthieu Patou2010-09-051-6/+28
| | | | object is present
* upgradeprovision: cleanupMatthieu Patou2010-09-051-2/+2
|
* s4 upgradeprovision: add dns_update_list if missingMatthieu Patou2010-09-051-0/+4
|
* s4 upgradeprovision: exit with a non null return code so that it can be ↵Matthieu Patou2010-08-191-0/+1
| | | | trapped in blackbox tests
* s4 upgradeprovision: add more attrbutes the ignore listMatthieu Patou2010-08-191-5/+9
| | | | Also format in a pretty way the int64 ranges
* s4 upgradeprovision: Deal with bootstrap indexing attribute to avoid useless ↵Matthieu Patou2010-08-191-13/+65
| | | | reindexing
* s4 upgradeprovision: Add a function for schema reloadingMatthieu Patou2010-08-191-1/+31
| | | | | | Full schema reloading is needed when we modify exisiting elements that have attributes that comes from not from the default schema (ie. openchange schema, user schema ..)
* s4 upgradeprovision: Fixes for increment_keyversionMatthieu Patou2010-08-191-1/+2
| | | | fix
* s4 upgradeprovision: fix a typo and pass correct parameter to ↵Matthieu Patou2010-08-191-3/+4
| | | | increment_calculated_keyversion
* s4 upgradeprovision, fix a typo preventing the ridset to be correctly identifiedMatthieu Patou2010-08-101-1/+1
|
* s4: create a simple version of ktpassMatthieu Patou2010-07-171-0/+93
| | | | | | This script is intended to be a replacement for the ktutil of Windows. It's use is for exporting keytab that will be used for kerberized services.
* s4 upgradeprovision: Adapt the list of attribute modifiedMatthieu Patou2010-07-151-4/+25
| | | | | | | | | | | | | | * isMemberOfPartialAttributeSet is now allowed to be deleted (on schema objects) * attributeDisplayNames is now allowed to be added and modified (used on display specifiers) * spnMapping is now allowed to be altered on Directory Service objects * minPwdAge is now modified if the previous value was 0 We issue a clear information about the userControl attribute for administrator to invite the user to modify himself the value. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 upgradeprovision: Synchronize the calculated keyversionnumber with the ↵Matthieu Patou2010-07-151-1/+22
| | | | | | one previously stored Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 upgradeprovision: do not copy RID Set it's automaticaly created by the ↵Matthieu Patou2010-07-151-24/+34
| | | | | | RID manager Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 upgradeprovision: add function to backup the provision before updatingMatthieu Patou2010-07-151-152/+268
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 upgradeprovision: fix whitespacesMatthieu Patou2010-07-151-13/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 provision: move update_machine_account_password to helpersMatthieu Patou2010-07-151-48/+7
| | | | | | This is to allow reuse of this function and also unit tests Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4 upgradeprovision: For SID > 1000 do not copy them, let the system ↵Matthieu Patou2010-07-081-0/+6
| | | | | | | | | regenerated a new one This should avoid colliion with newly added objects that use the same SID as existing users in the upgraded provision. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4/spnupdate: Fixed spnupdate to use secrets credentials when accessing SamDB.Endi S. Dewata2010-06-281-3/+30
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-1/+1
| | | | | | | | Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:upgradeprovision - fix include order for "ldb"Matthias Dieter Wallnöfer2010-06-241-1/+1
| | | | Patch originally posted on the list by Matthieu Patou.
* s4 upgradeprovision: fix the logging stuff so that it actually logMatthieu Patou2010-06-211-0/+2
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* testparm: Check netbios name and workgroup characters and length.Jelmer Vernooij2010-06-201-14/+36
|
* selftest: Use scripted testparm.Jelmer Vernooij2010-06-201-2/+2
|
* testparm: Simplify default option handling.Jelmer Vernooij2010-06-201-19/+14
|
* testparm: Fix suppress prompt option.Jelmer Vernooij2010-06-201-7/+5
|
* testparm: Fix exit value, install.Jelmer Vernooij2010-06-201-13/+20
|
* s4-python: Implement LoadParm.dump().Jelmer Vernooij2010-06-201-1/+1
|
* testparm: Split up functions that do multiple things.Jelmer Vernooij2010-06-201-40/+33
|
* testparm: Convert to Python.Jelmer Vernooij2010-06-201-0/+204
|
* s4-python: Remove more unused imports, fix use of sets in upgradehelpers.Jelmer Vernooij2010-06-202-7/+3
|
* Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij2010-06-201-4/+5
|