<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic wondering how the negotiation of the sec level work in nfsv4 in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448184#M42844</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have a problem with a centos7 server and a netapp cluster&lt;/P&gt;&lt;P&gt;my cluster is using dataontap 9.13P1&lt;/P&gt;&lt;P&gt;when i try to mount a volume for a svm i got the sec=null&lt;/P&gt;&lt;P&gt;cng-svm-seq-647-h05.cng.fr:/v_joliotcurix on /env/export/v_joliotcurix type nfs4 (rw,nosuid,nodev,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=null,clientaddr=195.83.222.84,local_lock=none,addr=172.24.138.81)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but another volume i got sec=sys&lt;BR /&gt;cng-svm-ng-647-h06.cnrgh.fr:/q_images on /env/export/container_images type nfs4 (rw,nosuid,nodev,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=195.83.222.84,local_lock=none,addr=172.24.138.63)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuraiton of the nfs server on the two svm are purely identical.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when i force the first mount with the option sec=sys i got no error and it work as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there some way i can debug this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 13:30:12 GMT</pubDate>
    <dc:creator>grocanar</dc:creator>
    <dc:date>2023-10-13T13:30:12Z</dc:date>
    <item>
      <title>wondering how the negotiation of the sec level work in nfsv4</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448184#M42844</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i have a problem with a centos7 server and a netapp cluster&lt;/P&gt;&lt;P&gt;my cluster is using dataontap 9.13P1&lt;/P&gt;&lt;P&gt;when i try to mount a volume for a svm i got the sec=null&lt;/P&gt;&lt;P&gt;cng-svm-seq-647-h05.cng.fr:/v_joliotcurix on /env/export/v_joliotcurix type nfs4 (rw,nosuid,nodev,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=null,clientaddr=195.83.222.84,local_lock=none,addr=172.24.138.81)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but another volume i got sec=sys&lt;BR /&gt;cng-svm-ng-647-h06.cnrgh.fr:/q_images on /env/export/container_images type nfs4 (rw,nosuid,nodev,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=195.83.222.84,local_lock=none,addr=172.24.138.63)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuraiton of the nfs server on the two svm are purely identical.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when i force the first mount with the option sec=sys i got no error and it work as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there some way i can debug this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 13:30:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448184#M42844</guid>
      <dc:creator>grocanar</dc:creator>
      <dc:date>2023-10-13T13:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: wondering how the negotiation of the sec level work in nfsv4</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448188#M42845</link>
      <description>&lt;P&gt;i have mad another test&lt;/P&gt;&lt;P&gt;i create a test volume&amp;nbsp;&lt;/P&gt;&lt;P&gt;i put this export policy&amp;nbsp;&lt;/P&gt;&lt;P&gt;vserver export-policy rule create -vserver cns_svm_seq -clientmatch 195.83.222.84 -rorule sys -policyname test -rwrule sys&lt;/P&gt;&lt;P&gt;when i mount the share without option&amp;nbsp; i got&amp;nbsp;&lt;BR /&gt;cns-svm-seq-647-n12.seq.local:/test on /mnt type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=&lt;BR /&gt;195.83.222.84,local_lock=none,addr=172.24.138.73)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Then the negociation succeeded&lt;BR /&gt;if i change the export policy&amp;nbsp;&lt;BR /&gt;vserver export-policy rule modify -vserver cns_svm_seq -clientmatch 195.83.222.84 -rorule any -policyname test -rwrule any -ruleindex 1&lt;/P&gt;&lt;P&gt;then when i launch the same command aka a mount without specifying the sec value i got&amp;nbsp;&lt;BR /&gt;cns-svm-seq-647-n12.seq.local:/test on /mnt type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=null,clientaddr&lt;BR /&gt;=195.83.222.84,local_lock=none,addr=172.24.138.73)&lt;/P&gt;&lt;P&gt;the negotiation failed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 13:48:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448188#M42845</guid>
      <dc:creator>grocanar</dc:creator>
      <dc:date>2023-10-13T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: wondering how the negotiation of the sec level work in nfsv4</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448213#M42847</link>
      <description>&lt;P&gt;It may be the client is trying to use a security mechanism that is not supported by ONTAP.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’m not a fan of using “any” for the auth mechanisms I prefer to use sys unless I know the client will be doing something else&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 18:23:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/448213#M42847</guid>
      <dc:creator>TMACMD</dc:creator>
      <dc:date>2023-10-14T18:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: wondering how the negotiation of the sec level work in nfsv4</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/459090#M44760</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I got the problem again and i further investigate.&amp;nbsp;&lt;BR /&gt;i tcpdump the request and got the response for negotiation&amp;nbsp;&lt;BR /&gt;Here is the answer from the netapp for a SECINFO&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Opcode: SECINFO_NO_NAME (52)
            Status: NFS4_OK (0)
            Flavors Info
                num: 5
                flavor: AUTH_NULL (0)                     &amp;lt;===== 
                flavor: RPCSEC_GSS (6)
                    oid: &amp;lt;DATA&amp;gt;
                        length: 9
                        contents: &amp;lt;DATA&amp;gt;
                        fill bytes: opaque data
                    qop: 0
                    service: rpcsec_gss_svc_privacy (3)
                flavor: RPCSEC_GSS (6)
                    oid: &amp;lt;DATA&amp;gt;
                        length: 9
                        contents: &amp;lt;DATA&amp;gt;
                        fill bytes: opaque data
                    qop: 0
                    service: rpcsec_gss_svc_integrity (2)
                flavor: RPCSEC_GSS (6)
                    oid: &amp;lt;DATA&amp;gt;
                        length: 9
                        contents: &amp;lt;DATA&amp;gt;
                        fill bytes: opaque data
                    qop: 0
                    service: rpcsec_gss_svc_none (1)
                flavor: AUTH_UNIX (1)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I guess the problem is with with AUTH_NULL at the first place&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 10:43:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/wondering-how-the-negotiation-of-the-sec-level-work-in-nfsv4/m-p/459090#M44760</guid>
      <dc:creator>grocanar</dc:creator>
      <dc:date>2025-03-04T10:43:46Z</dc:date>
    </item>
  </channel>
</rss>

