[Samba] adding netbios name stops getent from working

Rowland penny rpenny at samba.org
Wed Apr 14 16:37:14 UTC 2021


On 14/04/2021 17:29, Jason Keltz via samba wrote:
> Hi.
>
> I have a Samba file server which is part of an AD domain.  I can ssh 
> to the server using my AD username/password.  I can also mount my home 
> directory under Windows.  Everything works as I expect. However, I 
> need to give the server an alias.  If I use "netbios name" to set that 
> alias in smb.conf, then "getent passwd <user>" stops working, and I 
> can no longer login.  Why is that?
>
> Jason.
>
>

It would be 'netbios alias' except that would require SMBv1 and you 
probably have it turned off, not to mention that AD uses dns instead of 
netbios.

Why do 'need' to give it an alias ?

If you must give it an alias, do a search on 'CNAME'

Rowland





More information about the samba mailing list