Author Topic: DNS configuration error - unknown enctype  (Read 1052 times)

mrpsycho

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +4/-1
    • View Profile
DNS configuration error - unknown enctype
« on: July 11, 2017, 05:32:29 pm »
hello,

i don't know how... but it got broke:
Code: [Select]
Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/iIWytdUVrU.cmd 2> /var/lib/zentyal/tmp/stderr', 'kinit -k -t /var/lib/samba/private/dns.keytab dns-ZENTYAL', 256, 'ARRAY(0x841cec0)', 'ARRAY(0x3b16110)') ca
lled at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'kinit -k -t /var/lib/samba/private/dns.keytab dns-ZENTYAL') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('kinit -k -t /var/lib/samba/private/dns.keytab dns-ZENTYAL') called at /usr/share/perl5/EBox/DNS.pm line 918
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x6c29888)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 941
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x6c29888)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::DNS=HASH(0x6c29888)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 657
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 656
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x5e2b7b0)', 'progress', 'EBox::ProgressIndicator=HASH(0x5dc99f8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x5db8578)', 'progress', 'EBox::ProgressIndicator=HASH(0x5dc99f8)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2017/07/11 18:22:38 ERROR> GlobalImpl.pm:661 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-ZENTYAL failed.
Error output: kinit: krb5_init_creds_set_keytab: Failed to find dns-ZENTYAL@ELEGION.LOCAL in keytab FILE:/var/lib/samba/private/dns.keytab (unknown enctype)

Command output: .
Exit value: 1
2017/07/11 18:22:38 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dhcp
2017/07/11 18:22:40 ERROR> GlobalImpl.pm:736 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: dns  at The following modules failed while saving their changes
, their state is unknown: dns  at /usr/share/perl5/EBox/GlobalImpl.pm line 736
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x5e2b7b0)', 'progress', 'EBox::ProgressIndicator=HASH(0x5dc99f8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x5db8578)', 'progress', 'EBox::ProgressIndicator=HASH(0x5dc99f8)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30

so now i can't configure new records.

how to fix it?
« Last Edit: July 11, 2017, 05:54:35 pm by mrpsycho »

mrpsycho

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +4/-1
    • View Profile
Re: DNS configuration error - unknown enctype
« Reply #1 on: July 12, 2017, 01:54:36 pm »
and today i tried to add new PC's... and it doesn't work (




mrpsycho

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +4/-1
    • View Profile
Re: DNS configuration error - unknown enctype
« Reply #2 on: July 12, 2017, 04:33:33 pm »
ok. it seems that i figured it out: problem started after changing password for administrator user.

so, how to sync passwords?
it looks like i need to do some things with keytabs.
but..

this is isn't help:
Code: [Select]
root@zentyal:/var/lib/zentyal/conf# ktutil -k samba.keytab add -p Administrator -V 12 -e arcfour-hmac-md5 -w securepass
root@zentyal:/var/lib/zentyal/conf# ktutil -k samba.keytab add -p Administrator -V 12 -e des-cbc-md5 -w securepass
root@zentyal:/var/lib/zentyal/conf# ktutil -k samba.keytab add -p Administrator -V 12 -e des-cbc-crc -w securepass

mrpsycho

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +4/-1
    • View Profile
Re: DNS configuration error - unknown enctype
« Reply #3 on: September 13, 2017, 11:23:31 pm »
nobody can point me what to check?