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

Michael Wood esiotrot at gmail.com
Tue Jul 27 01:58:34 MDT 2010


Hi

On 27 July 2010 08:22, Alejandro Escanero Blanco
<alejandro.escanero.ext at juntadeandalucia.es> wrote:
> I want to use samba4 in a openldap multimaster enviroment, but my tests are
> going bad, this are the problems:

You might have more luck with your Samba4+OpenLDAP questions on the
samba-technical list.

> - 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)

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list