Jon Robertson [Thu, 28 Jan 2010 17:49:10 +0000 (09:49 -0800)]
Improved dump() attributes and added KRB5_KDB_PWCHANGE_SERVICE
Added an interface to return the KRB5_KDB_PWCHANGE_SERVICE constant
value. This was already listed in the exportable functions, but wasn't
defined. Also improved the dump printing of all attributes to give an
output more similar to the kadmin get command by converting the constant
name to the text descriptio as seen in get.
Jon C. Robertson [Tue, 19 Jan 2010 19:48:48 +0000 (11:48 -0800)]
WIP - Unfinished change to add more ticket types
Work in Progress -- Adding unfinished change to sync newest version up
for help in debugging. This merely removes a commented out line that
was causing errors, to make sure that people are on the same page for
testing the cause.
Jon Robertson [Tue, 12 Jan 2010 00:10:17 +0000 (16:10 -0800)]
Cleanup and added $principal->getAttributeNames
Cleaned up the code and perldocs for word wrapping. Also added
getAttributeNames, which wraps getAttributes, translating the bitmask into
an array of attribute names and returning that bitmask..
Jon Robertson [Wed, 6 Jan 2010 21:43:49 +0000 (13:43 -0800)]
Improved dump() output for attributes and ticket lifetime
dump() has been improved to print out the attribute constant names rather
than the attribute bitmask itself. Also, the two ticket lifetime values
(lifetime and max lifetime) print out days and weeks rather than seconds.
Jon Robertson [Wed, 6 Jan 2010 17:51:28 +0000 (09:51 -0800)]
Removed unneeded stderr message when setting realm
The realm was being printed out to stderr whenever a new connection was
created with the realm specifically set. This was not done with any of the
other settings, and was cluttering up the script's error output. That line
has now been commented out, and can be later removed.
Jon Robertson [Wed, 6 Jan 2010 17:45:19 +0000 (09:45 -0800)]
Fixed deprecated autoload warning
Fixed a warning on the use of KRB5_KDB_DISALLOW_ALL_TIX in the
Heimdal::Kadm5::Client section, where it was being loaded from the parent
class. No change to functionality, only specifying the specific class
it came from to remove the warning.
Jon Robertson [Fri, 5 Feb 2010 22:01:18 +0000 (14:01 -0800)]
Fixed bug with disable and enable leading to mask problems
modifyPrincipal now sets the mask to 0 if it is not given a mask, rather
than passing along the undefined mask. This directly affected the
disablePrincipal and enablePrincipal functions, which would call
modifyPrincipal without a given mask and led to problems on my system.
Jon Robertson [Tue, 8 Dec 2009 18:24:53 +0000 (10:24 -0800)]
Changing the dump command to more echo kadmin get
The format of the dump command was partially similar to the Heimdal kadmin
get command, but there were changes in formatting and extra fields not
present. It now more accurately echos the get command, though does still
need work in parsing seconds to days/weeks on two outputs and in parsing
the attributes bitmask for values.