Alejandro Escanero Blanco
2010-Jul-27 06:22 UTC
[Samba] Is possible to use samba4 and openldap without ldapi?
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)
Michael Wood
2010-Jul-27 07:58 UTC
[Samba] Is possible to use samba4 and openldap without ldapi?
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>
Michael Wood
2010-Jul-27 08:21 UTC
[Samba] Is possible to use samba4 and openldap without ldapi?
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>
Seemingly Similar Threads
- Samba 4 RPC hangs after a while
- Compile problem: "lib/ldb/ldb_map/ldb_map.h", line 64: syntax error before or at: 0x20
- Oracle 11 nts authentication againts samba4 AD DC
- Samba4 KDC - no such entry found in hdb
- samba-tool domain classicupgrade smb_krb5_context_init_basic failed (Invalid argument)