summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* s4 provision: Add some of the AD-specific DNS records to the directoryKai Blin2011-07-072-8/+235
| | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Jul 7 02:29:53 CEST 2011 on sn-devel-104
* s4 provision: split up DNS provisioning into generic and samba-specific ldifsKai Blin2011-07-071-2/+10
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dbcheck: support the 'none' option for promptsAndrew Tridgell2011-07-051-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
* s4-pycommon: support 'none' as an option in confirmAndrew Tridgell2011-07-051-7/+20
| | | | | | this allows the user to ask for none of the changes of this type Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* dbcheck: only use a paged search when checking a ldap databaseAndrew Tridgell2011-07-051-1/+1
| | | | | paged searches don't work against a local database (they return only the first N objects)
* dbcheck: check for unknown attributes and offer to remove themAndrew Tridgell2011-07-051-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.
* s4-pycommon: allow an optional 'all' choice for confirm dialogsAndrew Tridgell2011-07-051-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
* s4:samba-tool: add "delegation" subcommands for S4U2Proxy and related stuffStefan Metzmacher2011-06-242-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
* s4:python/samba/samdb: add toggle_userAccountFlags() helper functionStefan Metzmacher2011-06-241-10/+35
| | | | | | | | And let enable_account() use it. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
* param: Remove remaining references to announce as and announce versionAndrew Bartlett2011-06-241-2/+0
|
* s4-dbcheck: fix uninitialized errstr in err_dn_target_mismatchMatthieu Patou2011-06-221-2/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jun 22 21:22:27 CEST 2011 on sn-devel-104
* s4-dbcheck: remove unused includeMatthieu Patou2011-06-221-1/+1
|
* dbchecker: cope with a broken link to Deleted ObjectsAndrew Tridgell2011-06-221-2/+9
| | | | | if a DN link to Deleted Objects has a bad GUID, we need to use show_deleted
* dbchecker: fixed argument error for -H and DNAndrew Tridgell2011-06-221-1/+1
|
* dbchecker: when fixing a bad GUID in a DN, search by the string DNAndrew Tridgell2011-06-221-1/+1
|
* samba-tool: added --attrs option to dbcheckAndrew Tridgell2011-06-222-8/+15
| | | | this allows checking of a specific list of attributes
* samba-tool: make the dbcheck class available outside of samba-toolAndrew Tridgell2011-06-222-285/+324
| | | | | this will be used in provision, and probably in upgradeprovision as well
* samba-tool: added --quiet option to dbcheckAndrew Tridgell2011-06-221-35/+43
| | | | | this will be used to allow for other tools (such as provision) to call into dbcheck without generating a lot of noise
* samba-tool: allow for running dbcheck against a remove ldap serverAndrew Tridgell2011-06-221-5/+14
| | | | this is useful for running it against a Windows server
* samba-tool: expanded dbcheck DN checkingAndrew Tridgell2011-06-221-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>
* samba-tool: added missing GUID component checks to dbcheckAndrew Tridgell2011-06-221-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
* pydsdb: added get_syntax_oid_from_lDAPDisplayName()Andrew Tridgell2011-06-221-0/+5
| | | | | | this gives you access to the syntax oid of an attribute Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: try to keep dbcheck.py in a logical orderingAndrew Tridgell2011-06-221-29/+38
| | | | keep individual error handlers together and separate from driver code
* tdb2: create tdb2 versions of various testing TDBs.Rusty Russell2011-06-201-2/+5
| | | | | | | Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s4-sambatool: extract the confirm function in a separte module for reuseMatthieu Patou2011-06-192-10/+36
|
* s4-samba-tool: remove unused importsMatthieu Patou2011-06-191-2/+1
|
* s4-samba-tool: use correct object notation ie. obj.method rather than ↵Matthieu Patou2011-06-191-37/+31
| | | | method(obj, ...)
* s4-sambatool: use correct way to call class methodsMatthieu Patou2011-06-191-53/+54
|
* s4-upgradeprovision: improve message outputMatthieu Patou2011-06-191-1/+1
|
* s4-provision: Remove hard coded SD for CN=Sites containerMatthieu Patou2011-06-191-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.
* s4-upgradeprovision: handle the fact that oEMInformation might not be presentMatthieu Patou2011-06-191-2/+5
|
* s4-python: make checks of sacl in get_diff_sddls optionnalMatthieu Patou2011-06-191-2/+6
|
* s4-upgradeprovision: introduce invocation id in lastprovisionUSNsMatthieu Patou2011-06-191-17/+39
|
* s4-python: fix wrong discovery of the site name in find_key_provision_parametersMatthieu Patou2011-06-191-1/+1
|
* s4-upgradeprovisision: fix bug 8063, old SD can miss some componenent ↵Matthieu Patou2011-06-191-16/+20
| | | | | | | | | (group, owner, ...) Don't make the assumption that SD are correct, they can be wrong and misformed. Fix this bug: https://bugzilla.samba.org/show_bug.cgi?id=8063
* samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell2011-06-171-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: show success message on group operationsAndrew Tridgell2011-06-171-0/+4
|
* s4-pysamdb: fixed the normalisation of grouptype in group addAndrew Tridgell2011-06-171-1/+7
| | | | | | | ldap integers are signed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 05:43:18 CEST 2011 on sn-devel-104
* samba-tool: report total error count and suggest --fix if neededAndrew Tridgell2011-06-171-3/+10
|
* samba-tool: added attribute normalisation checksAndrew Tridgell2011-06-171-3/+53
| | | | | this checks that all attributes have the right normalisation, and offers to fix the ones that don't
* s4-pydsdb: added dsdb_normalise_attributes() callAndrew Tridgell2011-06-171-0/+5
| | | | | | this call converts a set of attributes to DRSUAPI format and back to ldb format. This has the effect of normalising the attributes using the schema syntax rules
* samba-tool: disable validation on removing an empty attribute in dbcheckAndrew Tridgell2011-06-141-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 14 10:49:34 CEST 2011 on sn-devel-104
* s4-samba-tool: added dbcheck commmandAndrew Tridgell2011-06-102-0/+125
| | | | | | | | | this will be used as a consistency checker and repair tool for sam.ldb. This initial checkin just checks for empty attributes and offers to fix them Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 10:31:56 CEST 2011 on sn-devel-104
* samba-tool: added --local option to drs replicate commandAndrew Tridgell2011-06-091-1/+39
| | | | | | | | | | this allows replication directly to the local SAM, which means it can run without the samba daemon running. It also bypasses all usnChanged checks, which is useful for forcing replication of a set of objects which are not marked as replication being needed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jun 9 08:15:10 CEST 2011 on sn-devel-104
* s4-ipv6: don't default to 127.0.0.1 in provisionAndrew Tridgell2011-06-091-5/+8
| | | | | | it is better to just leave the IPv4 address out of the zone file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: fixed detection of V4/V6 addressesAndrew Tridgell2011-06-071-2/+29
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 06:07:24 CEST 2011 on sn-devel-104
* s4-param Remove 'modules dir'Andrew Bartlett2011-06-061-2/+3
| | | | | | | | The Samba waf build ensures that dyn_MODULESDIR is always correct (even for in-tree binaries), so we don't need to allow the user to configure this at run time. Andrew Bartlett
* s4-param Remove 'sid generator'Andrew Bartlett2011-06-062-7/+5
| | | | | | | This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
* s4-param Remove 'idmap database'Andrew Bartlett2011-06-062-3/+2
| | | | This is now just idmap.ldb in the private dir, which remains.
* s4-param Remove 'secrets database' parameterAndrew Bartlett2011-06-061-2/+1
| | | | This is now just secrets.ldb in the private dir, which remains.