[Samba] Netbios Issue

Mike Hobbs mhobbs at mtl.mit.edu
Sat Sep 14 14:41:40 UTC 2024


Hello,

I have been running Samba for many many years and have have not had this 
issue, so I hope someone can point me in the right direction.

I am currently running in production Samba 4.7.7 on RHEL 7.9.  It has 
been running without issue until yesterday.  I am building a new server 
to replace the one currently running Samba, this time with RHEL 8.10 and 
Samba 4.21.0.

On the RH8 machine I downloaded and built from source 4.21.0.  I copied 
the smb.conf file from my current production server over to the new 
server.  I did not change the netbios name as I just assumed (how 
foolish of me) that I would see two Samba servers with the same name.  I 
then ran these two commands:

kinit admin_user at my.domain (I entered my password and got a ticket)
net ads join -U admin_user

When I did this, my production server stopped accepting requests to 
mount shares by the netbios name.  A little more info, in DNS my name 
will be "foo-bar.my.domain" also in DNS is an alias "foobar.my.domain" 
that points back to "foo-bar".  I immediately shutdown the new server 
with 4.21.0.  I then went to my Windows DC and removed the foo-bar name, 
and then re-added the 4.7.7 server back to the domain controller.  It 
added without issue.  But I still can not mount shares via \\foo-bar\share.

I can mount shares using the alias \\foobar\share or the IP address of 
the machine or even \\foo-bar.my.domain\share.  The \\foo-bar\ name 
seems to be cached somewhere and I just can not figure out where it is 
so I can remove it.

Am I making sense?  Sorry for the wall of text.

Thank you for any help you can provide.

mike




More information about the samba mailing list