Francesco Malvezzi
2015-Jun-03 10:05 UTC
[Samba] No builtin nor plugin backend for ldapsam found
Hi all,
in order to upgrade a working samba3 domain controller with OpenLDAP
backend, I compiled samba-4.1.17 with the following switches:
--with-ldap
according to configure log, the compiler found the ldap libraries:
[...]
Checking for header ldap.h
: yes
Checking for header lber.h
: yes
Checking for header ldap_pvt.h
: no
Checking for ber_tag_t
: ok
Checking for library lber
: yes
[...]
Checking for variable LDAP_OPT_SOCKBUF
: ok
Checking for variable LBER_OPT_LOG_PRINT_FN
: ok
Checking for library ldap
: yes
Checking for ldap_init
: ok
Checking for ldap_init_fd
: ok
Checking for ldap_initialize
: ok
Checking for ldap_set_rebind_proc
: ok
Checking for ldap_add_result_entry
: ok
Checking whether ldap_set_rebind_proc takes 3 arguments
: ok
Building with Active Directory support.
[...]
nevertheless, while smbd refuses to start with:
No builtin nor plugin backend for ldapsam found
So it looks I didn't enable ldapsam support.
What did I miss? How to enable ldapsam support in samba4?
thank you,
Francesco
Rowland Penny
2015-Jun-03 11:00 UTC
[Samba] No builtin nor plugin backend for ldapsam found
On 03/06/15 11:05, Francesco Malvezzi wrote:> Hi all, > > in order to upgrade a working samba3 domain controller with OpenLDAP > backend, I compiled samba-4.1.17 with the following switches: > > --with-ldap > > according to configure log, the compiler found the ldap libraries: > [...] > Checking for header ldap.h > : yes > Checking for header lber.h > : yes > Checking for header ldap_pvt.h > : no > Checking for ber_tag_t > : ok > Checking for library lber > : yes > [...] > Checking for variable LDAP_OPT_SOCKBUF > : ok > Checking for variable LBER_OPT_LOG_PRINT_FN > : ok > Checking for library ldap > : yes > Checking for ldap_init > : ok > Checking for ldap_init_fd > : ok > Checking for ldap_initialize > : ok > Checking for ldap_set_rebind_proc > : ok > Checking for ldap_add_result_entry > : ok > Checking whether ldap_set_rebind_proc takes 3 arguments > : ok > Building with Active Directory support. > [...] > > nevertheless, while smbd refuses to start with: > No builtin nor plugin backend for ldapsam found > > So it looks I didn't enable ldapsam support. > > What did I miss? How to enable ldapsam support in samba4? > > thank you, > > FrancescoHmm, '--with-ldap' is the default, so you don't really need to give it, what OS are you compiling on ? what extra packages did you install before you compiled samba ? Rowland