LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-04-2012, 08:27 PM   #16
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 445

Rep: Reputation: 57

https://reteprivata.dyndns-ip.com/pacchetti/nfs4-krb5/ (sometimes site don't work)

If interested,some slackbuilds working for nfs4
on slackware64 14
Don't forget to remove portmap and do
Code:
ln -s /usr/lib64/libnfsidmap*  /usr/lib/
Then will work all,nfs and if you want kerberos encryption(krb5i,p)
 
Old 10-05-2012, 05:38 AM   #17
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by camerabambai View Post
Code:
ln -s /usr/lib64/libnfsidmap*  /usr/lib/
That looks like a hack to fix a bug in a broken SlackBuild, it would be better to fix the SlackBuild so that it installs things properly.

The site you linked is currently down so I can't see what it has on there but getting nfs4 working on Slackware requires a bit less then what has been previously stated in this thread.

First the dependencies that are required libevent, libnfsidmap and libtirpc. (Kerberos is not required unless you need it for authentication.)
Portmap is dead and gone replaced by rpcbind, this also gives us ipv6 support for RPC services.
Then nfs-utils is rebuilt enabling nfs4 (I also suggest upgrading it as well)
 
Old 10-05-2012, 06:08 PM   #18
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 445

Rep: Reputation: 57
Yes is a dirty solution to do ln -sf,but work
"(I also suggest upgrading it as well"
I have tried to upgrade to 1.2.6 but give me some
auth problems,i will retry now..
 
Old 10-05-2012, 06:14 PM   #19
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 445

Rep: Reputation: 57
Confirm 1.2.6 give problems if use auth krb5
 
Old 06-01-2013, 12:11 AM   #20
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 445

Rep: Reputation: 57
Tryng to upgrade to latest packages but..

Code:
make[2]: Entering directory `/tmp/nfs-utils-1.2.8/utils/gssd'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -Wall -Wextra -Wstrict-prototypes  -pipe -O2 -fPIC  -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC  -ltirpc  -o gssd gssd-context.o gssd-context_mit.o gssd-context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o ../../support/nfs/libnfs.a  -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lkrb5 -lk5crypto -lcom_err -L/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
libtool: link: gcc -Wall -Wextra -Wstrict-prototypes -pipe -O2 -fPIC -I/usr/kerberos/include -I/usr/kerberos/include -O2 -fPIC -o gssd gssd-context.o gssd-context_mit.o gssd-context_heimdal.o gssd-context_lucid.o gssd-gss_util.o gssd-gss_oids.o gssd-err_util.o gssd-gssd.o gssd-gssd_main_loop.o gssd-gssd_proc.o gssd-krb5_util.o -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/kerberos/lib  /usr/lib64/libtirpc.so /usr/lib64/libgssglue.so -lnsl -lpthread /usr/lib64/libgssapi.so /usr/lib64/libheimntlm.so ../../support/nfs/libnfs.a -L/usr/kerberos/lib -lgssapi_krb5 /usr/lib64/libkrb5.so /usr/lib64/libheimbase.so /usr/lib64/libhx509.so /usr/lib64/libwind.so /usr/lib64/libheimsqlite.so /usr/lib64/libhcrypto.so /usr/lib64/libasn1.so /usr/lib64/libroken.so -lcrypt -ldl -lresolv -lk5crypto -lcom_err -pthread
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libcom_err.so.2, needed by /usr/lib64/libtirpc.so, may conflict with libcom_err.so.3
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: warning: libkrb5.so.3, needed by /usr/kerberos/lib/libgssapi_krb5.so, may conflict with libkrb5.so.26
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: gssd-krb5_util.o: undefined reference to symbol 'krb5_free_keytab_entry_contents@@krb5_3_MIT'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'krb5_free_keytab_entry_contents@@krb5_3_MIT' is defined in DSO /usr/kerberos/lib/libkrb5.so.3 so try adding it to the linker command line
How to add to command line?
I have tried LDFLAGS="-libkrb5" but doesn't work
 
Old 11-06-2013, 11:11 AM   #21
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 445

Rep: Reputation: 57
https://reteprivata.dyndns-ip.com/pacchetti/nfs4-krb5/

14.1 packages

works fine on 14.1
only do after install

ln -s /usr/lib64/libnfsidmap/ /usr/lib/libnfsidmap/

Last edited by camerabambai; 11-10-2013 at 02:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
packages required for NFS4? cool47 Red Hat 1 03-19-2008 10:42 PM
NFS4 group enumeration utahnix Linux - Networking 0 01-31-2007 05:00 PM
how can I deploy a nfs4 server? dirtgod Linux - Networking 1 12-16-2006 10:53 PM
acl and Nfs4 collen Linux - Networking 0 09-30-2004 08:58 AM
Nfs4 not work.. collen Linux - Networking 0 09-02-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration