Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: barnum on July 26, 2019, 04:30:23 pm

Title: Error saving dns configuration
Post by: barnum on July 26, 2019, 04:30:23 pm
Hi All,

the password of my dns user have expired, so I modify it using this command :
samba-tool user setpassword dns-ubuntu
But now I have this error :
Code: [Select]
eval {...} at /usr/share/zentyal/global-action line 30
2019/07/26 16:23:16 ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-ubuntu failed.
Error output: kinit: Password incorrect

Command output: .
Can someone help me to solve this PB?

Thanks
Title: Re: Error saving dns configuration
Post by: doncamilo on July 27, 2019, 12:08:17 am
 :o
You shouldn't have changed the dns built in user password. In order to fix your primitive issue it would have been sufficient with this command:
Code: [Select]
sudo samba-tool user setexpiry <dns-user> --noexpiry
Read this: https://wiki.samba.org/index.php/Dns_tkey_negotiategss:_TKEY_is_unacceptable#Verifying_the_dns.keytab_File_Content (https://wiki.samba.org/index.php/Dns_tkey_negotiategss:_TKEY_is_unacceptable#Verifying_the_dns.keytab_File_Content)
Specially "Verifying the dns.keytab File Content" and "Verifying That the BIND AD Account Exists for the DC"
This should fix your system.
Cheers!
Title: Re: Error saving dns configuration
Post by: JonathanTest on July 30, 2019, 08:34:56 am
To change your DNS server to Google's DNS server, go to your Network Connections settings. Right-click the Start menu and select "Network Connections", or go to Settings and click" Network & Internet". ... Click "OK" to save changes and check if this helps to fix the problem with the "DNS server is not responding" error. You can find detailed steps to fix the 'DNS server isn't responding' Error here:  https://docsbay.net/how-to-easily-fix-the-dns-server-isnt-responding-error-on-windows-10  Hopefully it helps !