Verification of realmd 0.17.1-3ubuntu0.26.04.1 from resolute-proposed, on the same lab Ubuntu 26.04 desktop as comment #8 (joined to Active Directory with adcli, sssd 2.12.0-1ubuntu5.4). Comment #8 was about the test PPA; this one is about the package in -proposed.
Before: realmd 0.17.1-3ubuntu0.26.04.1~ppa2 from the test PPA (the PPA source was already removed). Installed only realmd from resolute- proposed (apt pinned at priority 100 for -proposed, source removed afterwards). We did not test the samba upload, which only adds the DEP8 test. (b) Test plan: - realm renew --help: exit 0, usage shows "realm [OPTION…] renew REALM"; the realm(8) manual page mentions renew (7 occurrences). - realm renew <domain> (machine password 10 days old, sssd default 30 days): exit 0, password not changed (kvno 6 -> 6). Expected. - realm renew --computer-password-lifetime=0 <domain>: exit 0, kvno 7 -> 8, keytab updated. The misleading "Successfully unenrolled machine from realm" message seen with the PPA build is no longer printed. A kinit -k right after the change failed with "Preauthentication failed"; repeated kinit -k about 5 minutes later succeeded 6 times out of 6 with kvno 8. We attribute the first failure to AD replication between domain controllers (the new key was not yet on the DC that answered), not to realmd. End to end through sssd (what matters for us): - Temporary drop-in in /etc/sssd/conf.d with ad_maximum_machine_account_password_age = 1 and ad_machine_account_password_renewal_opts = 60:10, then systemctl restart sssd. - sssd renewed the machine password by itself after 21 seconds: kvno 6 -> 7; kinit -k with the new key worked; drop-in removed and sssd restarted (active). Result: the fix works on our 26.04 workstation; sssd renews the machine account password again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2172750 Title: sssd fails to renew machine account password To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/realmd/+bug/2172750/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
