Skip to content
Snippets Groups Projects
  1. Dec 18, 2017
  2. Aug 30, 2012
    • Russ Allbery's avatar
      Set single-debian-patch in local-options · 1317d4d9
      Russ Allbery authored
      debian/0.08-4
      1317d4d9
    • Russ Allbery's avatar
      b46bb868
    • Russ Allbery's avatar
      Call the public kadm5 API functions instead of the internal ones · 7bd17a52
      Russ Allbery authored
      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.
      7bd17a52
  3. Apr 03, 2010
  4. Feb 11, 2010
  5. Feb 05, 2010
    • Jon Robertson's avatar
      Improved dump() attributes and added KRB5_KDB_PWCHANGE_SERVICE · a84bc9c4
      Jon Robertson authored
      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.
      a84bc9c4
    • Jon C. Robertson's avatar
      WIP - Unfinished change to add more ticket types · f114b6e0
      Jon C. Robertson authored
      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.
      f114b6e0
    • Jon Robertson's avatar
      Cleanup and added $principal->getAttributeNames · 400cf47f
      Jon Robertson authored
      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..
      400cf47f
    • Jon Robertson's avatar
      Improved dump() output for attributes and ticket lifetime · bf1d02fb
      Jon Robertson authored
      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.
      bf1d02fb
    • Jon Robertson's avatar
      Removed unneeded stderr message when setting realm · 3f6c063d
      Jon Robertson authored
      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.
      3f6c063d
    • Jon Robertson's avatar
      Fixed deprecated autoload warning · 0e7b8d1c
      Jon Robertson authored
      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.
      0e7b8d1c
    • Jon Robertson's avatar
      Fixed bug with disable and enable leading to mask problems · d683899f
      Jon Robertson authored
      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.
      d683899f
    • Jon Robertson's avatar
      Changing the dump command to more echo kadmin get · a95b8059
      Jon Robertson authored
      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.
      a95b8059
    • Jon Robertson's avatar
      Added ability to delete enctypes from a keytab. · 2e288006
      Jon Robertson authored
      Added patch from Alf Wachsmann to add a command allowing the deletion of
      enctypes from an existing keytab.
      2e288006
  6. Aug 24, 2009
  7. Jan 28, 2007
Loading