Russ Allbery [Mon, 18 Dec 2017 04:31:29 +0000 (20:31 -0800)]
Strip out the -rpath setting from krb5-config
* Strip out the -rpath setting from the Heimdal krb5-config --libs call.
This isn't necessary; the libraries are installed in the normal
library search path. Only -L is needed (because of heimdal-multidev).
Russ Allbery [Mon, 18 Dec 2017 03:40:21 +0000 (19:40 -0800)]
Contribute the package to the Debian Perl Group
* Contribute the package to the Debian Perl Group.
- Change Maintainer to the group.
- Add myself to Uploaders.
- Change Homepage to the metacpan.org URL.
- Change Vcs-Git and Vcs-Browser to point to the pkg-perl repository.
- Change debian/watch to use the metacpan.org URL.
Russ Allbery [Thu, 30 Aug 2012 23:28:43 +0000 (16:28 -0700)]
Call the public kadm5 API functions instead of the internal ones
The kadm5_c_* functions are an internal API. The public functions
are the ones without the _c, which dispatch to the internal functions
depending on whether one links with the client library or the server
library. By calling the _c functions, we don't get the benefit of
prototype checking and fail if the internal function signature ever
changes.
The latter has now happened with Heimdal 1.6 currently used in Debian,
and as a result the create_principal and chpass_principal functions
here have stopped working because they provide the wrong number of
arguments and the Heimdal library sees random stack garbage as the
additional function arguments.
Replace all C calls to use the versions without _c, since this module
doesn't attempt to support the _s and _c interfaces simultaneously
anyway and therefore no benefit accrues from calling the _c functions.
This also fixes the backward-compatibility problem, since the public
API did not change, only the internal function API.
* Update debhelper compatibility level to V7.
- Use debhelper rule minimization.
* Drop specific version from Perl build dependency, since it was older
than the version in stable.
* Lower the priority to extra to match Heimdal.
* Set myself as maintainer since I'll be doing the Debian uploads.
* Add Vcs-Git, Vcs-Browser, and Homepage control fields.
* Reformatting and improvements of binary package description.
* Update standards version to 3.8.4.
Preserve history from the Stanford package since it's a bit more
convenient for internal upgrades and shouldn't matter to anyone else.
Add the bug closer for the ITP bug.
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.