Cannot build Samba 4.0.4 on Solaris 11

TAKAHASHI Motonobu monyo at monyo.com
Wed Mar 20 10:13:57 MDT 2013


From: Volker Lendecke <Volker.Lendecke at SerNet.DE>
Date: Wed, 20 Mar 2013 16:49:58 +0100,Wed, 20 Mar 2013 16:49:58 +0100

> On Wed, Mar 20, 2013 at 10:47:17PM +0900, TAKAHASHI Motonobu wrote:
>> I currently try to build Samba 4.0.4 on Solaris 11 x86 and cannot.
>> Does Samba 4.0.4 support Solaris 11?
>> 
> In case you need the file server only and not the AD domain
> controller piece, you might try to compile from
> 
> cd samba-4.0.4/source3

That did not work well:

export CPPFLAGS="-I/usr/include/kerberosv5"
export LIBS="/usr/lib/libldap-2.4.so -lgss"
./configure --with-ads --with-ldap --with-krb5 (*)
(snip)
checking for KRB5_PDU_NONE declaration... no
checking for flags in krb5_creds... no
configure: WARNING: krb5_get_init_creds_opt_alloc found in -lkrb5
configure: WARNING: krb5_principal_compare_any_realm not found in -lkrb5
configure: WARNING: gss_wrap_iov not found in -lgssapi
configure: WARNING: need either gss_get_name_attribute or gsskrb5_extract_authz_data_from_sec_context and gss_inquire_sec_context_by_oid in -lgssapi for PAC support
configure: error: krb5 libs don't have all features required for Active Directory support

(*) My complete configure option is here
./configure --with-readline --with-libiconv --with-profiling-data
--with-ldap --with-ads --with-krb5 --with-automount --with-pam
--with-pam_smbpass --with-syslog --with-utmp --with-acl-support
--with-winbind --enable-cups
--with-shared-modules=idmap_ad,idmap_ldap,idmap_rid,idmap_tdb2

These configure options are good for Samba 3.6.13 with

  pkg install developer/gcc-45
  pkg install system/library/iconv/unicode

---
TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo 
                   facebook.com/takahashi.motonobu




More information about the samba-technical mailing list