Using samba on RPI4B with buster.
I'm giving a netbios name for the server, but windows 7 PC decides to use the machine name instead.
The shares themselves are OK and access permissions work fine.
Just the PC ignoring of the name I've given to the server is annoying.
smb.conf
Code: Select all
#======================= Global Settings =======================
[global]
workgroup = GGHOME
netbios name = raspnas4b
server string = raspnas4b server
security = user
server max protocol = NT1
ntlm auth = yes
### Logging
log file = /var/log/samba/log.%m
max log size = 1000
panic action = /usr/share/samba/panic-action %d
### Authentication
security = user
map to guest = bad user
#======================= Shared Folders =======================
[rpi4_usbdisk]
path = /media/usbdisk
guest ok = yes
guest account = ftp
browseable = yes
read only = no
create mask = 0777
directory mask = 0777
writeable = yes
admin users = everyone
[rpi4_usbstick]
path = /media/usbstick
guest ok = yes
guest account = ftp
browseable = yes
read only = no
create mask = 0777
directory mask = 0777
writeable = yes
admin users = everyone
Machine name:
Code: Select all
$ hostname
rpi4b
However Windows PC shows the name of the machine RPI4B in the network folder. It has worked before as evidenced by the other RPIs (older OS versions) showing up.

Any help is appreciated.
Thanks,
Gert