[Samba] Samba DNS Accounts

Rowland Penny rpenny at samba.org
Wed Sep 22 20:10:46 UTC 2021


On Wed, 2021-09-22 at 21:53 +0200, Imre László via samba wrote:
> Yes, I know. I opened that thread. In april, when opened I've tried 
> another hostname of course. The proiblem is that two DNS account
> created 
> on the primary DC, Zentyal should use the short version (dns-
> HOSTNAME), 
> but samba_upgradedns adds the long version (dns-FQDN). The latter is 
> bad, I think.

Normally samba_upgradedns only adds the DC's short hostname to the dns-
account. It gets this from the DC's dNSHostName attribute in AD. The
contents of the attribute should be the DC's fqdn and the
samba_upgradedns code removes the dns domain e.g. if the DC's fqdn is
'dc1.samdom.example.com', the short hostname would be 'dc1' and the dns
account would be 'dns-dc1'.
It is possible that, somehow, the attribute contains something like
'dc1.samdom.example.com.samdom.example.com' 

Rowland





More information about the samba mailing list