From: christoph.beyer on
hi,

I found some older posts with this issues but no solution for me :(

Seems to be a krb related issue:

Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function 'get_krb5_smb_session_key':
libsmb/clikrb5.c:886: warning: 'krb5_auth_con_getremotesubkey' is
deprecated (declared at /global/spool/krb5-1.7/include/krb5/krb5.h:2167)
libsmb/clikrb5.c:888: warning: 'krb5_auth_con_getlocalsubkey' is
deprecated (declared at /global/spool/krb5-1.7/include/krb5/krb5.h:2162)
libsmb/clikrb5.c:1623:2: error: #error
UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION
The following command failed:
/opt/gcc/bin/gcc -I/global/spool/krb5-1.7/include
-Wl,-R/global/spool/openssl-0.9.8l/lib -Wl,-R/global/spool/krb5-1.7/lib
-Wl,-R/opt/csw/lib -I. -I/global/spool/src/samba/samba-3.4.5/source3
-I/global/spool/src/samba/samba-3.4.5/source3/iniparser/src -Iinclude
-I./include -I. -I. -I./../lib/replace -I./../lib/talloc
-I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./..
-DHAVE_CONFIG_H -I/global/spool/krb5-1.7/include
-I/global/spool/openssl-0.9.8l/include -I/global/spool/krb5-1.7/include
-I/opt/csw/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLDAP_DEPRECATED -DSUNOS5
-I/global/spool/src/samba/samba-3.4.5/source3/lib -I.. -I../source4
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clikrb5.c -o
libsmb/clikrb5.o
gmake: *** [libsmb/clikrb5.o] Error 1

I use a build script it looks like this:

PATH=/usr/bin:/usr/local/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/ccs/bin:/global/spool/openssl-0.9.8l/bin:/global/spool/krb5-1.7/bin
export PATH
HOSTNAME=`/usr/bin/hostname`

DIRPATH="/global/spool/openssl-0.9.8l /global/spool/krb5-1.7 /opt/csw"
for dir in $DIRPATH ; do
CPPFLAGS="$CPPFLAGS -I$dir/include"
CFLAGS="$CFLAGS -Wl,-R$dir/lib"
LDFLAGS="$LDFLAGS -L$dir/lib"
done
LDFLAGS="$LDFLAGS -L$dir/lib
-Wl,-R/global/spool/$HOSTNAME/samba-3.4.1/lib"

export CPPFLAGS CFLAGS LDFLAGS CC

echo "CPPFLAGS=$CPPFLAGS"
echo "CFLAGS=$CFLAGS"
echo "LDFLAGS=$LDFLAGS"
echo "CC=$CC"

## configure && build
#./autogen.sh
../configure --prefix=/global/spool/$HOSTNAME/samba-3.4.5 \
--with-ads \
--with-ldap \
--with-krb5=/global/spool/krb5-1.7

if [ $? -ne 0 ]; then
echo "configure failed. Exiting...."
exit 1
fi

make showlayout
make

Any hints are very much appreciate, if possible also via e-mail to my
address as I am not currently on the list

THANKS
~christoph


--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY | Phone: 040-8998-2317 *
* - IT - | Fax: 040-8998-4060 *
\* 22603 Hamburg | http://www.desy.de */


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba