[Samba] AIX and ADS support?

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Sun Jan 6 18:12:58 MST 2013


So, if I read this right, Samba4 should be able to participate as a domain controller, if I specify the option --with-ads, right?

I'm using the following options:

--with-winbind
--with-swat
--with-ads
--with-ldap
--with-acl-support
--with-dnsupdate
--with-aio-support
--prefix=/opt/samba-4.0.0
--sysconfdir=/etc/samba-4.0.0
--localstatedir=/var/samba-4.0.0

The configure script pukes at the end:

Checking for header ldap.h                                                                      : no
Checking for header lber.h                                                                      : no
Checking for header ldap_pvt.h                                                                  : no
Checking for ber_tag_t                                                                          : not found
Checking for library lber                                                                       : not found
Checking for ber_scanf                                                                          : not found
Checking for ber_sockbuf_add_io                                                                 : not found
Checking for variable LDAP_OPT_SOCKBUF                                                          : not found
Checking for variable LBER_OPT_LOG_PRINT_FN                                                     : not found
Checking for library ldap                                                                       : not found
Checking for ldap_init                                                                          : not found
Checking for ldap_init_fd                                                                       : not found
Checking for ldap_initialize                                                                    : not found
Checking for ldap_set_rebind_proc                                                               : not found
Checking for library ldap                                                                       : not found
Checking for ldap_add_result_entry                                                              : not found
Checking whether ldap_set_rebind_proc takes 3 arguments                                         : ok
Active Directory support not available: LDAP support ist not available.
/admin/tst/build/samba-4.0.0/source3/wscript:733: error: Active Directory support not found. Use --without-ads for building without Active Directory support.
bash-3.2#


What am I missing?  If I run configure with just --with-ldap but not --with-ads, the configure completes.  I also read the samba4 has it's own built-in LDAP, so what's missing?  Do I need to build OpenLDAP for the DC and/or AD functionality?

Thanks!

-Ben


More information about the samba mailing list