Hello, I'm trying to Compile Samba with ADS support on Solaris 8. I have installed without any problems: /opt/cifs/bdb -> .bdb-4.2.52 /opt/cifs/heimdal -> .heimdal-0.6.3 /opt/cifs/openldap -> .openldap-2.1.25 /opt/cifs/openssl -> .openssl-0.9.7e /opt/cifs/samba -> .samba-3.0.9 and I'm configuring samba with: LDFLAGS="-L/opt/cifs/openldap/lib -L/opt/cifs/heimdal/lib" export LDFLAGS CPPFLAGS="-I/opt/cifs/openldap/include -I/opt/cifs/heimdal/include" export CPPFLAGS ./configure \ --prefix=/opt/cifs/.samba-3.0.9 \ --with-krb5=/opt/cifs/heimdal \ --with-ads but I'm getting the following error message von the configure script: ... checking for krb5_c_enctype_compare... no checking for krb5_enctypes_compatible_keys... no checking for krb5_encrypt_block type... no checking for addrtype in krb5_address... no checking for addr_type in krb5_address... yes checking for enc_part2 in krb5_ticket... no checking for keyblock in krb5_creds... no checking for session in krb5_creds... yes checking for keyvalue in krb5_keyblock... yes checking for ENCTYPE_ARCFOUR_HMAC_MD5... yes checking for KEYTYPE_ARCFOUR_56... yes checking for AP_OPTS_USE_SUBKEY... yes checking for KV5M_KEYTAB... no checking for the krb5_princ_component macro... no checking for key in krb5_keytab_entry... no checking for keyblock in krb5_keytab_entry... yes configure: error: libkrb5 is needed for Active Directory support Can anyone help? Thanks in Advance! Imed -- GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail +++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
Imed, For ADS support, you need ldap. I don't know if the kerberos stuff is confusing the issue but I do know that when I compiled Samba for ADS, I needed the Open_ldap libraries. In my configuration I did not specify any kerberos. spike Imed Ben Aleya wrote:> Hello, > > I'm trying to Compile Samba with ADS support on Solaris 8. I have installed > without any problems: > > /opt/cifs/bdb -> .bdb-4.2.52 > /opt/cifs/heimdal -> .heimdal-0.6.3 > /opt/cifs/openldap -> .openldap-2.1.25 > /opt/cifs/openssl -> .openssl-0.9.7e > /opt/cifs/samba -> .samba-3.0.9 > > and I'm configuring samba with: > > LDFLAGS="-L/opt/cifs/openldap/lib -L/opt/cifs/heimdal/lib" > export LDFLAGS > CPPFLAGS="-I/opt/cifs/openldap/include -I/opt/cifs/heimdal/include" > export CPPFLAGS > ./configure \ > --prefix=/opt/cifs/.samba-3.0.9 \ > --with-krb5=/opt/cifs/heimdal \ > --with-ads > > but I'm getting the following error message von the configure script: > > ... > checking for krb5_c_enctype_compare... no > checking for krb5_enctypes_compatible_keys... no > checking for krb5_encrypt_block type... no > checking for addrtype in krb5_address... no > checking for addr_type in krb5_address... yes > checking for enc_part2 in krb5_ticket... no > checking for keyblock in krb5_creds... no > checking for session in krb5_creds... yes > checking for keyvalue in krb5_keyblock... yes > checking for ENCTYPE_ARCFOUR_HMAC_MD5... yes > checking for KEYTYPE_ARCFOUR_56... yes > checking for AP_OPTS_USE_SUBKEY... yes > checking for KV5M_KEYTAB... no > checking for the krb5_princ_component macro... no > checking for key in krb5_keytab_entry... no > checking for keyblock in krb5_keytab_entry... yes > configure: error: libkrb5 is needed for Active Directory support > > Can anyone help? > > Thanks in Advance! > Imed > > -- > GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail > +++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++ > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba
Joseph.Gaude@gd-ais.com
2004-Dec-15 22:00 UTC
[Samba] Compiling samba on Solaris 8 --with-ads
You need v1.3.4 of MIT Kerberos compiled from source. I've done about 5 installs on Solaris 8 with ADS support and it works fine. I used: MIT Kerberos 1.3.4 OpenSSL 0.9.7d OpenLdap 2.2.14 Samba 3.0.7 all compiled from source. Do not use the Sunfreeware supplied packages as the libraries will not work. Also, installed ncurses, popt, libiconv from Sunfreeware. ...Joe> -----Original Message----- > From: samba-bounces+joseph.gaude=gd-ais.com@lists.samba.org > [mailto:samba-bounces+joseph.gaude=gd-ais.com@lists.samba.org] > On Behalf > Of Imed Ben Aleya > Sent: Wednesday, December 15, 2004 11:48 AM > To: samba@lists.samba.org > Subject: [Samba] Compiling samba on Solaris 8 --with-ads > > > Hello, > > I'm trying to Compile Samba with ADS support on Solaris 8. I > have installed > without any problems: > > /opt/cifs/bdb -> .bdb-4.2.52 > /opt/cifs/heimdal -> .heimdal-0.6.3 > /opt/cifs/openldap -> .openldap-2.1.25 > /opt/cifs/openssl -> .openssl-0.9.7e > /opt/cifs/samba -> .samba-3.0.9 > > and I'm configuring samba with: > > LDFLAGS="-L/opt/cifs/openldap/lib -L/opt/cifs/heimdal/lib" > export LDFLAGS > CPPFLAGS="-I/opt/cifs/openldap/include -I/opt/cifs/heimdal/include" > export CPPFLAGS > ./configure \ > --prefix=/opt/cifs/.samba-3.0.9 \ > --with-krb5=/opt/cifs/heimdal \ > --with-ads > > but I'm getting the following error message von the configure script: > > ... > checking for krb5_c_enctype_compare... no > checking for krb5_enctypes_compatible_keys... no > checking for krb5_encrypt_block type... no > checking for addrtype in krb5_address... no > checking for addr_type in krb5_address... yes > checking for enc_part2 in krb5_ticket... no > checking for keyblock in krb5_creds... no > checking for session in krb5_creds... yes > checking for keyvalue in krb5_keyblock... yes > checking for ENCTYPE_ARCFOUR_HMAC_MD5... yes > checking for KEYTYPE_ARCFOUR_56... yes > checking for AP_OPTS_USE_SUBKEY... yes > checking for KV5M_KEYTAB... no > checking for the krb5_princ_component macro... no > checking for key in krb5_keytab_entry... no > checking for keyblock in krb5_keytab_entry... yes > configure: error: libkrb5 is needed for Active Directory support > > Can anyone help? > > Thanks in Advance! > Imed > > -- > GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail > +++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++ > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >