]> eyrie.org Git - kerberos/kadmin-remctl.git/log
kerberos/kadmin-remctl.git
11 years agoImported Upstream version 3.3 upstream/3.3
Russ Allbery [Mon, 25 Mar 2013 17:27:34 +0000 (10:27 -0700)]
Imported Upstream version 3.3

11 years agoRelease 3.3 release/3.3
Russ Allbery [Mon, 25 Mar 2013 17:24:48 +0000 (10:24 -0700)]
Release 3.3

11 years agoUpdate licensing information
Russ Allbery [Mon, 25 Mar 2013 17:17:02 +0000 (10:17 -0700)]
Update licensing information

Convert LICENSE to a copyright-format 1.0 file.  Switch licenses
from the older MIT license to the current Expat license.

11 years agoUpdate README to current format, update install instructions
Russ Allbery [Mon, 25 Mar 2013 16:42:59 +0000 (09:42 -0700)]
Update README to current format, update install instructions

Use my new layout for README with a separate LICENSE section.
Update the installation instructions around how finding the
Kerberos libraries works.

11 years agoUpdate to rra-c-util 4.8
Russ Allbery [Mon, 25 Mar 2013 16:33:34 +0000 (09:33 -0700)]
Update to rra-c-util 4.8

* Fix Heimdal libroken probes for old versions of Heimdal.
* Fix Kerberos header probing with non-standard include paths.
* Pass --deps to krb5-config if it is supported.
* Properly find krb5.h on NetBSD systems.
* Fix stripping of -I/usr/include from krb5-config output.
* Avoid using krb5-config if specific Kerberos paths are configured.
* Use PATH_KRB5_CONFIG instead of KRB5_CONFIG to locate krb5-config.
* Replace concat with xasprintf.
* xasprintf is now void and always calls the failure handler on error.
* Improve __attribute__ portability to old GCC or non-GCC compilers.
* Add -D_FORTIFY_SOURCE=2 to make warnings flags.
* Probe for ssize_t and replace it in portable/system.h if not found.
* Include strings.h in portable/system.h if it exists.
* Add a pointer to rra-c-util in all files.

11 years agoNEWS wording tweaks for the networking fix
Russ Allbery [Mon, 25 Mar 2013 15:35:25 +0000 (08:35 -0700)]
NEWS wording tweaks for the networking fix

11 years agoExit with non-zero status if check_passwd fails
Russ Allbery [Tue, 12 Mar 2013 02:30:02 +0000 (19:30 -0700)]
Exit with non-zero status if check_passwd fails

Exit with a non-zero status if the check_passwd command rejects the
password.  Previously, an error would be reported but the backend
would always report a successful zero status if the password could be
checked, even if it was rejected.

11 years agoBetter error when changing password of disabled account
Russ Allbery [Tue, 12 Mar 2013 02:29:25 +0000 (19:29 -0700)]
Better error when changing password of disabled account

Produce a better error message when trying to change the password of a
disabled account with the Heimdal backend.

11 years agoIn Heimdal version, do password strength check with IPC::Run
Russ Allbery [Tue, 12 Mar 2013 02:19:50 +0000 (19:19 -0700)]
In Heimdal version, do password strength check with IPC::Run

Something about the workaround code to suppress the stderr result
from Heimdal's libraries causes STDERR handling to get messed up
in Perl.  Since the password strength checking program returns its
error on stderr, this is a problem.  IPC::Run works properly and is
much more succinct, so switch to it.

11 years agoFurther Heimdal error handling fixes
Russ Allbery [Mon, 25 Feb 2013 04:23:30 +0000 (20:23 -0800)]
Further Heimdal error handling fixes

Clean up error reporting in the Heimdal version of kadmin-backend.
Use the correct (rather than the documented) way to tell
Heimdal::Kadm5 to throw exceptions, and ensure that all kadmin
functions uniformly use the same standard error formatting and exit
status for kadmin failures.

Also suppress the standard error output from the Heimdal library since
Heimdal::Kadm5 does not.

11 years agoRetry connecting to Heimdal if the first try fails
Russ Allbery [Fri, 22 Feb 2013 02:21:38 +0000 (18:21 -0800)]
Retry connecting to Heimdal if the first try fails

In the Heimdal version of kadmin-backend, retry the kadmin connection
once if the first connection fails.  This is a workaround for a
transient networking error that we're seeing at Stanford and therefore
may not be fully appropriate for other sites.  Even on a successful
reconnect, this will cause some errors to be sent to standard error
due to the behavior of Heimdal::Kadm5.

12 years agoStrip whitespace from the username after prompting in passwd_change
Russ Allbery [Sat, 3 Dec 2011 05:47:46 +0000 (21:47 -0800)]
Strip whitespace from the username after prompting in passwd_change

When prompting for a username in passwd_change, strip any surrounding
whitespace from that username before proceeding.

13 years agoImported Upstream version 3.2 upstream/3.2
Russ Allbery [Thu, 9 Jun 2011 21:56:35 +0000 (14:56 -0700)]
Imported Upstream version 3.2

13 years agoRelease 3.2 release/3.2
Russ Allbery [Thu, 9 Jun 2011 21:54:46 +0000 (14:54 -0700)]
Release 3.2

13 years agoNote in README that kasetkey requires old wallet versions
Russ Allbery [Thu, 9 Jun 2011 21:54:13 +0000 (14:54 -0700)]
Note in README that kasetkey requires old wallet versions

13 years agoUpdate LICENSE and README license statement
Russ Allbery [Thu, 9 Jun 2011 21:53:06 +0000 (14:53 -0700)]
Update LICENSE and README license statement

13 years agoUse the correct form of the Stanford copyright statement
Russ Allbery [Thu, 9 Jun 2011 21:40:58 +0000 (14:40 -0700)]
Use the correct form of the Stanford copyright statement

13 years agoUpdate the default attribute handling to match production
Russ Allbery [Thu, 9 Jun 2011 21:38:26 +0000 (14:38 -0700)]
Update the default attribute handling to match production

Always set preauth for newly created accounts, whether disabled or
not, to match the way that this is done in production.

13 years agoUpdate to rra-c-util 3.6
Russ Allbery [Thu, 9 Jun 2011 21:33:44 +0000 (14:33 -0700)]
Update to rra-c-util 3.6

* Check for krb5-config in /usr/kerberos/bin as well as user's PATH.
* Add replacement for krb5_appdefault_* functions for AIX Kerberos.
* Fix broken GCC attribute markers.
* Fix Kerberos library probing without transitive shared libraries.
* Suppress warnings when probing for AIX-only Kerberos headers.
* Support Heimdal GSS-API on OpenBSD without a separate libroken.
* Update GCC warning flags for GCC 4.6.1.

13 years agoAdd support for separate password change blacklist
Russ Allbery [Wed, 8 Jun 2011 20:26:04 +0000 (13:26 -0700)]
Add support for separate password change blacklist

Add support for a separate blacklist of principals whose passwords
cannot be changed with reset_passwd but who do not themselves have the
ability to reset passwords.

13 years agoAdd NEWS entry for attribute setting in kadmin-backend-heim
Russ Allbery [Thu, 6 Jan 2011 20:24:29 +0000 (12:24 -0800)]
Add NEWS entry for attribute setting in kadmin-backend-heim

13 years agoMinor coding style fix in kadmin-backend-heim
Russ Allbery [Thu, 6 Jan 2011 20:23:24 +0000 (12:23 -0800)]
Minor coding style fix in kadmin-backend-heim

13 years agoUntabify kadmin-backend-heim
Russ Allbery [Thu, 6 Jan 2011 20:22:15 +0000 (12:22 -0800)]
Untabify kadmin-backend-heim

13 years agoCorrectly handle incorrect password errors from Heimdal
Russ Allbery [Thu, 6 Jan 2011 20:20:50 +0000 (12:20 -0800)]
Correctly handle incorrect password errors from Heimdal

Properly handle incorrect password errors from Heimdal's kpasswd.
Previously, if change_passwd failed because the original password was
incorrect, kadmin-remctl would output a confusing Expect error.

13 years agoFixed to kadmin_create default attributes in kadmin-backend-heim
Jon Robertson [Thu, 5 Aug 2010 04:21:39 +0000 (21:21 -0700)]
Fixed to kadmin_create default attributes in kadmin-backend-heim

The code for creating a Kerberos principal was trying to get the default
set of attributes and then modify them before fully creating the account,
in order to properly create a disabled account.  However, the default
attributes seem to not be created until the principal is fully created,
so we actually lose the default attributes by doing so.  As a fix, hand
the routine our own default set of attributes.  This isn't optimal, but
it's better than nothing.

13 years agoImported Upstream version 3.1 upstream/3.1
Russ Allbery [Wed, 21 Jul 2010 21:47:46 +0000 (14:47 -0700)]
Imported Upstream version 3.1

13 years agoRelease 3.1 release/3.1
Russ Allbery [Wed, 21 Jul 2010 21:45:21 +0000 (14:45 -0700)]
Release 3.1

13 years agoFix version detection in autogen for man page generation
Russ Allbery [Wed, 21 Jul 2010 21:43:54 +0000 (14:43 -0700)]
Fix version detection in autogen for man page generation

13 years agoUpdate to rra-c-util 2.5
Russ Allbery [Wed, 21 Jul 2010 21:31:44 +0000 (14:31 -0700)]
Update to rra-c-util 2.5

* Restore default settings after probing for GSS-API libraries.
* Support the *BSD build of Heimdal in the Kerberos probes.
* Fix krb5_free_error_message replacement for older Kerberos libraries.

13 years agoCheck that the type argument to check_expire is valid
Russ Allbery [Tue, 20 Jul 2010 21:04:39 +0000 (14:04 -0700)]
Check that the type argument to check_expire is valid

13 years agoFix check_expires for MIT, update documentation
Russ Allbery [Tue, 20 Jul 2010 20:54:22 +0000 (13:54 -0700)]
Fix check_expires for MIT, update documentation

The MIT implementation of check_expires was calling str2time twice.
Also update the documentation to reflect that the second argument to
check_expires is optional and "now" is a valid expiration time.

13 years agoUpdate kadmin remctl configuration for new commands
Russ Allbery [Tue, 20 Jul 2010 20:35:47 +0000 (13:35 -0700)]
Update kadmin remctl configuration for new commands

13 years agoAdd documentation for the new functions
Russ Allbery [Thu, 15 Jul 2010 01:01:16 +0000 (18:01 -0700)]
Add documentation for the new functions

Add POD documentation for pwexpiration and check_expire, and clarify
the time format for expiration.  Also alphabetize the quick help
summary.

13 years agoUse %Y-%m-%d for date formatting instead of %F
Russ Allbery [Wed, 14 Jul 2010 02:23:15 +0000 (19:23 -0700)]
Use %Y-%m-%d for date formatting instead of %F

%F is C99 and is not necessarily portable.

13 years agoAdd NEWS entries for pwexpiration and check_expire
Russ Allbery [Wed, 14 Jul 2010 02:21:37 +0000 (19:21 -0700)]
Add NEWS entries for pwexpiration and check_expire

14 years agokadmin-backend-heim: Accept 'never' for expirations
Jon Robertson [Fri, 11 Jun 2010 17:46:33 +0000 (10:46 -0700)]
kadmin-backend-heim: Accept 'never' for expirations

Accept never as a valid value for account and password expirations.  This
does currently cause a warning from Heimdal::Kadm5, but it still works.

14 years agokadmin-backend: Fixed expiration time output
Jon Robertson [Fri, 11 Jun 2010 07:28:19 +0000 (00:28 -0700)]
kadmin-backend: Fixed expiration time output

When expiration time was not set but password expiration time was, and
the soonest time of the two was requested, nothing was returned.  Fixed
this to return the password expiration time.

14 years agoAdded more support for account and password expiration
Jon Robertson [Wed, 26 May 2010 18:14:08 +0000 (11:14 -0700)]
Added more support for account and password expiration

* Fixed bugs in the existing expiration command for Heimdal, and added
  it to the help command for both MIT and Heimdal.
* Added pwexpiration command that works like the expiration command, but
  for password expiration.
* Added check_expire command that will return expiration times in GMT
  for either account or password expiration.

The commands have been tested against Heimdal, though not yet against MIT.

14 years agoImprove principal creation attributes for Heimdal
Russ Allbery [Sun, 16 May 2010 19:17:36 +0000 (12:17 -0700)]
Improve principal creation attributes for Heimdal

In the Heimdal backend, don't set KADM5_POLICY_NORMAL_MASK or
KADM5_POLICY_CLR as attributes when creating a new principal.  These
are not valid attribute values and end up setting or clearing large
numbers of other attributes.

In the Heimdal backend, don't unconditionally set the preauth required
attribute on newly created principals.  This should be handled using
the "default" principal in Heimdal to configure the desired default
principal lifetime and attributes.

14 years agoReplace checking with policy for kadmin-backend
Russ Allbery [Fri, 26 Mar 2010 06:09:45 +0000 (23:09 -0700)]
Replace checking with policy for kadmin-backend

kadmin-backend for an MIT Kerberos server no longer has the boolean
checking configuration parameter, which said whether to do password
checking.  Instead, there is a new policy configuration parameter
which, if set, sets that password policy for newly created accounts.
To duplicate the previous behavior when checking was true, set policy
to "standard".

14 years agoImprove the documentation of create_opts
Russ Allbery [Fri, 26 Mar 2010 06:04:39 +0000 (23:04 -0700)]
Improve the documentation of create_opts

14 years agoAdd TODO for setting the password expiration time
Russ Allbery [Fri, 26 Mar 2010 06:04:27 +0000 (23:04 -0700)]
Add TODO for setting the password expiration time

14 years agoAdd NEWS entries for changes from Garrett Wollman
Russ Allbery [Fri, 26 Mar 2010 06:04:13 +0000 (23:04 -0700)]
Add NEWS entries for changes from Garrett Wollman

14 years agoNote in documentation that expiration is not propagated
Russ Allbery [Fri, 26 Mar 2010 05:59:58 +0000 (22:59 -0700)]
Note in documentation that expiration is not propagated

14 years agoImplement the expiration function for Heimdal
Russ Allbery [Fri, 26 Mar 2010 05:59:08 +0000 (22:59 -0700)]
Implement the expiration function for Heimdal

14 years agoFix option alphabetization in kadmin-backend-heim
Russ Allbery [Fri, 26 Mar 2010 04:27:56 +0000 (21:27 -0700)]
Fix option alphabetization in kadmin-backend-heim

14 years agoRename extra_options to create_opts
Russ Allbery [Fri, 26 Mar 2010 04:25:32 +0000 (21:25 -0700)]
Rename extra_options to create_opts

Also add it to the comment ahead of the %CONFIG hash.

14 years agoAdd documentation for extra_options
Russ Allbery [Fri, 26 Mar 2010 04:22:48 +0000 (21:22 -0700)]
Add documentation for extra_options

Also alphabetize the configuration options by moving locked and
reformat it somewhat.

14 years agoAdd expiration command and kadmin extra options
Garrett Wollman [Fri, 26 Mar 2010 04:17:06 +0000 (21:17 -0700)]
Add expiration command and kadmin extra options

Add an expiration command to the MIT Kerberos interface that sets the
expiration time for a principal.  Add an extra_options configuration
parameter that adds extra options to the kadmin create command for that
principal.

14 years agoAllow underscores in examine
Russ Allbery [Fri, 26 Mar 2010 04:12:13 +0000 (21:12 -0700)]
Allow underscores in examine

Allow underscores in principal names by default in the examine
function.

14 years agoUpdate blurb for heimdal support
Russ Allbery [Thu, 18 Feb 2010 04:28:49 +0000 (20:28 -0800)]
Update blurb for heimdal support

14 years agoImported Upstream version 3.0 upstream/3.0
Russ Allbery [Wed, 17 Feb 2010 18:58:08 +0000 (10:58 -0800)]
Imported Upstream version 3.0

14 years agoInclude .gitignore and autogen in the distribution release/3.0
Russ Allbery [Wed, 17 Feb 2010 18:46:56 +0000 (10:46 -0800)]
Include .gitignore and autogen in the distribution

14 years agoRelease 3.0
Russ Allbery [Wed, 17 Feb 2010 18:43:37 +0000 (10:43 -0800)]
Release 3.0

14 years agoMap all external check errors to the same generic kpasswd error
Russ Allbery [Tue, 16 Feb 2010 18:10:52 +0000 (10:10 -0800)]
Map all external check errors to the same generic kpasswd error

For the Heimdal version of kadmin-backend, map all errors from the
external password check program except for password too short errors
to the same generic kpasswd string, maintaining our interface for AS
systems even if Cracklib provides specific errors.

14 years agoDo password strength checking for create and reset_passwd
Russ Allbery [Tue, 16 Feb 2010 18:00:48 +0000 (10:00 -0800)]
Do password strength checking for create and reset_passwd

For the Heimdal version of kadmin-backend, do password strength checking
and report a proper error in both create and reset_passwd.  Previously,
a failure of strength checking would cause a silent failure to create a
principal.

14 years agoAdded another case for kpasswd error translation
Jon Robertson [Tue, 16 Feb 2010 17:59:57 +0000 (09:59 -0800)]
Added another case for kpasswd error translation

Added case for Heimdal error where password is short but not extremely short,
mapping to the one MIT too short error.

14 years agoAdded translation of MIT kpasswd errors to Heimdal
Jon Robertson [Tue, 16 Feb 2010 17:52:24 +0000 (09:52 -0800)]
Added translation of MIT kpasswd errors to Heimdal

For downstream apps that currently expect the change_passwd errors to be
specific strings, we translate known error cases from Heimdal kpasswd to
the matching error cases from MIT kpasswd.

14 years agoUse external program password checking in kadmin-backend-heim
Russ Allbery [Thu, 11 Feb 2010 04:55:46 +0000 (20:55 -0800)]
Use external program password checking in kadmin-backend-heim

Use the Heimdal external program API for password strength checking in
kadmin-backend-heim and check password strength on create if strength
checking is enabled for that instance, since the Heimdal kadmin API
doesn't enforce password strength on passwords changed by
administrators.

14 years agoUpdate copyright and remove trailing whitespace
Russ Allbery [Thu, 11 Feb 2010 04:33:38 +0000 (20:33 -0800)]
Update copyright and remove trailing whitespace

Update the copyright date, add Jon Robertson to the acknowledgements,
and remove trailing whitespace in kadmin-backend-heim.

14 years agoUpdated examine output for salt data
Jon Robertson [Thu, 11 Feb 2010 01:33:29 +0000 (17:33 -0800)]
Updated examine output for salt data

Changed Heimdal's pw-salt output to instead read 'no salt' as MIT kadmin
would output.

14 years agoAdd THANKS section to README
Russ Allbery [Thu, 11 Feb 2010 00:05:47 +0000 (16:05 -0800)]
Add THANKS section to README

14 years agoUpdate requirements in README for Heimdal support
Russ Allbery [Thu, 11 Feb 2010 00:04:01 +0000 (16:04 -0800)]
Update requirements in README for Heimdal support

14 years agoUpdate TODO for the 2.5 release
Russ Allbery [Thu, 11 Feb 2010 00:02:04 +0000 (16:02 -0800)]
Update TODO for the 2.5 release

Add the code duplication in kadmin-backend-heim and remove the need to
import messages-krb5.*.

14 years agoWe no longer have to say ksetpass error handling is horrible
Russ Allbery [Wed, 10 Feb 2010 23:59:53 +0000 (15:59 -0800)]
We no longer have to say ksetpass error handling is horrible

14 years agoUpdate LICENSE for rra-c-util imports and new autotools
Russ Allbery [Wed, 10 Feb 2010 23:17:37 +0000 (15:17 -0800)]
Update LICENSE for rra-c-util imports and new autotools

14 years agoNote in NEWS that kadmin-backend-heim is temporary
Russ Allbery [Wed, 10 Feb 2010 23:11:55 +0000 (15:11 -0800)]
Note in NEWS that kadmin-backend-heim is temporary

14 years agoUpdate m4/lib-pathname.m4 to rra-c-util 3.0
Russ Allbery [Wed, 10 Feb 2010 23:08:42 +0000 (15:08 -0800)]
Update m4/lib-pathname.m4 to rra-c-util 3.0

No changes that affect this package.  Update only for tidiness.

14 years agoEnable silent rules for make warnings
Russ Allbery [Wed, 10 Feb 2010 23:07:55 +0000 (15:07 -0800)]
Enable silent rules for make warnings

14 years agoCast result_string in ksetpass for Heimdal
Russ Allbery [Wed, 10 Feb 2010 23:06:08 +0000 (15:06 -0800)]
Cast result_string in ksetpass for Heimdal

The Heimdal krb5_set_password_using_ccache function returns krb5_data
structs and on Heimdal the data element is a void *.  Cast it to a
char * for our diagnostic output.

14 years agoRewrite the error handling in ksetpass and passwd_change
Russ Allbery [Wed, 10 Feb 2010 23:03:58 +0000 (15:03 -0800)]
Rewrite the error handling in ksetpass and passwd_change

Take advantage of the new portability layer and use die/warn and
die_krb5/warn_krb5 where appropriate.  Use xmalloc and concat functions
where appropriate.  Use the Kerberos portability layer to avoid calling
deprecated functions on Heimdal.

14 years agoImport the portability and utility library from rra-c-util
Russ Allbery [Wed, 10 Feb 2010 22:12:51 +0000 (14:12 -0800)]
Import the portability and utility library from rra-c-util

Synchronized with rra-c-util 3.0.  The portability and utility library
isn't used yet.  That will come in subsequent commits.

14 years agoAnchor the top-level patterns in .gitignore
Russ Allbery [Wed, 10 Feb 2010 22:12:20 +0000 (14:12 -0800)]
Anchor the top-level patterns in .gitignore

14 years agoGenerate a man page for kadmin-backend-heim as well
Russ Allbery [Wed, 10 Feb 2010 22:11:34 +0000 (14:11 -0800)]
Generate a man page for kadmin-backend-heim as well

14 years agoMultiple output and production readiness fixes
Jon Robertson [Wed, 10 Feb 2010 16:44:31 +0000 (08:44 -0800)]
Multiple output and production readiness fixes

* Changed formatting of Expect statements for kpasswd to use Heimdal
kpasswd.
* Removed testing line that was specifying realm.
* Fixed date output for the examine command.
* Fixed days output for the examine command when only one day.
* Fixed output for the examine command when principal does not exist.
* Fixed bug in kadmin_reset with sending instance rather than principal to
be reset.

14 years agoAdded ability to ignore enable for locked accounts
Jon Robertson [Tue, 26 Jan 2010 00:45:13 +0000 (16:45 -0800)]
Added ability to ignore enable for locked accounts

Added a new configuration option for each instance type, locked.  This is
an array containing a command and all arguments to it, which is used to
determine if a principal is marked to not be re-enabled via kadmin-backend.
If no command is set, none is checked.  The command is given the instance
name, and if the command returns 0, then the instance is locked and may
not be re-enabled via this interface.  This is done to support accounts
that may be locked for policy reasons, where we must go through extra steps
befor re-enabling the command.

14 years agoAdd NEWS entries for recent changes
Russ Allbery [Wed, 20 Jan 2010 05:55:55 +0000 (21:55 -0800)]
Add NEWS entries for recent changes

14 years agoAdded translator of Heimdal output to MIT get output
Jon Robertson [Wed, 13 Jan 2010 20:26:58 +0000 (12:26 -0800)]
Added translator of Heimdal output to MIT get output

Heimdal uses a different syntax for the output of its get command than
MIT's getprinc.  The output from the examine command was originally based
upon the Heimdal::Kadm5 'dump' command, which models its output off of
Heimdal's get command.  Because downstream apps might be taking the output
of kadmin-backend examine, we replicate the Heimdal::Kadm5 code to
construct the get output here, but modelled to replicate MIT instead.  In
the long term, we would love to verify and have any applications using
the output fixed so that we aren't taking the arbitrary workaround.

14 years agoAdded version of kadmin-backend for Heimdal
Jon Robertson [Thu, 10 Dec 2009 18:58:55 +0000 (10:58 -0800)]
Added version of kadmin-backend for Heimdal

kadmin-backend-heim will use Heimdal::Kadm5 to operate on a Heimdal KDC
as kadmin-backend works on an MIT KDC.  All functions are the same, and
it is identical from a use standpoint.  The longer-term plan will merge
the two back together and let kadmin-backend choose whether to use Heimdal
or MIT based on a config file value, but that is waiting on some discovery
first.

14 years agoAdded version of kadmin-backend for Heimdal
Jon Robertson [Thu, 10 Dec 2009 18:58:55 +0000 (10:58 -0800)]
Added version of kadmin-backend for Heimdal

kadmin-backend-heim will use Heimdal::Kadm5 to operate on a Heimdal KDC
as kadmin-backend works on an MIT KDC.  All functions are the same, and
it is identical from a use standpoint.  The longer-term plan will merge
the two back together and let kadmin-backend choose whether to use Heimdal
or MIT based on a config file value, but that is waiting on some discovery
first.

14 years agoUpdated regex for valid principals to add -
Jon Robertson [Thu, 10 Dec 2009 18:56:39 +0000 (10:56 -0800)]
Updated regex for valid principals to add -

The regex for valid principals did not allow the - character, which meant
that running kadmin-backend on certain keytabs we have set up was failing.

14 years agoImported Upstream version 2.4 upstream/2.4
Russ Allbery [Mon, 5 Oct 2009 23:12:22 +0000 (16:12 -0700)]
Imported Upstream version 2.4

14 years agoRelease 2.4 release/2.4
Russ Allbery [Mon, 5 Oct 2009 23:11:41 +0000 (16:11 -0700)]
Release 2.4

14 years agoMove man page generation to autogen from Makefile rules
Russ Allbery [Mon, 5 Oct 2009 23:10:39 +0000 (16:10 -0700)]
Move man page generation to autogen from Makefile rules

14 years agoUpdate build system to my current standards
Russ Allbery [Mon, 5 Oct 2009 23:01:30 +0000 (16:01 -0700)]
Update build system to my current standards

Enable Automake silent rules.  For a quieter build, pass the
--enable-silent-rules option to configure or build with make V=0.

Update to rra-c-util 2.0:

* Sanity-check the results of krb5-config before proceeding.
* Fall back on manual probing if krb5-config results don't work.
* Don't break if the user clobbers CPPFLAGS or LDFLAGS at build time.
* Support Solaris 10's native generic GSS-API libraries.
* Require Autoconf 2.64 and Automake 1.11.

14 years agoFix LDIF error when enabling or disabling AD accounts via LDAP
Russ Allbery [Mon, 5 Oct 2009 22:45:07 +0000 (15:45 -0700)]
Fix LDIF error when enabling or disabling AD accounts via LDAP

When enabling or disabling accounts in Active Directory via LDAP, send
the required "replace: userAccountControl" portion of the LDIF.

15 years agoImported Upstream version 2.3 upstream/2.3
Russ Allbery [Thu, 8 Jan 2009 04:36:13 +0000 (20:36 -0800)]
Imported Upstream version 2.3

15 years agoRedo how examine of arbitrary instances is handled release/2.3
Russ Allbery [Thu, 8 Jan 2009 03:51:58 +0000 (19:51 -0800)]
Redo how examine of arbitrary instances is handled

The previous attempt still didn't work because there was nothing in the
%CONFIG hash for the unknown instance.  Now, fall back to the '' instance
for configuration on how to handle unknown instances and document that
fallback.

Improve the conversion of Kerberos v5 principal names to Kerberos v4
principal names for examine against an AFS kaserver, although it's
still not as good as calling the Kerberos library routine would be.

15 years agoImported Upstream version 2.3
Russ Allbery [Thu, 8 Jan 2009 03:17:30 +0000 (19:17 -0800)]
Imported Upstream version 2.3

15 years agoRelease 2.3
Russ Allbery [Thu, 8 Jan 2009 03:14:59 +0000 (19:14 -0800)]
Release 2.3

15 years agoSignificant improvements to Kerberos and remctl configure probes
Russ Allbery [Thu, 8 Jan 2009 03:09:44 +0000 (19:09 -0800)]
Significant improvements to Kerberos and remctl configure probes

Attempt to determine if the library directory for remctl (and the
directory for Kerberos and GSS-API libraries if krb5-config isn't
found) is lib32 or lib64 instead of lib and set LDFLAGS accordingly.
Based on an idea from the CMU Autoconf macros.

Add --with-remctl-include, --with-remctl-lib, --with-gssapi-include,
--with-gssapi-lib, --with-krb5-include, and --with-krb5-lib configure
options to allow more specific setting of paths if necessary.

Check at configure time that we can link with the remctl library we
found.

15 years agoSupport examining principals with unmanaged instances
Russ Allbery [Wed, 7 Jan 2009 19:15:28 +0000 (11:15 -0800)]
Support examining principals with unmanaged instances

Properly add support for examining principals with instances we don't
manage.  Previous versions were supposed to support this but didn't
due to a bug in argument passing.

15 years agoAdd supporting examine on arbitrary principals to TODO
Russ Allbery [Thu, 6 Nov 2008 00:57:45 +0000 (16:57 -0800)]
Add supporting examine on arbitrary principals to TODO

15 years agoImported Upstream version 2.2 upstream/2.2
Russ Allbery [Fri, 1 Aug 2008 02:34:20 +0000 (19:34 -0700)]
Imported Upstream version 2.2

15 years agoAdd Git ignore file release/2.2
Russ Allbery [Fri, 1 Aug 2008 02:30:03 +0000 (19:30 -0700)]
Add Git ignore file

15 years agoRemove the build-aux files on make maintainer-clean
Russ Allbery [Fri, 1 Aug 2008 02:28:21 +0000 (19:28 -0700)]
Remove the build-aux files on make maintainer-clean

15 years agoInclude LICENSE in the release tarball
Russ Allbery [Fri, 1 Aug 2008 02:27:22 +0000 (19:27 -0700)]
Include LICENSE in the release tarball

15 years agoRelease 2.2
Russ Allbery [Fri, 1 Aug 2008 02:24:37 +0000 (19:24 -0700)]
Release 2.2

15 years agoAdd better error reporting to TODO
Russ Allbery [Fri, 1 Aug 2008 02:24:20 +0000 (19:24 -0700)]
Add better error reporting to TODO

15 years agoremctl fragments use conf mode rather than sh mode in Emacs
Russ Allbery [Fri, 1 Aug 2008 01:31:09 +0000 (18:31 -0700)]
remctl fragments use conf mode rather than sh mode in Emacs