Compile samba with krb5


Kindly Note - This is a Single User Post by Forum Member Linusolaradm1 Regarding:
Compile samba with krb5.
Please Follow The Primary Link Above to View the Full Discussion.

Old 02-22-2014
Linusolaradm1 Linusolaradm1 is offline
Registered User
Join Date: Jun 2011
Last Activity: 19 June 2018, 6:55 AM EDT
Posts: 198
Thanks: 28
Thanked 7 Times in 6 Posts
Compile samba with krb5

./configure   --prefix=/opt/samba   --libdir=/opt/samba/lib   --bindir=/opt/samba/bin   --sbindir=/opt/samba/sbin   --mandir=/opt/samba/man   --sysconfdir=/etc/opt/samba   --with-configdir=/etc/opt/samba   --with-piddir=/var/opt/samba/locks   --with-privatedir=/etc/opt/samba/private   --localstatedir=/var/opt/samba   --with-lockdir=/var/opt/samba/locks   --with-swatdir=/opt/samba/swat   --with-logfilebase=/var/opt/samba/log/  --enable-cups   --enable-external-libtalloc=no   --enable-static=no   --enable-shared=yes   --with-acl-support=yes   --with-automount   --with-quotas   --with-syslog   --with-utmp   --with-libsmbclient   --with-winbind   --with-ldap   --with-krb5=base-dir=/opt/krb5client   --with-ads CPPFLAGS='-I/opt/krb5client/include' LDFLAGS=' -L /opt/krb5client/lib'

Compile not ok
Exit with error "can't find lgssapi"
Any suggestion?
With heimdal compile fine,but when i try to join ads
cannot find KDC.

---------- Post updated at 07:16 PM ---------- Previous update was at 06:20 PM ----------

Compiling smbd/msg_idmap.c
Linking bin/smbd
ld: Can't find library for -lgssapi
Fatal error.
collect2: ld returned 1 exit status
Makefile:1781: recipe for target 'bin/smbd' failed

The error