Unix/Linux Go Back    

HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Compile samba with krb5


heimdal, samba

Thread Tools Search this Thread Display Modes
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: 16 May 2018, 3:23 PM 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
Sponsored Links
Old Unix and Linux 03-18-2014   -   Original Discussion by Linusolaradm1
DGPickett's Unix or Linux Image
DGPickett DGPickett is offline Forum Advisor  
Registered User
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 588 Times in 561 Posts
You need a file named libgssapi.sl/.so that is readable and executable or libgssapi.a that is readable in any dir under directive -L or the usual places (/lib, /usr/lib). You can get binaries from the UK Hp repository HP-UX Porting and Archiving Centre | Home It seems to be a kerberos lib: User mailing list for Subversion. Please post all usage questions here.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compile krb5-appl 1.0.3 on hpux Linusolaradm1 HP-UX 2 05-29-2013 02:11 PM
Compiling gcc to compile make to compile yaboot t04st3r UNIX for Dummies Questions & Answers 0 01-02-2011 09:20 PM
Samba 3.5.4 compile error zhum Solaris 2 07-27-2010 11:02 PM
krb5.h not usable and not found during samba configuration error dextergenious Red Hat 1 05-27-2009 11:27 AM

All times are GMT -4. The time now is 04:29 PM.