Re: [Freeipa-users] bit OT: trouble getting nfsv4 with kerberos with ipa and opensolaris

2013-04-13 Thread Sigbjorn Lie

No that syntax is correct.

# zfs create p00/test
# zfs set sharenfs='sec=krb5' p00/test

No errors on my system. But have you remembered to enable krb5 in 
/etc/nfssec.conf? It is not enabled by default.


You may read this thread I wrote a while back for how to make 
NexentaStor work with FreeIPA. It will be the same setup for openindiana:


https://www.redhat.com/archives/freeipa-users/2011-July/msg00033.html



Rgds,
Siggi


On 04/13/2013 01:16 PM, Natxo Asenjo wrote:

# zfs set sharenfs='sec=krb5' rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot be set 
to invalid options


I am starting to think this is a bug in illumos,


Thanks anyway!

--
Groeten,
natxo


On Fri, Apr 12, 2013 at 11:57 PM, Sigbjorn Lie > wrote:


zfs set sharenfs='sec=krb5' pool/dataset


Natxo Asenjo mailto:natxo.ase...@gmail.com>> wrote:

hi,

thanks, still not working though:

# share -F nfs -o "sec=krb5" -d "homedirs" /export/home
Could not share: /export/home: invalid security type

 # zfs set sharenfs="sec"="krb5" rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot
be set to invalid options

# zfs set "sharenfs"="sec"="krb5" rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot
be set to invalid options

# zfs set sharenfs=sec="krb5" rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot
be set to invalid options

# zfs set sharenfs=sec=krb5 rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot
be set to invalid options

# zfs set "sharenfs=sec=krb5" rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot
be set to invalid options


--
Groeten,
natxo


On Fri, Apr 12, 2013 at 11:30 PM, Sigbjorn Lie
mailto:sigbj...@nixtra.com>> wrote:

Your syntax seem correct but you need to quote the value.



-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.





___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] bit OT: trouble getting nfsv4 with kerberos with ipa and opensolaris

2013-04-13 Thread Natxo Asenjo
# zfs set sharenfs='sec=krb5' rpool/export/home
cannot set property for 'rpool/export/home': 'sharenfs' cannot be set to
invalid options

I am starting to think this is a bug in illumos,


Thanks anyway!

--
Groeten,
natxo


On Fri, Apr 12, 2013 at 11:57 PM, Sigbjorn Lie  wrote:

> zfs set sharenfs='sec=krb5' pool/dataset
>
>
> Natxo Asenjo  wrote:
>>
>> hi,
>>
>> thanks, still not working though:
>>
>> # share -F nfs -o "sec=krb5" -d "homedirs" /export/home
>> Could not share: /export/home: invalid security type
>>
>>  # zfs set sharenfs="sec"="krb5" rpool/export/home
>> cannot set property for 'rpool/export/home': 'sharenfs' cannot be set to
>> invalid options
>>
>> # zfs set "sharenfs"="sec"="krb5" rpool/export/home
>> cannot set property for 'rpool/export/home': 'sharenfs' cannot be set to
>> invalid options
>>
>> # zfs set sharenfs=sec="krb5" rpool/export/home
>> cannot set property for 'rpool/export/home': 'sharenfs' cannot be set to
>> invalid options
>>
>> # zfs set sharenfs=sec=krb5 rpool/export/home
>> cannot set property for 'rpool/export/home': 'sharenfs' cannot be set to
>> invalid options
>>
>> # zfs set "sharenfs=sec=krb5" rpool/export/home
>> cannot set property for 'rpool/export/home': 'sharenfs' cannot be set to
>> invalid options
>>
>>
>> --
>> Groeten,
>> natxo
>>
>>
>> On Fri, Apr 12, 2013 at 11:30 PM, Sigbjorn Lie wrote:
>>
>>> Your syntax seem correct but you need to quote the value.
>>>
>>
>>
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users