LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-13-2010, 05:27 PM   #1
pooryorick
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Rep: Reputation: 3
openafs in slackware?


I just compiled openafs in Slackware 13, but needless to say, it didn't work because PAM is missing. I got this error:

Clients credentials have been revoked while getting initial credentials

Is anyone using openafs in slackware? My guess is that at a bare minimum, all need to install PAM first. Right?
 
Old 01-13-2010, 11:13 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I haven't built openafs, however if it's written in C and configured using a configure file like most C software is for Linux, you could run:

shell$ ./configure --help

and it should show you a list of all the options, optional packages, dependencies, etc., that are wanted or needed by openafs. A good configure file will tell you what's optional, what's essential, and what will or won't work regarding each option.

Hope this helps some, before you go building/installing PAM only to find that some other things would also be handy.

Sasha
 
Old 01-14-2010, 07:01 PM   #3
pooryorick
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 3
solved

Got it working. here's how:

CFLAGS='-I/usr/kerberos/include' ./configure --with-krb5 KRB5CFLAGS="-I/usr/kerberos/include" KRB5LIBS="-L/usr/kerberos/lib -lcrypto -lkrb5"

make && make install

create/copy/symlink the following files into existence:

/usr/local/etc/openafs/cache
/usr/local/etc/openafs/ThisCell
/usr/local/etc/openafs/CellServDB
/usr/local/etc/openafs/C -> /usr/local/sbin/afsd
/usr/local/etc/openafs/cacheinfo
/usr/local/etc/openafs/afsd -> /usr/local/sbin/afsd

add '/usr/kerberos/lib' to /etc/ld.so.conf

ldconfig

insmod /usr/local/lib/openafs/libafs-2.6.29.6.ko

afsd
aklog

Here's an afs startup script modified for slackware:

http://www.twyst.ws/w/Pub/AfsStartsupScriptSlackware13

--
Yorick
 
1 members found this post helpful.
  


Reply



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
openafs not running properly mclinkor Linux - Networking 1 04-15-2007 05:00 PM
openafs error sidharth.nitj Linux - Software 0 03-20-2007 01:25 PM
OpenAFS helpmhost Linux - Server 1 02-27-2007 03:38 AM
OpenAFS Problems! mesh2005 Linux - Networking 0 01-22-2006 07:30 AM
Newb problem:OpenAfs ebh1 Linux - Software 0 09-24-2003 10:30 AM

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

All times are GMT -5. The time now is 04:31 AM.

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