[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Correct Syntax for Setting and Modifying a Principal's Password Expiration Time.
- To: heimdal-discuss@sics.se
- Subject: Correct Syntax for Setting and Modifying a Principal's Password Expiration Time.
- From: "Matt Proud" <matt.proud.list@gmail.com>
- Date: Fri, 22 Dec 2006 09:27:26 -0600
- DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=P3BmIvzlt+ZOGUZuHD3OFnquMDTkRqpMT9qZ6zOK6o+jvOU43t/TK4plqBKhW/KPeH4V9VCm0wDpG+HDw1+ZSKAjDBSr1Rpxi5AnrBRLhx8qtLs4hMdXujHXO7bb0Ig8zJcWUEGhwfqQS+caXlqvaA/WW6HAYAhqZBSaHRt5GIA=
- Sender: owner-heimdal-discuss@sics.se
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