[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
> 127.0.0.1 localhost
> 172.16.0.1 server1.example.com
Again no, the '172.16.0.1' line should be '172.16.0.1
server1.example.com server1'
>
> /etc/resolve.conf
> nameserver 172.16.0.1
> 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
REALM in AD.
Rowland
More information about the samba
mailing list