samba-users July 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] Is possible to use samba4 and openldap with

[Samba] Is possible to use samba4 and openldap without ldapi?

From: Alejandro Escanero Blanco <alejandro.escanero.ext_at_nospam>
Date: Tue Jul 27 2010 - 06:22:43 GMT
To: samba@lists.samba.org

I want to use samba4 in a openldap multimaster enviroment, but my tests
are going bad, this are the problems:

- Provision is broken for openldap: NotImplementedError: <bound method
OpenLDAPBackend.post_setup of <samba.provisionbackend.OpenLDAPBackend
object at 0xb626194c>

- When i try to run samba i get errors like this:
samba -i -M single
samba version 4.0.0alpha12-GIT-c75106f started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
ldb: module schema_load initialization failed
ldb: module kludge_acl initialization failed
ldb: module operational initialization failed
ldb: module acl initialization failed
ldb: module descriptor initialization failed
ldb: module objectclass initialization failed
ldb: module asq initialization failed
ldb: module server_sort initialization failed
ldb: module paged_results initialization failed
ldb: module lazy_commit initialization failed
ldb: module rootdse initialization failed
ldb: module samba_dsdb initialization failed
ldb: Unable to load modules for /usr/local/samba/private/sam.ldb: (null)
samba: using 'single' process model
ldb: module schema_load initialization failed
ldb: module kludge_acl initialization failed
ldb: module operational initialization failed
ldb: module acl initialization failed
ldb: module descriptor initialization failed
ldb: module objectclass initialization failed
ldb: module asq initialization failed
ldb: module server_sort initialization failed
ldb: module paged_results initialization failed
ldb: module lazy_commit initialization failed
ldb: module rootdse initialization failed
ldb: module samba_dsdb initialization failed
ldb: Unable to load modules for /usr/local/samba/private/sam.ldb: (null)
task_server_terminate: [nbtd failed to open samdb]
samba_terminate: nbtd failed to open samdb
...
In openldap i get errors like this:
conn=1005 op=3 SRCH
base="cn=Schema,cn=Configuration,dc=xxx,dc=xxx,dc=com" scope=0 deref=0
filter="(&(!(isDeleted=TRUE))(|(objectClass=*)(entryDN=*)))"
conn=1005 op=3 SRCH attr=isDeleted objectClass entryDN prefixMap
schemaInfo fSMORoleOwner
conn=1005 op=3 SEARCH RESULT tag=101 err=32 nentries=0 text=

But, where is the BIND?
...

- I don't know how to configure samba4 to use a remote ldap (not a ldapi).

Anybody can helpme in this test?

Thanks.

-- ------------------------- Alejandro Escanero Blanco Servicio de Informática Sistemas - GISI Tel: 671 569 262 (769262) Edificio Empresarial Aljarafe, mod. 36 41940 Tomares (Sevilla) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba