[Samba] Fwd: Incorrect client netbios name in %m

Pelle Svensson pelle2004 at gmail.com
Thu Jan 2 11:05:04 MST 2014

I found the problem.
Incorrect hostname on client.
hostname can't be fully qualified when calling samba 4.1.3

---------- Forwarded message ----------
From: Pelle Svensson <pelle2004 at gmail.com>
Date: Thu, Jan 2, 2014 at 6:40 PM
Subject: Incorrect client netbios name in %m
To: samba at lists.samba.org

I have a client (Fedora 19) and a server (Fedora 14/Samba 3.5.11) which
works fine.
I'm now setting up a new server (Fedora 20/Samba 4.1.3) with more or less
the same smb.conf

1. Issuing:
sudo smbclient -L //srv001 -U suser
list all shares correct.

2. Issuing:
sudo mount -t cifs //srv/Share3 /mnt/share3/ -o username=suser
Password for suser@//srv/Share3:  ****
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

My problem is the Clients netbios name in smb.conf
At following line in smb.conf:
include = /etc/samba/include/smb.conf.per-machine.%m

%m include file

In the first case 'smbclient' (1) I see all shares including the one in

But in when I issue 'mount -t cifs' (2) I can only use share from smb.conf.
'per-machine.fedora_f19' is not included.
The reason for that that there is a differens in the netbios name:

>From 'smbclient' (1) -> netbios name is: fedora_f19
>From 'mount -t cifs' (2) -> netbios name is: fedora_f19.domain

Note that the old server works fine and if I explore Networks in Gnome it


More information about the samba mailing list