summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/provisionbackend.py
AgeCommit message (Collapse)AuthorFilesLines
2010-11-28samba.provision: Add package with provision and backend modules.Jelmer Vernooij1-756/+0
2010-10-19s4-provisionbackend Allow a fixed URI to be specified for LDAP backendAndrew Bartlett1-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
2010-10-19s4-provision Remove serverdn parameter from Schema()Andrew Bartlett1-2/+1
We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
2010-09-02s4:provision Allow OpenLDAP backend to provision againAndrew Bartlett1-0/+2
OpenLDAP does not have any post-setup requirements at the moment. Andrew Bartlett
2010-09-02s4:provision Improved error handling in provisionbackendZahari Zahariev1-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>
2010-06-20Move convert_to_openldap onto Schema class.Jelmer Vernooij1-2/+2
2010-06-13s4-provision: Use logger in provision backends.Jelmer Vernooij1-20/+17
2010-06-12s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett1-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
2010-06-11Add missing stub functions.Jelmer Vernooij1-0/+9
2010-06-11s4-python: Fix formatting.Jelmer Vernooij1-87/+112
2010-04-28s4:provisionbackend Don't loop forever waiting for OpenLDAPAndrew Bartlett1-0/+6
We need to give a good error when we can't get OpenLDAP to accept our connections. Andrew Bartlett
2010-04-20s4:provisionbackend Print the command we failed to start slapd withAndrew Bartlett1-1/+2
This makes it easier to put failed startups into a debugger. Andrew Bartlett
2010-04-10s4:provision Don't make the 'slaptest' call produce errorsAndrew Bartlett1-6/+3
Adding -n 0 also allows us to check the error code too Andrew Bartlett
2010-04-08s4-python: Simplify code, improve formatting.Jelmer Vernooij1-107/+83
2010-03-30s4-test: oLschema2ldif doesn't take -H any moreAndrew Tridgell1-1/+1
2010-03-18Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394Oliver Liebel1-8/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved default FDS SASL mappings deletion from post_setup() to ↵Endi S. Dewata1-7/+0
init(). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved setup_db_config() into OpenLDAPBackend class.Endi S. Dewata1-16/+16
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Moved backend-specific variables into backend class.Endi S. Dewata1-45/+57
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02s4:provision - Use netbios name for FDS instance name.Endi S. Dewata1-3/+5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-01More formatting fixes, pointed out by pylint.Jelmer Vernooij1-6/+5
2010-03-01General cleanups of python code, hinted by pyflakes.Jelmer Vernooij1-6/+6
2010-01-25s4-python: Fix formatting.Jelmer Vernooij1-7/+6
2010-01-23s4-provision: Fixed typos and redundant codeEndi S. Dewata1-10/+10
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2009-11-24s4:provision Move exceptions into a new fileAndrew Bartlett1-0/+1
This allows provisionbackend and provision to both raise ProvisionException
2009-11-24s4:provision Don't bother with a template for the LDAP backend startup script.Andrew Bartlett1-2/+1
2009-11-16s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata1-31/+77
2009-11-12s4:provision - Added LDBBackend and ExistingBackend.Endi S. Dewata1-24/+48
2009-11-12s4:provision - Added constructors for FDSBackend and OpenLDAPBackend.Endi S. Dewata1-25/+86
2009-11-12s4:provision - Added setup() method in LDAPBackend.Endi S. Dewata1-25/+31
2009-11-12s4:provision - Moved provision_xxx_backend() into backend-specific ↵Endi S. Dewata1-317/+283
provision() method.
2009-11-12s4:provision - Added start() method in LDAPBackend.Endi S. Dewata1-13/+18
2009-11-12s4:provision - Added initial implementation of FDSBackend and OpenLDAPBackend.Endi S. Dewata1-29/+34
2009-11-04s4:provisioning - Fixed minor bugs in provisioning tool and partition module.Endi S. Dewata1-1/+2
2009-11-02s4:provision Remove LDB backend files in provisionAndrew Bartlett1-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
2009-11-02s4:provision Split ProvisionBackend out of the main provision scriptAndrew Bartlett1-0/+611
This splits the code, while keeping the original behaviour. The provision.py file had become just too long. Andrew Bartlett