[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: net/samba3

Mathieu Sauve-Frankel writes:

Seeing as we have the appropriate version of Heimdal in-tree now
I would like to see an 'ads' flavor that adds --with-ads

In order to build Samba 3.0.10 with ADS support I had to do the following:

1. Add -I/usr/include/kerberosV to CPPFLAGS:

CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I/usr/include/kerberosV" \

2. Add --with-ads to CONFIGURE_ARGS:

CONFIGURE_ARGS+= --with-ldap --with-ads

3. Add -lssl and -lcrypto to KRB5_LIBS in configure:

--- configure.orig      Mon Dec 27 14:27:02 2004
+++ configure   Mon Dec 27 14:27:33 2004
@@ -28077,7 +28077,7 @@
 echo "${ECHO_T}$with_ads_support" >&6

+KRB5_LIBS="-lssl -lcrypto"

 if test x"$with_ldap_support" != x"yes"; then
     if test x"$with_ads_support" = x"yes"; then

4. Samba 3.0.10 does not check for OpenSSL, i.e. the following configure options are no longer needed/supported (cf. configure --help):

                --with-ssl \
                --with-sslinc="/usr/include/ssl" \

Visit your host, monkey.org