Hum, this is weird, things work fine here (12.04) with MIT Kerberos:
superuser@Enzo:~$ su - vhann
Password:
vhann@Enzo:~$ exit
déconnexion
superuser@Enzo:~$ kadmin -p kadmin/admin
Authenticating as principal kadmin/admin with password.
Password for kadmin/admin@PARENTS.LOCAL:
kadmin: modprinc
Hum, I also tested with the 'modprinc -pwexpire 2011-12-01 vhann'
syntax. Both works. That being said, my KDC/kadmind server is MIT
Kerberos too.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
mit kinit has been fixed here:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/988520
** Changed in: krb5 (Ubuntu)
Status: Confirmed = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
** Changed in: heimdal (Debian)
Status: Unknown = New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/1004465
Title:
heimdal and mit kinit doesn't handle expired credentials
To
** Bug watch added: Debian Bug tracker #674640
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674640
** Also affects: heimdal (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674640
Importance: Unknown
Status: Unknown
--
You received this bug notification because
** Also affects: krb5 (Ubuntu)
Importance: Undecided
Status: New
** Tags added: expired heimdal kerberos kinit mit password
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: heimdal (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: krb5 (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/1004465