dlandon / unassigned.devices

Unassigned Devices plugin for unRAID
Other
85 stars 40 forks source link

Enable Guest Access for SMB Shares #75

Closed simoneluconi closed 2 years ago

simoneluconi commented 2 years ago

I'm trying to access a smb shared with guest access, but it seems like this is not possible? If i try to leave empty the username and password field it still tries to use the credential file. This is the log:

Nov 22 13:43:58 HomeServer unassigned.devices: Mounting Remote SMB/NFS Share '//192.168.8.122/Public'...
Nov 22 13:43:58 HomeServer unassigned.devices: Mount SMB share '//192.168.8.122/Public' using SMB default protocol.
Nov 22 13:43:58 HomeServer unassigned.devices: Mount SMB command: /sbin/mount -t 'cifs' -o rw,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,credentials='/tmp/unassigned.devices/credentials_Public' '//192.168.8.122/Public' '/mnt/remotes/192.168.8.122_Public'
Nov 22 13:43:58 HomeServer kernel: CIFS: Attempting to mount //192.168.8.122/Public
Nov 22 13:43:58 HomeServer kernel: CIFS: VFS: \\192.168.8.122 failed to connect to IPC (rc=-13)
Nov 22 13:43:58 HomeServer kernel: CIFS: VFS: cifs_mount failed w/return code = -13

with cifs normally i use the guest parameter, for example: guest,rw,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100

It's possible to add this feature? Or am i missing something? Thanks.

dlandon commented 2 years ago

Please post this on the Unraid forum so all can see the issue and solution.