summaryrefslogtreecommitdiff
path: root/source4/scripting/python
AgeCommit message (Collapse)AuthorFilesLines
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-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-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: handle the fact that oEMInformation might not be presentMatthieu Patou1-2/+5
2011-06-19s4-python: make checks of sacl in get_diff_sddls optionnalMatthieu Patou1-2/+6
2011-06-19s4-upgradeprovision: introduce invocation id in lastprovisionUSNsMatthieu Patou1-17/+39
2011-06-19s4-python: fix wrong discovery of the site name in find_key_provision_parametersMatthieu Patou1-1/+1
2011-06-19s4-upgradeprovisision: fix bug 8063, old SD can miss some componenent ↵Matthieu Patou1-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
2011-06-17samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell1-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-17samba-tool: show success message on group operationsAndrew Tridgell1-0/+4
2011-06-17s4-pysamdb: fixed the normalisation of grouptype in group addAndrew Tridgell1-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
2011-06-17samba-tool: report total error count and suggest --fix if neededAndrew Tridgell1-3/+10
2011-06-17samba-tool: added attribute normalisation checksAndrew Tridgell1-3/+53
this checks that all attributes have the right normalisation, and offers to fix the ones that don't
2011-06-17s4-pydsdb: added dsdb_normalise_attributes() callAndrew Tridgell1-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
2011-06-14samba-tool: disable validation on removing an empty attribute in dbcheckAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 14 10:49:34 CEST 2011 on sn-devel-104
2011-06-10s4-samba-tool: added dbcheck commmandAndrew Tridgell2-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
2011-06-09samba-tool: added --local option to drs replicate commandAndrew Tridgell1-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
2011-06-09s4-ipv6: don't default to 127.0.0.1 in provisionAndrew Tridgell1-5/+8
it is better to just leave the IPv4 address out of the zone file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-07s4-provision: fixed detection of V4/V6 addressesAndrew Tridgell1-2/+29
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 06:07:24 CEST 2011 on sn-devel-104
2011-06-06s4-param Remove 'modules dir'Andrew Bartlett1-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
2011-06-06s4-param Remove 'sid generator'Andrew Bartlett2-7/+5
This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
2011-06-06s4-param Remove 'idmap database'Andrew Bartlett2-3/+2
This is now just idmap.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'secrets database' parameterAndrew Bartlett1-2/+1
This is now just secrets.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'sam database' parameterAndrew Bartlett3-5/+4
This now just relies on the private dir parameter, which remains. Andrew Bartlett
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-06-06s4-gpo: fixed display of GPO version numbersAndrew Tridgell1-1/+1
2011-06-02samba3sam.py: don't assume order of ldb results.Rusty Russell1-142/+164
Switching to tdb2 breaks this test horribly, because it relied on the order of TDB1 traversal. Fix it to sort te results (by db), then check them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-01samba-tool: improved error handling in user setexpiryAndrew Tridgell2-1/+9
2011-06-01samba-tool: improved user enable error handlingAndrew Tridgell2-1/+8
2011-06-01s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>Theresa Halloran3-70/+37
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01s4/samba-tool: Move samba-tool enableaccount to samba-tool user enable command.Theresa Halloran3-62/+43
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-25s4-provision Use correct tkey-gssapi-credentialAndrew Bartlett1-1/+3
We changed to ${DNSNAME} (the fully qualified domain name) a while back, and while it's usually functionally idential to the previous setting, this breaks down if there is more than one DNS server. Andrew Bartlett
2011-05-21s4-python: Remove not used importsMatthieu Patou2-7/+4
2011-05-21s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou3-110/+108
namespace as it can be used not only for upgradeprovision
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett4-0/+169
2011-05-18s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett1-8/+7
libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
2011-05-17s4-python: keep wheel_gid as an integerMatthieu Patou1-1/+1
2011-05-17s4-python: raise an error if unable to bind remote ldap while joiningMatthieu Patou1-0/+11
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett1-6/+6
The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
2011-05-05s4-samba-tool: allow specification of targetdir when joining as (RO)DCMatthieu Patou1-4/+5
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu May 5 02:04:13 CEST 2011 on sn-devel-104
2011-04-30provision: reorganize attributes so that we don't attribute with DN syntax ↵Matthieu Patou1-0/+5
that depends on non present object Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Apr 30 14:51:16 CEST 2011 on sn-devel-104
2011-04-17samba-tool: fix machinepw command so that we use the full path to the secret ↵Matthieu Patou1-3/+6
database and raise an error if secret can't be found Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 17 13:12:27 CEST 2011 on sn-devel-104
2011-04-06s4-test: fixed a problem with very verbose NDR debugAndrew Tridgell2-3/+3
lp.get("log level") returns a string, not an integer. It needs to be cast to an integer for comparison with a number Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 08:58:05 CEST 2011 on sn-devel-104
2011-04-05s4 samba-tool: Implement "testparm" commandKai Blin2-0/+208
This is a port of the existing "testparm" python script to a samba-tool command. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Apr 5 07:49:13 CEST 2011 on sn-devel-104
2011-04-04s4-samba-tool: give a bit better error on user delete failureAndrew Tridgell1-1/+5