I am using a domain user.
I ran the cli command. Here is the output:
cluster::> cifs share access-control show -vserver vservername -share sharename$
Share User/Group User/Group Access
Vserver Name Name Type Permission
-------------- ----------- --------------------------- ----------- -----------
vservername sharename$ DOMAIN\username windows Full_Control
When I look in the webgui, the permissions are set correctly. When I run Test-Path in the context of DOMAIN\username:
PS E:\Scripts> Test-Path \\vservername\sharename$
False
This means that DOMAIN\username cannot see the share.
If I delete the ACL created by my PS script using the GUI, then add DOMAIN\username in, the Test-Path works. Looking at the output of the same commands as above it looks the same.
cluster::> cifs share access-control show -vserver vnausfsl01 -share vol_vnausfsl01_GIAHome01_daily$
Share User/Group User/Group Access
Vserver Name Name Type Permission
-------------- ----------- --------------------------- ----------- -----------
vservername sharename$ DOMAIN\username windows Full_Control
PS E:\Scripts> Test-Path \\vservername\sharename$
True
Now DOMAIN/username can see the share.
Is there some logging I can look at? I do not understand how it works from the webgui, but not from PS.