Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: killmasta93 on September 20, 2020, 02:49:01 am

Title: Password expired DNS-user? (solved)
Post by: killmasta93 on September 20, 2020, 02:49:01 am
Hi
 I needed to create on A record on the web interface and restart the DNS but getting this issue

Code: [Select]
Command output: .
Exit value: 1
2020/09/19 20:17:33 ERROR> Service.pm:971 EBox::Module::Service::restartService - root command kinit -k -t /var/lib/samba/private/dns.keytab dns-apolo failed.
2020/09/19 20:17:33 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-apolo failed.
Error output: Password has expired
 dns-apolo@MYDOMAIN.LOCAL's Password:

So my question is on the user DNS-APOLO can i reset the password? or how do i by pass this error without screwing it up?

Thank you

edit: solved by running this

Code: [Select]
sudo samba-tool user setexpiry dns-apolo --noexpiry