Public bug reported:

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

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1864853

Title:
  netbios name directive causes permission errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1864853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to