netbios name directive causes permission errors

Bug #1864853 reported by arcasys
6
This bug affects 1 person
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/Dokumente
        writeable = yes
        valid users = myname

can be mounted on the client as smb://mysamba/dokumente/ by user myname but cannot be written to.
Error message: no permission.

samba server machine:
Description: Ubuntu 14.04.6 LTS
Release: 14.04
samba:
  Installiert: 2:4.3.11+dfsg-0ubuntu0.14.04.20
  Installationskandidat: 2:4.3.11+dfsg-0ubuntu0.14.04.20

samba client machine:
Description: Ubuntu 18.04.4 LTS
Release: 18.04
smbclient:
  Installiert: 2:4.7.6+dfsg~ubuntu-0ubuntu2.15
  Installationskandidat: 2:4.7.6+dfsg~ubuntu-0ubuntu2.15

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).

Revision history for this message
Paride Legovini (paride) wrote :

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!

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.