Reproduced on Noble. This seems like SRU-worthy. Tagging as server-todo.

root@krb-noble:~# cat <<EOF > /etc/krb5.conf
[libdefaults]
    default_realm = TEST.LOCAL
[realms]
    TEST.LOCAL = {
        kdc = 127.0.0.1
        admin_server = 127.0.0.1
    }
EOF
root@krb-noble:~# kdb5_util create -s -r TEST.LOCAL -P kdcpassword
Initializing database '/var/lib/krb5kdc/principal' for realm 'TEST.LOCAL',
master key name 'K/[email protected]'
root@krb-noble:~# systemctl restart krb5-kdc krb5-admin-server
root@krb-noble:~# kadmin.local -q "addprinc -pw secret -pwexpire 2100-09-14 
testuser"
Authenticating as principal root/[email protected] with password.
No policy specified for [email protected]; defaulting to no policy
Principal "[email protected]" created.
root@krb-noble:~# kinit testuser
Password for [email protected]:
Warning: Your password will expire in less than one hour on Fri Aug 13 00:00:00 
2100


** Tags added: server-todo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2162744

Title:
  kinit: Warns about password expiry for Windows Server 2025 DC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/2162744/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to