[Samba] No builtin nor plugin backend for ldapsam found

Francesco Malvezzi francesco.malvezzi at unimore.it
Wed Jun 3 04:05:13 MDT 2015


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


More information about the samba mailing list