Hi, I am running Heimdal 0.7.1, and I am having some trouble using the kadmin's principal modification mechanisms when it pertains to password expiration dates.
I have seen that when adding a principal that the time can be set in "YYYY-MM-DD [HH:MM:SS]" format from the "add" command. I would like the granularity of YYYY-MM-DD HH:MM:SS, but kadmin complains that the syntax is wrong when I use this. When 'add --pw-expiration-time=2006-12-23 13:00:00 principal,' kadmin wants to add two principals: 13:00:00 and principal. When "add --pw-expiration-time='2006-12-23 13:00:00' principal," it complains that it cannot parse the value properly: Unable to parse time "'2006-12-23" Print date on format YYYY-mm-dd [hh:mm:ss] kadmin: unable to parse `'2006-12-23' kadmin: adding 13:00:00': Operation not permitted When 'add --pw-expiration-time="2006-12-23 13:00:00" principal,' it complains that it cannot parse the value properly: Unable to parse time ""2006-12-23" Print date on format YYYY-mm-dd [hh:mm:ss] kadmin: unable to parse `"2006-12-23' kadmin: adding 13:00:00": Operation not permitted When 'add --pw-expiration-time=2006-12-23\ 13:00:00' principal,' it attempts to add two principals: 13:00:00 and principal. I have the same problem when modifying a principal, too. Can somebody enlighten me on what I am doing wrong? Thank you, Matt