Network Storage Protocols Discussions

cifs share with default permissions everyone/Full control asks for username/password

Hello

I already don't know how to fix it. If create a share that has default permissins everyone/Full control I would expect that I can connect it w/o problems right after the creation from everywhere and with whatever account. But it asks for credentials. I don't understand this. Can anybody explain to my what is wrong??

Thank you

 

BTW I set the export policy for this share to be accessible from everywhere.

5 REPLIES 5

Re: cifs share with default permissions everyone/Full control asks for username/password

Hello, 

 

In your case, it's depend about your share

Can you see us the share ?

by :

vserver cifs share show

 And answer some questions:

- Wath's your cDOT version ?

- Are you in AD environnement ?

 

Cedric 

Re: cifs share with default permissions everyone/Full control asks for username/password

aff::> cifs share show
Vserver        Share         Path              Properties Comment  ACL
-------------- ------------- ----------------- ---------- -------- -----------
svm1           admin$        /                 browsable  -        -
svm1           c$            /                 oplocks    -        BUILTIN\Administrators / Full Control
                                               browsable
                                               changenotify
                                               show-previous-versions
svm1           cifsdata      /svm1_data        oplocks    -        Everyone / Full Control
                                               browsable
                                               changenotify
                                               show-previous-versions
svm1           ipc$          /                 browsable  -        -

ontap 9.3P11

no domain, just workgroup

Thank you

Re: cifs share with default permissions everyone/Full control asks for username/password

Oki, in your case, the right question is :

- The guest user is activated ?

To activate the guest user cifs follow this procédure to activate it and bypass the user login :

See the doc :  https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.cdot-famg-cifs%2FGUID-76186CB7-BFD0-4EA1-9CA5-07DC8D6A2BAF.html

 

  1. Set the privilege level to advanced:set -privilege advanced
  2. Configure the restrict anonymous setting:vserver cifs options modify -vserver vserver_name -restrict-anonymous {no-restriction|no-enumeration|no-access}
  3. Verify that the option is set to the desired value:vserver cifs options show -vserver vserver_name
  4. Return to the admin privilege level:set -privilege admiEnjoy 

Re: cifs share with default permissions everyone/Full control asks for username/password

there is 

no-restriction

so it sould work Smiley Sad

Re: cifs share with default permissions everyone/Full control asks for username/password

You need to apply the export policy also to the root volume of the SVM (the root where you mount your data volumes). Then it works. Smiley Frustrated

Forums