netbios name directive causes permission errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
If the hostname has more than 15 characters we use the netbios name directive to overcome the problem, e.g. netbios name = mysamba in the samba server configuration
This can cause several kinds of malfunction on the client machine, of which the following is most important and reproducible:
A share defined as
[Dokumente]
path = /home/myname/
writeable = yes
valid users = myname
can be mounted on the client as smb://mysamba/
Error message: no permission.
samba server machine:
Description: Ubuntu 14.04.6 LTS
Release: 14.04
samba:
Installiert: 2:4.3.11+
Installations
samba client machine:
Description: Ubuntu 18.04.4 LTS
Release: 18.04
smbclient:
Installiert: 2:4.7.6+
Installations
We expected the share to be writeable by user 'myname'.
Instead the share is readable but produces permission denied errors when we try to save file or create a directory.
With a hostname with 15 characters or less and without the netbios name directive everything works normal (no further change in smb.conf).
Hello and thank you for taking the time to file this bug report. According to the bug description you are running Ubuntu 14.04 on your samba server machine. This release reached its end of life on April 30, 2019 and it is not supported anymore. Is it possible for you to check if the same problem happens when using Ubuntu 18.04 (the current LTS release)?
While waiting for more information I'm setting the status of this bug to Incomplete. Please set it back to New after commenting back and we'll look at it again. Thanks!