summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05s4-dbcheck: support the 'none' option for promptsAndrew Tridgell1-2/+10
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jul 5 08:22:40 CEST 2011 on sn-devel-104
2011-07-05s4-pycommon: support 'none' as an option in confirmAndrew Tridgell1-7/+20
this allows the user to ask for none of the changes of this type Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-05dbcheck: only use a paged search when checking a ldap databaseAndrew Tridgell1-1/+1
paged searches don't work against a local database (they return only the first N objects)
2011-07-05dbcheck: check for unknown attributes and offer to remove themAndrew Tridgell1-3/+46
this asks the user if they want to remove an unknown attribute. You can also choose 'all' which will auto-confirm all questions about removing unknown attributes.
2011-07-05s4-pycommon: allow an optional 'all' choice for confirm dialogsAndrew Tridgell1-3/+9
when asking the user to confirm an action, allow for an 'all' choice, which will be used to allow the user to confirm all future requests of the same type
2011-06-30rebuildexetendeddn: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-66/+61
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jun 30 12:07:32 CEST 2011 on sn-devel-104
2011-06-30rpcclient: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-45/+45
2011-06-30smbstatus: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-38/+38
2011-06-30mischema: Remove unused import.Jelmer Vernooij1-1/+0
2011-06-30enablerecyclebin: Remove unused imports, fix formatting.Jelmer Vernooij1-5/+3
2011-06-24s4:samba-tool: add "delegation" subcommands for S4U2Proxy and related stuffStefan Metzmacher2-0/+269
For now this only works on the local sam.ldb, but it shouldn't be hard to improve it to talk to remove servers. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
2011-06-24s4:python/samba/samdb: add toggle_userAccountFlags() helper functionStefan Metzmacher1-10/+35
And let enable_account() use it. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
2011-06-24param: Remove remaining references to announce as and announce versionAndrew Bartlett1-2/+0
2011-06-22s4-dbcheck: fix uninitialized errstr in err_dn_target_mismatchMatthieu Patou1-2/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jun 22 21:22:27 CEST 2011 on sn-devel-104
2011-06-22s4-dbcheck: remove unused includeMatthieu Patou1-1/+1
2011-06-22s4-samba_dnsupdate: set environment via the env parameterMatthieu Patou1-1/+1
I faced a situation where the os.environ("KRB5CCNAME") = ... didn't seems to be effective
2011-06-22s4-upgradeprovision: Don't forget to populate the non replicated objects, ↵Matthieu Patou1-2/+4
and don't touch rIDPreviousAllocationPool
2011-06-22dbchecker: cope with a broken link to Deleted ObjectsAndrew Tridgell1-2/+9
if a DN link to Deleted Objects has a bad GUID, we need to use show_deleted
2011-06-22dbchecker: fixed argument error for -H and DNAndrew Tridgell1-1/+1
2011-06-22dbchecker: when fixing a bad GUID in a DN, search by the string DNAndrew Tridgell1-1/+1
2011-06-22samba-tool: added --attrs option to dbcheckAndrew Tridgell2-8/+15
this allows checking of a specific list of attributes
2011-06-22samba-tool: make the dbcheck class available outside of samba-toolAndrew Tridgell2-285/+324
this will be used in provision, and probably in upgradeprovision as well
2011-06-22samba-tool: added --quiet option to dbcheckAndrew Tridgell1-35/+43
this will be used to allow for other tools (such as provision) to call into dbcheck without generating a lot of noise
2011-06-22samba-tool: allow for running dbcheck against a remove ldap serverAndrew Tridgell1-5/+14
this is useful for running it against a Windows server
2011-06-22samba-tool: expanded dbcheck DN checkingAndrew Tridgell1-21/+104
this now checks for bad GUID elements in DN links, and offers to fix them when possible Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-22samba-tool: added missing GUID component checks to dbcheckAndrew Tridgell1-4/+93
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 22 07:59:30 CEST 2011 on sn-devel-104
2011-06-22pydsdb: added get_syntax_oid_from_lDAPDisplayName()Andrew Tridgell1-0/+5
this gives you access to the syntax oid of an attribute Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-22samba-tool: try to keep dbcheck.py in a logical orderingAndrew Tridgell1-29/+38
keep individual error handlers together and separate from driver code
2011-06-20tdb2: create tdb2 versions of various testing TDBs.Rusty Russell1-2/+5
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20s4-upgradeprovision: propose the use of findprovisionranges if no ranges are ↵Matthieu Patou1-0/+14
present Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jun 20 00:30:59 CEST 2011 on sn-devel-104
2011-06-19s4: create script to find provision ranges for old provision without this ↵Matthieu Patou1-0/+174
information
2011-06-19s4-sambatool: extract the confirm function in a separte module for reuseMatthieu Patou2-10/+36
2011-06-19s4-samba-tool: remove unused importsMatthieu Patou1-2/+1
2011-06-19s4-samba-tool: use correct object notation ie. obj.method rather than ↵Matthieu Patou1-37/+31
method(obj, ...)
2011-06-19s4-sambatool: use correct way to call class methodsMatthieu Patou1-53/+54
2011-06-19s4-upgradeprovision: improve message outputMatthieu Patou1-1/+1
2011-06-19s4-upgradeprovision: skip versionNumber, it's used by GPOMatthieu Patou1-0/+1
2011-06-19s4-provision: Remove hard coded SD for CN=Sites containerMatthieu Patou1-15/+0
With the fix introduced by Nadya in changeset 622ef6aed82a2f2f7748c2a88535486af77487de we are now able to generate correct SD (at least the same as W2k3R2 with a Forest Level of 2003), so there is no need for this fix anymore as it makes SDs for Forest Level 2003 and lower incorrect.
2011-06-19s4-upgradeprovision: deltaattr can be empty or none tooMatthieu Patou1-8/+8
2011-06-19s4-upgradeprovision: handle the fact that oEMInformation might not be presentMatthieu Patou1-2/+5
2011-06-19s4-upgradeprovision: Rework completly how SDs are recalculatedMatthieu Patou1-66/+99
2011-06-19s4-python: make checks of sacl in get_diff_sddls optionnalMatthieu Patou1-2/+6
2011-06-19s4-upgradeprovision: remove useless commentMatthieu Patou1-1/+0
2011-06-19s4-upgradeprovision: ignore objectSidMatthieu Patou1-2/+3
2011-06-19s4-upgradeprovision: add a list of attribute that are not DSDB attribute ↵Matthieu Patou1-0/+4
that we don't want to copy
2011-06-19s4-upgradeprovision: if there is nothing to really modify then skip itMatthieu Patou1-0/+3
2011-06-19s4-upgradeprovision: dn must be skipped as delta.remove("dn") do not remove ↵Matthieu Patou1-0/+3
this attribute
2011-06-19s4-upgradeprovision: change hashAttrNotCopied to be an arrayMatthieu Patou1-26/+22
2011-06-19s4-upgradeprovision: fix inverted logic and wrong flags on sd_flags controlMatthieu Patou1-3/+4
2011-06-19s4-upgradeprovision: remove useless codeMatthieu Patou1-3/+0