[Samba] AIX and ADS support?

Craig Green cgreen at ultradata.com.au
Wed Feb 18 22:42:35 MST 2015


Benjamin Huntsman <BHuntsman <at> mail2.cu-portland.edu> writes:

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

Hi Ben,

Were you ever able to resolve the compile issue with samba 4.
I am trying to compile samba 4.1.15 on AIX 7.1 and I get the same issue.
IE: stops with the same mesasge of LDAP support not available.

Any assistance would be appreciated.

Thanks,
Craig



More information about the samba mailing list