[Samba] Getent doesn't show AD users/groups

Rowland penny rpenny at samba.org
Tue Dec 15 15:19:27 UTC 2020

On 15/12/2020 15:06, Alex Orlov via samba wrote:
> @Rowland , @Louis
> Thank you very much for your help. Can you say, if these settings are now correct:
> /etc/hostname
> server1.example.com
No, it should just be 'server1' if your dns domain is 'example.com'
> /etc/hosts
>    localhost
>    server1.example.com
Again no, the '' line should be ' 
server1.example.com server1'
> /etc/resolve.conf
> nameserver
> search server1.example.com

That one is correct, but you had the realm as 'SERVER1.EXAMPLE.COM', so 
what did you use when you provisioned Samba, the realm must match the 
dns domain, or to put it another way, your dns domain must match the 


More information about the samba mailing list