Public bug reported: I have an anonymous-access share on a Windows 2012 server that I'm trying to mount from Ubuntu 14.04. I can access the share via smbclient as expected:
$ smbclient -N //foo.example.com/MyShare Anonymous login successful Domain=[LAB9320] OS=[Windows Server 2012 Standard 9200] Server=[Windows Server 2012 Standard 6.2] smb: \> ls . D 0 Wed Nov 5 11:46:22 2014 .. D 0 Wed Nov 5 11:46:22 2014 test D 0 Wed Nov 5 01:58:42 2014 51111 blocks of size 4194304. 41916 blocks available However, I can't get the share to mount at all via mount.cifs: $ sudo mount.cifs //foo.example.com/MyShare /mnt/test -o file_mode=0777,dir_mode=0777,uid=500,gid=124,noperm,guest,sec=none mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) For reference, I've modified the following settings in secpol.msc > Security Settings > Local Policies > Security Options on the Windows server to enable anonymous access to the share: 1. Network access: Do not allow anonymous enumeration of SAM accounts and shares: Disabled 2. Network access: Let everyone permissions apply to anonymous users: Enabled 3. Network access: Restrict anonymous access to Named Pipes and shares: Disabled 4. Network access: Shares that can be accessed anonymously: MyShare In addition, I've given the following local SIDs "Full Control" of the share and the folder itself: Everyone, Guest, and ANONYMOUS LOGON. Please note that the Guest account is NOT enabled on this system, for security purposes (I don't want guest auth, I want anonymous auth). ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1389919 Title: Anonymous authentication does not work with mount.cifs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1389919/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs