Alastair Neil
2009-Feb-28 03:03 UTC
[zfs-discuss] possibly a stupid question, why can I not set sharenfs="sec=krb5, rw"?
x86 snv 108 I have a pool with around 5300 file systems called home. I can do: zfs set sharenfs=on home however zfs set sharenfs="sec=krb5,rw" home complains: cannot set property for ''home'': ''sharenfs'' cannot be set to invalid options I feel I must be overlooking something elementary. Thanks, Alastair -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090227/795e8c34/attachment.html>
Tim Haley
2009-Feb-28 03:32 UTC
[zfs-discuss] possibly a stupid question, why can I not set sharenfs="sec=krb5, rw"?
Alastair Neil wrote:> x86 snv 108 > > I have a pool with around 5300 file systems called home. I can do: > > zfs set sharenfs=on home > > however > > zfs set sharenfs="sec=krb5,rw" home > > complains: > > cannot set property for ''home'': ''sharenfs'' cannot be set to invalid options > > I feel I must be overlooking something elementary. > > > > Thanks, Alastair > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discussDoes a by-hand share succeed? I.e, share -F nfs -o sec=krb5,rw /home ? -tim
Alastair Neil
2009-Feb-28 03:59 UTC
[zfs-discuss] possibly a stupid question, why can I not set sharenfs="sec=krb5, rw"?
On Fri, Feb 27, 2009 at 10:32 PM, Tim Haley <tim.haley at sun.com> wrote:> Alastair Neil wrote: > >> x86 snv 108 >> >> I have a pool with around 5300 file systems called home. I can do: >> >> zfs set sharenfs=on home >> >> however >> >> zfs set sharenfs="sec=krb5,rw" home >> >> complains: >> >> cannot set property for ''home'': ''sharenfs'' cannot be set to invalid >> options >> >> I feel I must be overlooking something elementary. >> >> >> >> Thanks, Alastair >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > > Does a by-hand share succeed? > > I.e, share -F nfs -o sec=krb5,rw /home > > ? > > -timNo, it says invalid security type. I am clearly missing something elementary. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090227/d3bc9906/attachment.html>
Alastair Neil
2009-Feb-28 04:25 UTC
[zfs-discuss] possibly a stupid question, why can I not set sharenfs="sec=krb5, rw"?
On Fri, Feb 27, 2009 at 10:59 PM, Alastair Neil <ajneil at gmail.com> wrote:> > > On Fri, Feb 27, 2009 at 10:32 PM, Tim Haley <tim.haley at sun.com> wrote: > >> Alastair Neil wrote: >> >>> x86 snv 108 >>> >>> I have a pool with around 5300 file systems called home. I can do: >>> >>> zfs set sharenfs=on home >>> >>> however >>> >>> zfs set sharenfs="sec=krb5,rw" home >>> >>> complains: >>> >>> cannot set property for ''home'': ''sharenfs'' cannot be set to invalid >>> options >>> >>> I feel I must be overlooking something elementary. >>> >>> >>> >>> Thanks, Alastair >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> zfs-discuss mailing list >>> zfs-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >>> >> >> Does a by-hand share succeed? >> >> I.e, share -F nfs -o sec=krb5,rw /home >> >> ? >> >> -tim > > > > > No, it says invalid security type. I am clearly missing something > elementary. >Do''oh I can tell it''s been a while since I did this - forgot to uncomment the correct lines in /etc/nfssec.conf -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090227/af912018/attachment.html>
Nicolas Williams
2009-Feb-28 05:54 UTC
[zfs-discuss] possibly a stupid question, why can I not set sharenfs="sec=krb5, rw"?
On Fri, Feb 27, 2009 at 11:25:42PM -0500, Alastair Neil wrote:> I can tell it''s been a while since I did this - forgot to uncomment the > correct lines in /etc/nfssec.confYou''re not the only one who gets tripped up by this. If you use kclient(1M) then that won''t happen, but preferably /etc/nfssec.conf should never need changing, and that is another [long] story that I don''t have swapped in right now. Nico --