summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba
Commit message (Collapse)AuthorAgeFilesLines
* Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij2009-01-161-0/+8
| | | | command-line.
* Only do special DN tracking for normal DNs in OpenLDAP backend.Andrew Bartlett2009-01-091-2/+2
| | | | | | | This means trying (again, harder), not to do this for DN+Binary and DN+String attributes. Andrew Bartlett
* Fix typoMatthias Dieter Wallnöfer2009-01-061-1/+1
|
* More work to have OpenLDAP accept the full AD schemaAndrew Bartlett2009-01-051-2/+2
| | | | | | | | | | We need to avoid handling DN+Binary and DN+String with the refint module for now, as this is a currently unsupported syntax. Also rename entryTTL to avoid a conflict with the operational attribute of the same name. Andrew Bartlett
* samba.tests.samdb: Fix test after merger of samba.security andJelmer Vernooij2008-12-231-1/+1
| | | | samba.dcerpc.security
* Fix more tests, improve repr() functions for various Python types.Jelmer Vernooij2008-12-212-8/+13
|
* Simplify customization of pidl-generated Python modules.Jelmer Vernooij2008-12-211-1/+1
|
* Move tests for ParamFile.Jelmer Vernooij2008-12-213-3/+37
|
* Provide simple Python replacement for ParamFile, which currently existsJelmer Vernooij2008-12-211-2/+51
| | | | with a lot of overhead.
* Fix various Python-related bugs.Jelmer Vernooij2008-12-211-1/+1
|
* Fix more introduced regressions in new bindings.Jelmer Vernooij2008-12-211-1/+1
|
* py: Fix initialisation of subtypes, fix segfaults.Jelmer Vernooij2008-12-214-21/+25
|
* Support subtypes of ldb.Ldb.Jelmer Vernooij2008-12-201-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-12-192-44/+64
|\
| * Move aggregate schema stub to it's own fileAndrew Bartlett2008-12-191-0/+2
| | | | | | | | | | | | | | This should make it easier to import just the schema entries from the WSPP docs. Andrew Bartlett
| * Cope with slight changes in tdb API.Jelmer Vernooij2008-12-181-31/+46
| |
| * Use plain Python C API for registry module, rather than SWIG.Jelmer Vernooij2008-12-181-1/+1
| |
| * Handle different failure modes when we wipe the db in provisionAndrew Bartlett2008-12-181-7/+8
| | | | | | | | | | | | We didn't handle the mode where we can't load the main sam.ldb due to the modules being 'wrong', and when we did remove the file, we didn't wipe the partitions.
| * s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference ↵Andrew Bartlett2008-12-171-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | depending on the backend This just changes the existing stratagy of loading different modules for the OpenLDAP backend to also include extended_dn_out_* When we provision the OpenLDAP backend, we make sure to include the 'deref' overlay (which must be made available by the OpenLDAP build) Signed-off-by: Stefan Metzmacher <metze@samba.org>
| * s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and ↵Andrew Bartlett2008-12-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extended_dn_store. By splitting the module, the extended_dn_in and extended_dn_store moudles can use extended_dn_out to actually get the extended DN. This avoids code duplication. The extended_dn_out module also contains a client implementation of the OpenLDAP dereference control (draft-masarati-ldap-deref-00). This also introduces a new control 'DSDB_CONTROL_DN_STORAGE_FORMAT_OID' to ask the extended_dn_out module to return whatever the 'storage format' is. This allows us to work with both OpenLDAP (which performs a dereference at run time) and LDB (which stores the GUID and SID on disk). Signed-off-by: Stefan Metzmacher <metze@samba.org>
* | Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij2008-12-191-2/+2
|/ | | | by Python2.3.
* Fix rpcecho test.Jelmer Vernooij2008-10-211-2/+1
|
* Fix blackbox tests on IPv6-only hosts.Jelmer Vernooij2008-10-201-4/+15
|
* Move the password_hash module up the module stack.Andrew Bartlett2008-10-161-1/+2
| | | | | | | | | | This makes it operate in all partitions (minor), but more importantly places it above some other modules that implement some extra schema checks. (The linked_attributes module objects to unknown attributes, which inclues clearTextPassword, which we need internally but is not in the schema). Andrew Bartlett
* Enable winreg Python tests - authentication works now.Jelmer Vernooij2008-09-301-1/+2
|
* s4:provision: don't do the full provision in the become_dcStefan Metzmacher2008-09-271-0/+2
| | | | metze
* Make it clear that the MMR password can differ from the admin passswordAndrew Bartlett2008-09-081-6/+8
| | | | | | | | | In the future, we might simply randomly generate this, or allow the admin to specify it seperate to the admin password. However, both are highly sensitive, as they imply read access to the krbtgt. Andrew Bartlett (This used to be commit 57d19ad002c523fb9a09694e6710ab7f588d44ec)
* Use DIGEST-MD5 authentication for OpenLDAP replicationOliver Liebel2008-09-081-0/+12
| | | | | | | | This avoids passing rootdn passwords or replicated data in cleartext across the network. Signed-of-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 67373c143a1d8a9f310fd116dbf81c1dd123b75f)
* Add a setexpiry operation in samdb.pyAndrew Tridgell2008-08-301-0/+33
| | | | | This makes it easy to set the expiry (or no expiry) for a samdb user (This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
* The index handling is now configured from the schema load, not by aAndrew Bartlett2008-08-211-9/+0
| | | | | | | template. Andrew Bartlett (This used to be commit b36c6a21ad12fdc1b53efdc3f29cde7614b4fa9e)
* Update OpenLDAP MMR configuration per comments by Oliver LiebelAndrew Bartlett2008-08-201-19/+18
| | | | | | | | | | | | <oliver@itc.li> This changes the RIDs to be <serverID><DBID>, to ease later debugging. The need to specify the port on the MMR URLs is now included in the help. Andrew Bartlett (This used to be commit a5cbe8c09c6f14f95ff9ba9b8782e2100fc55695)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-08-191-1/+11
|\ | | | | | | (This used to be commit fc6b4f03ebba015a13a6ab93221b0bc3ef8ef2ed)
| * Fix templates.ldb reprovision handling.Andrew Bartlett2008-08-191-1/+11
| | | | | | | | | | | | | | | | This sets the attributes in a seperate transaction, and allows a forced delete of the whole file. Andrew Bartlett (This used to be commit 423db2468ba3dac89cebc59c8498c0b08c5f3d7b)
* | Fix up new OpenLDAP MMR code.Andrew Bartlett2008-08-191-41/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the MMR password from hard-coded value of 'linux', adds tests and fixes the Fedora DS backend. Currently the MMR password matches the admin password, but we can change this to be another random value if required. Also require the port to be specified on the command line, so we don't hard-code a port of 9000. Andrew Bartlett (This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
* | Generate Multi-Master Replication configuration for OpenLDAPOliver Liebel2008-08-191-7/+79
|/ | | | | | | | | This patches provision-backend and the related scripts to generate the correct configuration blobs for N-way multi-master replication using OpenLDAP. Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 6ed0b3f2475022288f636605492ca27fde97cd52)
* Add helper object Hostconfig to make it easier to get to e.g. theJelmer Vernooij2008-08-012-0/+37
| | | | | SAM database. (This used to be commit be75b2a36ee49f66ada3ec3ababa82d74085d559)
* Use new style python classes.Jelmer Vernooij2008-08-018-11/+26
| | | | (This used to be commit 2a39aae0cef310a79427feb1b85f6794ea36849a)
* Move domain DN determination out of newuser function.Jelmer Vernooij2008-08-011-6/+9
| | | | (This used to be commit cbac27e6faa99ebaa3e6d653017c968db836560a)
* Actually fix missing substitution variables.Jelmer Vernooij2008-08-011-4/+10
| | | | (This used to be commit 783412ecb27d646b171993da0ac2f11a821901d3)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into manpageJelmer Vernooij2008-08-011-27/+9
|\ | | | | | | (This used to be commit c87a8ba1fef1ba508ad6527d0bae4bcdd5b3cb69)
| * We don't use EXTENSIBLEOBJECT any more.Andrew Bartlett2008-07-281-3/+0
| | | | | | | | (This used to be commit 4b137085c8b89773d4639372bbffd516a41dfc8f)
| * Make it even clearer what to do next in the LDAP backend setupAndrew Bartlett2008-07-281-1/+5
| | | | | | | | (This used to be commit bace931ad674b5071d53bf9c99c383f1d8957e1b)
| * Always print the slapd startup commandAndrew Bartlett2008-07-281-1/+2
| | | | | | | | (This used to be commit b1d05e7d14c65133e8ab0ff9d41a26fa7e3d41d3)
| * Remove unused function and make sensitive directories private.Andrew Bartlett2008-07-281-22/+2
| | | | | | | | (This used to be commit e23333d16397606d38e90684d2d916b5b967cde4)
* | Fix some forgotten substitute variables in provision, add check to prevent ↵Jelmer Vernooij2008-08-011-0/+2
|/ | | | | | this sort of regression in the future. (This used to be commit a461118f3b668779f907c4d77cebe1e76fa4e39f)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-07-251-3/+28
|\ | | | | | | (This used to be commit b12dd8ee5443ebfc204d1684f541d68ffb351197)
| * Install'named.txt' to private/ as documentation.Andrew Bartlett2008-07-221-2/+26
| | | | | | | | | | | | | | This document is much more use when subbed with all the right things. Andrew Bartlett (This used to be commit 136a85599815670c807f212d7d4003ec53a13729)
| * Improve DNS and Group poicy configurations.Matthias Dieter Wallnöfer2008-07-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | - fixes bug #4813 (simplify DNS setup) - This reworks the named.conf to be a fully fledged include - This also moves the documentation into named.txt - improves bug #4900 (Group policy support in Samba) - by creating an empty GPT.INI - fixes bug #5582 (DNS: Enhanced zone file) - This is now closer to the zone file AD creates committed by Andrew Bartlett (This used to be commit 74d684f6b329d7dd573cdc55e16bb8e629474b02)
* | Complain if we are told to use an ldap backend, without the typeAndrew Bartlett2008-07-251-0/+2
|/ | | | (This used to be commit e9c3c9ad8289ee48efa998ab6b486250dcd40b52)
* Make a seperate template for the refint configuration tooAndrew Bartlett2008-07-181-3/+4
| | | | (This used to be commit d2a527acc5ee6fe9b943657dc9c3ace920b2d619)