how to specify nfs authentication flavor?

I know this is a stupid question... But I read the man pages and googled and find nothing. The only hope seems to be nfs_vfsops.c which contains some code extracting "sec" from opt, but I failed to specify sec opt by command line( I tried several combination only getting "mount_nfs: -o sec=: option not supported" or "usage: mount_nfs blahblahblah").

Same question for server side.
 
Which release are you running? I have the following in mount_nfs(8) on both 8.0-RELEASE and -CURRENT:
Code:
             sec=⟨flavor⟩
                     This option specifies what security flavor should be used
                     for the mount.  Currently, they are:

                     krb5 ‐  Use KerberosV authentication
                     krb5i ‐ Use KerberosV authentication and
                             apply integrity checksums to RPCs
                     krb5p ‐ Use KerberosV authentication and
                             encrypt the RPC data
                     sys ‐   The default AUTH_SYS, which uses a
                             uid + gid list authenticator
 
crsd said:
Which release are you running? I have the following in mount_nfs(8) on both 8.0-RELEASE and -CURRENT:
Code:
             sec=⟨flavor⟩
                     This option specifies what security flavor should be used
                     for the mount.  Currently, they are:

                     krb5 ‐  Use KerberosV authentication
                     krb5i ‐ Use KerberosV authentication and
                             apply integrity checksums to RPCs
                     krb5p ‐ Use KerberosV authentication and
                             encrypt the RPC data
                     sys ‐   The default AUTH_SYS, which uses a
                             uid + gid list authenticator
Thanks I. I tried 8.0 release and found these options.... I was running 7.1-RELEASE.
 
Back
Top