The following modules failed while saving their changes, their state is unknown: samba

I have an old desktop running Zentyal 3. I set it up as a file sharing machine and for more than a year it worked just fine. For some odd reason, the samba module stopped saving the ACLs and Zentyal threw the following error:
Some modules reported error when saving changes. More information on the logs
in /var/log/zentyal/
The following modules failed while saving their changes, their state is
unknown: samba

On a closer look in the zentyal.log file the following message captured my eye:
Failed to save changes in module samba: Could not get ticket: could not
acquire credentials using an initial credentials context: No ENC-TS found

After searching around a bit, I found the answer on a two year old bug on Zentyal bugtracker. I just had to run the next command as root:
samba-tool user setexpiry administrator --noexpiry
It would appear that the administrator password expired.

One comment on “The following modules failed while saving their changes, their state is unknown: samba

  1. Anonymous 06/04/2015 20:12

    Thank you – the samba-tool/setexpiry advise just saved my evening.

Leave a Reply to Anonymous Cancel Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.