Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: gabor.strama on January 27, 2019, 07:33:58 pm

Title: Zentyal dns update or retsart issue
Post by: gabor.strama on January 27, 2019, 07:33:58 pm
Hi!

I faced whith the following issue:
- When i try to cerate new dns record or try to modifie some dns record over the webadmin, i got error message on the webadmin page.
And this in the zentyal.log: 2019/01/27 19:26:21 ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/kwvOrGMAZG failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0)

- When i try to restart the dns service the service has been log  same error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0)

When i try to run the nsupdate command manualy: the error message is same.

The other symptoms
- the new record is not resolved
- only the server name is resolved.

Please somebody help me!

Thanks!
Title: Re: Zentyal dns update or retsart issue
Post by: JLLEWELYN on January 27, 2019, 10:33:49 pm
Enter this command via console or via SSH:
Code: [Select]
sudo samba-tool group addmembers DnsAdmins dns-${hostname}

where ${hostname} you replace them with your current hostname. example: DC1

"dns-DC1"
Title: Re: Zentyal dns update or retsart issue
Post by: gabor.strama on January 30, 2019, 01:14:03 pm
Hi!

I try it but i got a error message ERROR(exception): Failed to add members "dns-mail" to group "DnsAdmins" - Unable to find "dns-mail". Operation cancelled.
Title: Re: Zentyal dns update or retsart issue
Post by: JLLEWELYN on January 31, 2019, 08:44:18 pm
It is strange, it must be that the hostname is not correctly written. try this command to see what the result is.
Code: [Select]
sudo hostname
Title: Re: Zentyal dns update or retsart issue
Post by: gabor.strama on February 02, 2019, 04:42:49 pm
Hi!

Thx for your help!

The answer what i got is correct but it is looks like the user name is incorrect somehow.

Regards Gábor