Unix/Linux Go Back    



Compile samba with krb5

HP-UX




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 Unix and Linux 02-22-2014   -   Original Discussion by Linusolaradm1
Linusolaradm1's Unix or Linux Image
Linusolaradm1 Linusolaradm1 is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 19 April 2018, 2:54 PM EDT
Posts: 196
Thanks: 28
Thanked 5 Times in 5 Posts
Compile samba with krb5



Code:
./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 ----------



Code:
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