From: "J. Bruce Fields" <bfields@fieldses.org>
To: Paul Jakma <paul@clubi.ie>
Cc: Per Olofsson <pelle@dsv.su.se>, nfs@lists.sourceforge.net
Subject: Re: NFSv3+Krb5 and mountd
Date: Sun, 29 Aug 2004 22:01:33 -0400 [thread overview]
Message-ID: <20040830020132.GA28919@fieldses.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0408300238530.2441@fogarty.jakma.org>
On Mon, Aug 30, 2004 at 02:41:28AM +0100, Paul Jakma wrote:
> On Tue, 24 Aug 2004, Per Olofsson wrote:
>
> >And it works! I can tell that it uses Kerberos because I can write
> >to the mounted fs if I have a ticket, but not without. The drawback
> >is that I am now allowing AUTH_SYS mounting as well, which I want
> >to avoid. Is this a bug in mountd? Is it difficult to fix?
>
> It's a bug in mountd yes. J Bruce Fields had actually sent me a wee
> patch to try fix it for me to test a good while ago, but I havnt
> gotten back to looking at NFSv3+GSS since then:
This doesn't fix the problem Per Olofsson describes, which is that
unless you use nfsv4, there's no way to export to krb5 without also
exporting vi auth_sys.
Since mountd itself doesn't currently have rpcsec_gss support (and, on
the client side, neither does mount), MOUNT requests are going to use
auth_sys. So mountd is going to decide whether to respond based on
their IP address.
It'd seem that the right solution is to add rpcsec_gss support to mount
and mountd, which shouldn't be a big project, so if you export only to
krb5 then you also answer krb5-protected mount requests. I don't know
whether other clients will like that, though.
--Bruce Fields
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-08-30 2:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 18:41 NFSv3+Krb5 and mountd Per Olofsson
2004-08-30 1:41 ` Paul Jakma
2004-08-30 2:01 ` J. Bruce Fields [this message]
2004-08-30 15:45 ` Per Olofsson
2004-08-30 16:45 ` Trond Myklebust
2004-08-30 17:17 ` J. Bruce Fields
2004-08-30 17:45 ` Trond Myklebust
2004-08-30 18:04 ` J. Bruce Fields
2004-08-30 22:25 ` Trond Myklebust
2004-09-02 15:39 ` J. Bruce Fields
2004-08-30 21:54 ` Per Olofsson
2004-08-30 21:25 ` Per Olofsson
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=20040830020132.GA28919@fieldses.org \
--to=bfields@fieldses.org \
--cc=nfs@lists.sourceforge.net \
--cc=paul@clubi.ie \
--cc=pelle@dsv.su.se \
/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.