[OpenAFS] Help in Setting up Openafs

Jeffrey Altman jaltman@secure-endpoints.com
Thu, 22 Mar 2007 09:40:01 -0400


This is a cryptographically signed message in MIME format.

--------------ms040102070201040808060302
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Posting the same question five times in 40 minutes to the mailing
list will not produce a faster reply.

Melvin Wong wrote:
> Hi,
> 
> I am trying to setup openafs on my RHEL 4 but I find the documentation
> not as updated as I hope it to be and it becomes extremely difficult to
> troubleshoot when I encounter a problem.
> 
> Does anyone know where to find a recent guide? Also I have a few
> questions and hopes someone can help me:
> 
>    1. Is it possible to join a Windows afs server to a linux afs cell?

Assuming there was a Windows AFS Server that you would want to run, then
'yes', you file servers could be a mix of Windows, Linux, Solaris,
HP-UX, AIX, or any other supported operating system.

However, at the present time, there is none.

>    2. How do I mount the afs user directory to the home directory such
>       that the users are in their afs user directory once they login (is
>       it possible?)?  

By convention, AFS is always mounted at /afs on UNIX and \\AFS on
Windows.   How you specify the paths to home directories is an operating
system specific operation independent of AFS.

>    3. How do I share out files in afs through samba?

Using real AFS clients on your Windows and MacOS X systems is much
better for your users than using Samba.  This is especially true on the
Windows systems since byte range locking is so important to Windows
applications and Samba doesn't actually obtain locks when serving AFS.

That said, for read-only you serve AFS out of Samba just like you would
any other file space.

>    4. If I have use afs authentication without setting up any other
>       Kerberos on my linux afs server, how do I get the tokens on a
>       windows afs client (do I need MIT Kerberos and what’s the settings?)? 

Do not use the kaserver that comes with OpenAFS.  It is deprecated.
Instead use a Kerberos 5 server.  MIT Kerberos, Heimdal, or Active
Directory or any other implementation will do.

Jeffrey Altman
Secure Endpoints Inc.

--------------ms040102070201040808060302
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJeTCC
AxcwggKAo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