Thank you for the fix. We tested the test PPA on a lab Ubuntu 26.04
desktop joined to Active Directory with adcli (sssd 2.12.0-1ubuntu5.4,
realmd 0.17.1-3ubuntu0.26.04.1~ppa2 from ppa:ahasenack/realmd-renew):

1. realm renew --computer-password-lifetime=0 <domain> changed the machine 
account password (kvno 5 → 6), updated the keytab and removed the old entries. 
kinit -k with the new key works, also 60 s later.
2. realm renew <domain> without the lifetime option exits 0 and does not change 
a password younger than 30 days, as expected.
3. The command sssd 2.12 builds (realm renew --computer-password-lifetime=30 
--host-fqdn=... --host-keytab=/etc/krb5.keytab <domain>), run as the sssd user, 
exits 0. sssd-realmd.rules is installed, so the polkit path works for the 
automatic renewal.
4. Minor: both successful runs end with "Successfully unenrolled machine from 
realm", which is misleading, because the machine stays enrolled (realm list 
still shows configured: kerberos-member). Also, realm renew with no realm 
argument fails with "No such realm found" even with a single configured realm; 
this does not affect sssd, which always passes the domain.


Thanks.

Maxlen Santos

We are waiting for the SRU to resolute-updates and can help with
verification in resolute-proposed.

-- 
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

Reply via email to