Package: krb5-kdc
Version: 1.12.1+dfsg-19+deb8u2
Release: Jessie
In /etc/krb5kdc/kdc.conf, i enable otp plugin
(http://web.mit.edu/Kerberos/krb5-1.13/doc/admin/otp.html)
If i want to personalize my otp type putting a string on my principal
which is different from empty [{}] ( in kadmin : setstr user otp
[{"type":"foo"}] ) i obtain a kinit error and a segfault :
user@xxxxxx:~# kinit -T /tmp/krb5cc_0
Enter OTP Token Value:
kinit: Cannot contact any KDC for realm 'SEN.CENTRE-SERVEUR.I2' while
getting initial credentials
And in the kdc logs :
Jun 29 13:15:32 xxxxxx kernel: [92474.284528] krb5kdc[23842]: segfault
at fffffffffffffff0 ip 00007f35d95e1b80 sp 00007ffd4b307cf8 error 5 in
libkrb5support.so.0.1[7f35d95db000+b000]
Jun 29 13:15:32 xxxxxx systemd[1]: krb5-kdc.service: main process
exited, code=killed, status=11/SEGV
Jun 29 13:15:32 xxxxxx systemd[1]: Unit krb5-kdc.service entered failed
state.
Regards
--
Laurent BASTET