All of lore.kernel.org
 help / color / mirror / Atom feed
* NFSv2/3 requiring RPC_AUTH_GSS
@ 2005-03-03 22:54 Benjamin Bennett
  2005-03-04 19:03 ` Trond Myklebust
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Bennett @ 2005-03-03 22:54 UTC (permalink / raw)
  To: nfs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-07 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-03 22:54 NFSv2/3 requiring RPC_AUTH_GSS Benjamin Bennett
2005-03-04 19:03 ` 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

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.