This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
join_samba4_as_additional_dc [2015/09/10 22:30] cbustillo [Configure DNS Server] |
join_samba4_as_additional_dc [2020/04/10 17:38] (current) |
||
---|---|---|---|
Line 205: | Line 205: | ||
You can seize all five roles: rid, schema, naming, pdc and infrastructure (you can use "--role=all" to seize all at once). | You can seize all five roles: rid, schema, naming, pdc and infrastructure (you can use "--role=all" to seize all at once). | ||
+ | |||
+ | ====== Known issues and ways to fix/workaround ====== | ||
+ | ---- | ||
+ | |||
+ | If after join Samba4 as second domain controllers you receive the following error in the second DC in the logs file o after running manually "samba_dnsupdate --verbose": | ||
+ | |||
+ | <code> | ||
+ | /usr/sbin/samba_dnsupdate: update failed: NOTAUTH | ||
+ | /usr/sbin/samba_dnsupdate: update failed: NOTAUTH | ||
+ | /usr/sbin/samba_dnsupdate: update failed: NOTAUTH | ||
+ | /usr/sbin/samba_dnsupdate: update failed: NOTAUTH | ||
+ | /usr/sbin/samba_dnsupdate: update failed: NOTAUTH | ||
+ | /usr/sbin/samba_dnsupdate: update failed: NOTAUTH | ||
+ | </code> | ||
+ | |||
+ | To solve the above, in the second DC (recently joined) put like dns server the DC1's IP address, ie: | ||
+ | /etc/resolv.conf | ||
+ | |||
+ | <code> | ||
+ | search yourdomain.com | ||
+ | nameserver ip-of-dc2 | ||
+ | nameserver ip-of-dc1 | ||
+ | </code> | ||
+ | |||
+ | Finally restart Samba o run: | ||
+ | |||
+ | <code> | ||
+ | # samba_dnsupdate --verbose | ||
+ | </code> | ||
+ | |||
+ | No you can see that all record are added successfully!!! | ||
====== A note on DNS updates ====== | ====== A note on DNS updates ====== |