From: "François Valenduc" <francois.valenduc@skynet.be>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Kevin Coffman <kwc@umich.edu>, linux-nfs@vger.kernel.org
Subject: Re: nfs and kerberos authentification problem.
Date: Thu, 04 Sep 2008 20:53:09 +0200 [thread overview]
Message-ID: <48C02E95.1000406@skynet.be> (raw)
In-Reply-To: <20080904183934.GO4536@fieldses.org>
J. Bruce Fields a =C3=A9crit :
> On Thu, Sep 04, 2008 at 07:58:56PM +0200, Fran=C3=A7ois Valenduc wrot=
e:
> =20
>> J. Bruce Fields a =C3=A9crit :
>> =20
>>> On Thu, Sep 04, 2008 at 07:41:17PM +0200, Fran=C3=A7ois Valenduc wr=
ote:
>>> =20
>>> =20
>>>> J. Bruce Fields a =C3=A9crit :
>>>> =20
>>>> =20
>>>>> On Thu, Sep 04, 2008 at 07:31:11PM +0200, Fran=C3=A7ois Valenduc =
wrote:
>>>>> =20
>>>>> =20
>>>>>> I had indeed forgot to add sec=3Dkrb5 to the export options. But=
=20
>>>>>> even if I add it, it doesn't change anything.
>>>>>> =20
>>>>>> =20
>>>>> OK, and you re-exported? (Just to double-check--what does export=
fs -v
>>>>> say?)
>>>>>
>>>>> =20
>>>>> =20
>>>>>> Is it really possible to use krb5 authentification with nfs ? I=
have
>>>>>> read a lot of howto and follow the instructions and it never
>>>>>> succeeds...
>>>>>> =20
>>>>>> =20
>>>>> I'm sorry you've had trouble with it, but yes, it definitely work=
s--I
>>>>> use it every day.
>>>>>
>>>>> --b.
>>>>>
>>>>> =20
>>>>> =20
>>>> So, here is the output of exportfs -v relating to my home folder:
>>>> /home/francois =20
>>>> ordi-francois(rw,wdelay,root_squash,no_subtree_check,sec=3Dkrb5,rw=
,root_squash,no_all_squash)
>>>>
>>>> =20
>>>> =20
>>> Actually, I forgot, if you're using v3, you probably need to allow
>>> auth_sys mounts as well:
>>>
>>> sec=3Dsys:krb5
>>>
>>> (Fixed in the latest kernel git, but that's not released yet.)
>>>
>>> --b.
>>>
>>> =20
>>> =20
>> I have changed it and it's still the same. The main problem seems to=
be =20
>> the uid and gid mapping. I still get this line:
>>
>> clnt: nfs-dcgn+4npE+/HutES1ELsHGk/OX1frD/lW0UTeDyZ6EE@public.gmane.org, uid: -1, gid: =
=20
>> -1, num aux =
grps:=20
>> 0
>> =20
>
> Nah, that's normal--I get the same thing, and everything still works.
>
> Unless maybe the directory you're exporting really requires a particu=
lar
> uid? What are the permissions on the directory you're exporting?
>
> --b.
>
> =20
>> But, exportfs -v now gives the following:
>> /home/francois =20
>> ordi-francois(rw,wdelay,root_squash,no_subtree_check,sec=3Dsys:krb5,=
rw,root_squash,no_all_squash)
>>
>> The line in fstab on the client is the following:
>> pc-francois:/home/francois /mnt/pc-francois nfs =20
>> rw,noatime,rsize=3D1024,wsize=3D1024,soft,sec=3Dkrb5,noauto,users 0 =
0
>>
>> What else should I do ? I can get a krb5 ticket but this is not enou=
gh =20
>> to mount the filesystem.
>>
>> Fran=C3=A7ois
>> =20
>
> =20
It's my home directory, so it has normal permission for such a director=
y:
drwxrwsr-x 77 francois francois 4,0K sep 4 20:43 francois/
I don't think there is someting strange with this. I start running out=20
of ideas to get it working. I have reenabled nfs4 (which I also tried)=20
and it give the same problem. In order to do that, I off course changed=
=20
the exports file like this;
/export/francois=20
ordi-francois(nohide,rw,root_squash,no_subtree_check,sec=3Dsys:krb5)
And it is not yet working...
=46ran=C3=A7ois
=46ran=C3=A7ois
next prev parent reply other threads:[~2008-09-04 18:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 18:19 nfs and kerberos authentification problem François Valenduc
2008-09-03 20:12 ` Kevin Coffman
[not found] ` <4d569c330809031312p3515f4d8id9cbec94d871e058-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-04 16:45 ` François Valenduc
2008-09-04 16:56 ` J. Bruce Fields
2008-09-04 17:31 ` François Valenduc
2008-09-04 17:33 ` J. Bruce Fields
2008-09-04 17:41 ` François Valenduc
2008-09-04 17:49 ` J. Bruce Fields
2008-09-04 17:58 ` François Valenduc
2008-09-04 18:39 ` J. Bruce Fields
2008-09-04 18:53 ` François Valenduc [this message]
2008-09-04 18:59 ` J. Bruce Fields
2008-09-04 19:31 ` Kevin Coffman
[not found] ` <4d569c330809041231wcbddde8w419968280de9e39a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-04 19:38 ` François Valenduc
2008-09-04 19:40 ` J. Bruce Fields
2008-09-04 19:41 ` J. Bruce Fields
2008-09-04 19:56 ` François Valenduc
2008-09-05 18:36 ` François Valenduc
2008-09-05 18:57 ` François Valenduc
2008-09-05 21:26 ` J. Bruce Fields
2008-09-05 21:23 ` 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=48C02E95.1000406@skynet.be \
--to=francois.valenduc@skynet.be \
--cc=bfields@fieldses.org \
--cc=kwc@umich.edu \
--cc=linux-nfs@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox