Sponsored Content
Full Discussion: Compile samba with krb5
Operating Systems HP-UX Compile samba with krb5 Post 302889652 by Linusolaradm1 on Saturday 22nd of February 2014 07:16:33 PM
Old 02-22-2014
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
 

5 More Discussions You Might Find Interesting

1. Red Hat

krb5.h not usable and not found during samba configuration error

Hi folks, I am using RH linux server 8.0 and have downloaded latest samba package for it. While configuring samba with --with-krb5 option while making this server join a windows AD domain, it gives the following error. active directory cannot be supported... (1 Reply)
Discussion started by: dextergenious
1 Replies

2. Solaris

Samba 3.5.4 compile error

Hello! I am trying install samba 3.5.4. and following this instruction from the source package. So, there are my steps: 1 cd ../samba-3.5.4/source3 2 ./configure (without any arguments) and when i run make it returns error .................................................... Compiling... (2 Replies)
Discussion started by: zhum
2 Replies

3. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

4. HP-UX

Compile krb5-appl 1.0.3 on hpux

asprintf.c: In function 'vasprintf': asprintf.c:58: error: 'SIZE_MAX' undeclared (first use in this function) asprintf.c:58: error: (Each undeclared identifier is reported only once asprintf.c:58: error: for each function it appears in.) Someone know how to fix? Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

5. Solaris

Samba compile issue on Solaris 9

Hi all :) I've been given a task to try and upgrade Samba on our legacy Solaris 9 (SunOS 5.9) sparc system. Its currently running samba 3.5.3 but we'd like to try and install 3.6.0 (or 3.6.25) to have minimal protocol smbv2. When trying to install from source, it appears to configure fine,... (4 Replies)
Discussion started by: jimbob01
4 Replies
smbnetfs(1)						      General Commands Manual						       smbnetfs(1)

NAME
smbnetfs - User-space filesystem for SMB/NMB (Windows) network servers and shares DESCRIPTION
usage: smbnetfs mountpoint [options] general options: -o opt,[opt...] mount options -h --help print help -V --version print version SMBNetFS options: -o config=PATH path to config (~/.smb/smbnetfs.conf) -o smbnetfs_debug=N SMBNetFS debug level (N<=10) -o smb_debug_level=N Samba debug level (N<=10) -o log_file=PATH File to store SMBNetFS debug messages -o local_charset=CHARSET Local charset (autodetected) -o samba_charset=CHARSET Charset used by samba (utf-8) -o use_gnome_keyring=BOOL Enable/disable usage of gnome-keyring -o gnome_keyring_timeout=T auth retrieving timeout for gnome_keyring (500ms) -o max_rw_block_size=N Maximum size of r/w block in Kb (autodetected) -o smb_tree_scan_period=T Period of scanning samba network tree (300s) -o smb_tree_elements_ttl=T TTL of scanned elements in samba tree (900s) -o smb_query_browsers=BOOL Enable/disable scanning of samba tree (on) -o show_$_shares=BOOL Enable/disable showing of hidden shares (off) -o show_hidden_hosts=BOOL See in documentation (off) -o free_space_size=N Free space size in pages (0) -o quiet_flag=BOOL Do not fail on chown/chgroup (on) -o stat_workaround_depth=N konquerror and gnome termal hack (3) -o time_step=T Scheduler sleep interval (10s) -o config_update_period=T Configuration update interval (300s) -o max_ctx_count=N Maximum number of childs (15) -o max_retry_count=N Number of retries before fail (3) -o listen_timeout=T Child process inactivity timeout (300s) -o reply_timeout=T Child process reply timeout (30s) -o max_passwd_query_count=N See in documentation (10) FUSE options: -d -o debug enable debug output (implies -f) -f foreground operation -s disable multi-threaded operation -o allow_other allow access to other users -o allow_root allow access to root -o nonempty allow mounts over non-empty file/dir -o default_permissions enable permission checking by kernel -o fsname=NAME set filesystem name -o large_read issue large read requests (2.4 only) -o max_read=N set maximum size of read requests -o hard_remove immediate removal (don't hide files) -o use_ino let filesystem set inode numbers -o readdir_ino try to fill in d_ino in readdir -o direct_io use direct I/O -o kernel_cache cache files in kernel -o umask=M set file permissions (octal) -o uid=N set file owner -o gid=N set file group -o entry_timeout=T cache timeout for names (1.0s) -o negative_timeout=T cache timeout for deleted names (0.0s) -o attr_timeout=T cache timeout for attributes (1.0s) FILES
Please create configuration directory ~/.smb. This directory should contain at least two files: smb.conf and smbnetfs.conf. You may copy smb.conf from the /etc/samba directory. You can find a sample of smbnetfs.conf in the /etc directory. AUTHOR
This manual page was written by Varun Hiremath <varunhiremath@gmail.com>, for the Debian project (but may be used by others). August 06, 2010 smbnetfs(1)
All times are GMT -4. The time now is 09:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy