Page 1 of 1

LAN Plugin /Ubuntu 20.04

Posted: 2021-07-07, 18:31 UTC
by bck128
Cannot connect to samba shares on Ubuntu 20.14. Windows, Mac, Linux machines have no problems. All permissions are correct. Various voodoo rituals like changing to IP instead of the netbios name don't work. What interesting is that the same config on Ubuntu 12.04 works flawless.
Plugin settings :
Server Name: BCK-UBUNTU
User name: no - guests are allowed on the server
Password: no - guests are allowed on the server
SMB2: no
Older NAS...: no
Use old name: no
Response: STATUS_ACCESS_DENIED(322122500

Samba config:

[global]
logging = file
server string = %h server (Samba, Ubuntu)
unix password sync = yes
workgroup = bcknetwork
netbios name = BCK-UBUNTU
server role = standalone server
passwd program = /usr/bin/passwd %u
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d
max log size = 1000
map to guest = bad user
os level = 20
pam password change = yes
default = Net_Drive
obey pam restrictions = yes
log file = /var/log/samba/log.%m
auto services = Net_Drive
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

[Public]
path = /home/vladimir/Public
writeable = yes
browseable = yes
guest ok = yes

[Net_Drive]
path = /Net_Drive
writeable = yes
browseable = yes
guest ok = yes

Re: LAN Plugin /Ubuntu 20.04

Posted: 2021-07-09, 09:05 UTC
by ghisler(Author)
User name: no - guests are allowed on the server
Password: no - guests are allowed on the server
Here is your problem - my plugin does not support a login without user name and password. That's because Windows does not support sharing without user name and password.

Re: LAN Plugin /Ubuntu 20.04

Posted: 2021-07-12, 17:59 UTC
by bck128
ghisler(Author) wrote: 2021-07-09, 09:05 UTC
User name: no - guests are allowed on the server
Password: no - guests are allowed on the server
Here is your problem - my plugin does not support a login without user name and password. That's because Windows does not support sharing without user name and password.
Thank you. That really helped. An interesting thing is though that it worked well without user/password in Ubuntu 12.04.