summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/provisionbackend.py
Commit message (Collapse)AuthorAgeFilesLines
* samba.provision: Add package with provision and backend modules.Jelmer Vernooij2010-11-281-756/+0
|
* s4-provisionbackend Allow a fixed URI to be specified for LDAP backendAndrew Bartlett2010-10-191-17/+21
| | | | | | | | This is added to make the 'existing' LDAP backend class more useful, and to allow debuging of our OpenLDAP backend class with wireshark, by forcing the traffic over loopback TCP, which is much easier to sniff. Andrew Bartlett
* s4-provision Remove serverdn parameter from Schema()Andrew Bartlett2010-10-191-2/+1
| | | | | | | We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
* s4:provision Allow OpenLDAP backend to provision againAndrew Bartlett2010-09-021-0/+2
| | | | | | OpenLDAP does not have any post-setup requirements at the moment. Andrew Bartlett
* s4:provision Improved error handling in provisionbackendZahari Zahariev2010-09-021-2/+3
| | | | | | | When using OpenLDAP as a backend with Samba4 we get failure during provision and this patch will help better determining the real error. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Move convert_to_openldap onto Schema class.Jelmer Vernooij2010-06-201-2/+2
|
* s4-provision: Use logger in provision backends.Jelmer Vernooij2010-06-131-20/+17
|
* s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett2010-06-121-1/+1
| | | | | | | The idea here is to allow some callers to specify a new prefixMap that will override the values loaded from the prefixMap.txt. Andrew Bartlett
* Add missing stub functions.Jelmer Vernooij2010-06-111-0/+9
|
* s4-python: Fix formatting.Jelmer Vernooij2010-06-111-87/+112
|
* s4:provisionbackend Don't loop forever waiting for OpenLDAPAndrew Bartlett2010-04-281-0/+6
| | | | | | | We need to give a good error when we can't get OpenLDAP to accept our connections. Andrew Bartlett
* s4:provisionbackend Print the command we failed to start slapd withAndrew Bartlett2010-04-201-1/+2
| | | | | | This makes it easier to put failed startups into a debugger. Andrew Bartlett
* s4:provision Don't make the 'slaptest' call produce errorsAndrew Bartlett2010-04-101-6/+3
| | | | | | Adding -n 0 also allows us to check the error code too Andrew Bartlett
* s4-python: Simplify code, improve formatting.Jelmer Vernooij2010-04-081-107/+83
|
* s4-test: oLschema2ldif doesn't take -H any moreAndrew Tridgell2010-03-301-1/+1
|
* Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394Oliver Liebel2010-03-181-8/+10
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision - Moved default FDS SASL mappings deletion from post_setup() to ↵Endi S. Dewata2010-03-021-7/+0
| | | | | | init(). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision - Moved setup_db_config() into OpenLDAPBackend class.Endi S. Dewata2010-03-021-16/+16
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision - Moved backend-specific variables into backend class.Endi S. Dewata2010-03-021-45/+57
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision - Use netbios name for FDS instance name.Endi S. Dewata2010-03-021-3/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* More formatting fixes, pointed out by pylint.Jelmer Vernooij2010-03-011-6/+5
|
* General cleanups of python code, hinted by pyflakes.Jelmer Vernooij2010-03-011-6/+6
|
* s4-python: Fix formatting.Jelmer Vernooij2010-01-251-7/+6
|
* s4-provision: Fixed typos and redundant codeEndi S. Dewata2010-01-231-10/+10
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:provision Move exceptions into a new fileAndrew Bartlett2009-11-241-0/+1
| | | | This allows provisionbackend and provision to both raise ProvisionException
* s4:provision Don't bother with a template for the LDAP backend startup script.Andrew Bartlett2009-11-241-2/+1
|
* s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata2009-11-161-31/+77
|
* s4:provision - Added LDBBackend and ExistingBackend.Endi S. Dewata2009-11-121-24/+48
|
* s4:provision - Added constructors for FDSBackend and OpenLDAPBackend.Endi S. Dewata2009-11-121-25/+86
|
* s4:provision - Added setup() method in LDAPBackend.Endi S. Dewata2009-11-121-25/+31
|
* s4:provision - Moved provision_xxx_backend() into backend-specific ↵Endi S. Dewata2009-11-121-317/+283
| | | | provision() method.
* s4:provision - Added start() method in LDAPBackend.Endi S. Dewata2009-11-121-13/+18
|
* s4:provision - Added initial implementation of FDSBackend and OpenLDAPBackend.Endi S. Dewata2009-11-121-29/+34
|
* s4:provisioning - Fixed minor bugs in provisioning tool and partition module.Endi S. Dewata2009-11-041-1/+2
|
* s4:provision Remove LDB backend files in provisionAndrew Bartlett2009-11-021-0/+7
| | | | | | | | Rather than try and remove the records in the LDB files, make the provision remove the whole file. This also removes the need to try and carry forward the old ldb filenames. Andrew Bartlett
* s4:provision Split ProvisionBackend out of the main provision scriptAndrew Bartlett2009-11-021-0/+611
This splits the code, while keeping the original behaviour. The provision.py file had become just too long. Andrew Bartlett