[Samba] I can't login into my Linux client with Samba DC users.

Rowland Penny rpenny at samba.org
Wed Jul 21 09:20:28 UTC 2021


On Wed, 2021-07-21 at 08:54 +0000, Jason Long via samba wrote:
> Hello,
> Thanks.
> I changed the "/etc/hostname" file and it only included "node3", then
> I did below commands:
> 
> # hostname -d
> mydomain.z
> # hostname -s
> node3
> # hostname -f
> node3.mydomain.z
> 
> After it, I rejoined my Linux client:
> 
> # net ads join -U administrator
> 
> And it showed me:
> 
> Using short domain name -- MYDOMAIN
> Joined 'NODE3' to dns domain 'mydomain.z
> 
> But, I can't use my Samba DC usernames for logging into the Linux
> client.
> 

Sounds like you need to set up the winbind links, see here:

https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC#
Libnss_winbind_Links

I know that is for a DC, but it is the same on a Unix domain member if
you compile Samba yourself.

Rowland





More information about the samba mailing list