From: Benjamin Bennett <ben@phys.psu.edu>
To: nfs@lists.sourceforge.net
Subject: NFSv2/3 requiring RPC_AUTH_GSS
Date: Thu, 03 Mar 2005 17:54:53 -0500 [thread overview]
Message-ID: <1109890493.4361.95.camel@roadrunner.phys.psu.edu> (raw)
Hi Folks,
I've been trying the linux nfsv4 and rpcsec implementation exporting
from RHEL4 (2.6.9) to FC2 (2.6.9 & 2.6.10) and Solaris (8 & 10).
v4 exports using gss/krb5 work from both FC2 and Solaris 10 clients.
However, for Solaris 8 I'm using v3 with gss/krb5.
The problem I've run into with this, is that in order for the v3
client to mount (even using gss), it must be given sys/unix access too.
That pretty much rules out the nice sleep I could have gotten with all
clients using gss since they could just remount with auth_unix at will.
To work around this, I've modified knfsd and nfs-utils to support an
additional export flag, req_gss. This flag does the same thing as the
secure/insecure flag, however it's checking the rpc auth flavor instead
of the client port. While this solution may have some issues with
RFC2623, it works well for Solaris 8 clients if you have creds at mount
time (kinit from keytab). This will not work for Linux v2/3 clients
since they use auth_unix for the fsinfo/getattr, however I do not
foresee having linux clients that support rpc_auth_gss and NOT v4, so
this isn't really an issue.
/etc/exports looks like:
/home gss/krb5(rw,fsid=0,sync,insecure,no_subtree_check)
/home gss/krb5i(rw,fsid=0,sync,insecure,no_subtree_check)
/home gss/krb5p(rw,fsid=0,sync,insecure,no_subtree_check)
/home *(req_gss,rw,fsid=0,sync,insecure,no_subtree_check)
Does anyone know of a better solution or see problems doing this (other
than incompatibility mentioned above)?
--ben
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next reply other threads:[~2005-03-03 22:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 22:54 Benjamin Bennett [this message]
2005-03-04 19:03 ` NFSv2/3 requiring RPC_AUTH_GSS Trond Myklebust
2005-03-05 6:45 ` J. Bruce Fields
2005-03-05 9:47 ` Benjamin Bennett
2005-03-07 15:50 ` J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1109890493.4361.95.camel@roadrunner.phys.psu.edu \
--to=ben@phys.psu.edu \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.