]> eyrie.org Git - kerberos/krb5-sync.git/log
kerberos/krb5-sync.git
11 years agoImported Upstream version 2.3 upstream/2.3
Russ Allbery [Tue, 18 Sep 2012 19:56:55 +0000 (12:56 -0700)]
Imported Upstream version 2.3

11 years agoRelease 2.3 release/2.3
Russ Allbery [Tue, 18 Sep 2012 19:54:26 +0000 (12:54 -0700)]
Release 2.3

11 years agoAdd new test files to the distribution
Russ Allbery [Tue, 18 Sep 2012 19:53:43 +0000 (12:53 -0700)]
Add new test files to the distribution

11 years agoTest plugin interfaces for handling of NULL passwords
Russ Allbery [Tue, 18 Sep 2012 19:42:16 +0000 (12:42 -0700)]
Test plugin interfaces for handling of NULL passwords

11 years agoRewrite LICENSE in the copyright-format 1.0 format
Russ Allbery [Tue, 18 Sep 2012 04:25:26 +0000 (21:25 -0700)]
Rewrite LICENSE in the copyright-format 1.0 format

11 years agoAdd or update license statements
Russ Allbery [Tue, 18 Sep 2012 04:25:07 +0000 (21:25 -0700)]
Add or update license statements

Add missing license statements and update the license to the standard
Expat license.

11 years agoFormatting, organization, and license updates to README
Russ Allbery [Tue, 18 Sep 2012 04:24:13 +0000 (21:24 -0700)]
Formatting, organization, and license updates to README

Add the new LICENSE section that I'm now using for software, adjust
more documentation for the new plugin installation location, and
clean up some other bits in the documentation.

11 years agoInstall the plugin in a kadm5_hook directory
Russ Allbery [Tue, 18 Sep 2012 03:44:49 +0000 (20:44 -0700)]
Install the plugin in a kadm5_hook directory

The plugin is now installed in a kadm5_hook subdirectory under
krb5/plugins (under libdir in turn), matching the plugin layout used
by MIT Kerberos.

11 years agoRename plugin tests
Russ Allbery [Tue, 18 Sep 2012 01:05:11 +0000 (18:05 -0700)]
Rename plugin tests

Don't create a directory for each Kerberos implementation.  We don't
have a whole set of tests for each implementation.  Instead, move the
two implementation-specific interface checks into the plugin directory.

11 years agoAdd a test for the MIT Kerberos plugin interface
Russ Allbery [Tue, 18 Sep 2012 00:58:07 +0000 (17:58 -0700)]
Add a test for the MIT Kerberos plugin interface

11 years agoIncrease the memory limits in the xmalloc test
Russ Allbery [Tue, 18 Sep 2012 00:57:12 +0000 (17:57 -0700)]
Increase the memory limits in the xmalloc test

We now need to allow for and allocate more memory to get proper
test results when linking with all the Heimdal libraries.

11 years agoHandle NULL password for Heimdal, collapse duplicate code
Russ Allbery [Tue, 18 Sep 2012 00:06:34 +0000 (17:06 -0700)]
Handle NULL password for Heimdal, collapse duplicate code

While our Heimdal patch never calls our hook for create without a
password, handle this case anyway in case that changes in the future.
Collapse duplicate code from create and chpass by having create just
call chpass.

11 years agoAdd test for the Heimdal plugin API
Russ Allbery [Fri, 14 Sep 2012 04:00:33 +0000 (21:00 -0700)]
Add test for the Heimdal plugin API

11 years agoIn queuing test, don't free environment that's still active
Russ Allbery [Fri, 14 Sep 2012 03:50:11 +0000 (20:50 -0700)]
In queuing test, don't free environment that's still active

11 years agoUpdate TODO for the fact that we now have a test suite
Russ Allbery [Fri, 14 Sep 2012 03:07:13 +0000 (20:07 -0700)]
Update TODO for the fact that we now have a test suite

11 years agoUse krb5_free_unparsed_name uniformly
Russ Allbery [Fri, 14 Sep 2012 03:04:37 +0000 (20:04 -0700)]
Use krb5_free_unparsed_name uniformly

11 years agoTest failure to queue and running with no configuration
Russ Allbery [Fri, 14 Sep 2012 03:00:54 +0000 (20:00 -0700)]
Test failure to queue and running with no configuration

11 years agoFail queue writes early when we can't lock the queue
Russ Allbery [Fri, 14 Sep 2012 03:00:37 +0000 (20:00 -0700)]
Fail queue writes early when we can't lock the queue

11 years agoAlso test queuing for enables and disables
Russ Allbery [Fri, 14 Sep 2012 02:51:03 +0000 (19:51 -0700)]
Also test queuing for enables and disables

11 years agoTest postcommit_password, check no extra queue files
Russ Allbery [Fri, 14 Sep 2012 02:29:06 +0000 (19:29 -0700)]
Test postcommit_password, check no extra queue files

Test that pwupdate_postcommit_password does nothing, silently.  Check
that there aren't any stray files in the queue directory.

11 years agoTest the mode of the generated queue file
Russ Allbery [Fri, 14 Sep 2012 02:24:11 +0000 (19:24 -0700)]
Test the mode of the generated queue file

11 years agoAdd an initial test suite for the plugin
Russ Allbery [Fri, 14 Sep 2012 02:20:00 +0000 (19:20 -0700)]
Add an initial test suite for the plugin

Currently only tests queuing of password changes.

Properly pass Kerberos preprocessor flags to the compiler when
building the plugin.

11 years agoAdd further changes from rra-c-util 4.6
Russ Allbery [Wed, 12 Sep 2012 23:41:45 +0000 (16:41 -0700)]
Add further changes from rra-c-util 4.6

Drop concat and concatpath from the util library.  Change xasprintf,
xvasprintf, basprintf, and bvasprintf to be void functions and remove
any remaining checks of their exit status.

11 years agoUpdate to rra-c-util 4.6 and C TAP Harness 1.12
Russ Allbery [Wed, 12 Sep 2012 00:03:50 +0000 (17:03 -0700)]
Update to rra-c-util 4.6 and C TAP Harness 1.12

11 years agoMention explicitly that no patch is required for MIT 1.9+
Russ Allbery [Tue, 11 Sep 2012 23:56:43 +0000 (16:56 -0700)]
Mention explicitly that no patch is required for MIT 1.9+

11 years agoIgnore key randomizations from MIT Kerberos
Russ Allbery [Tue, 11 Sep 2012 23:38:05 +0000 (16:38 -0700)]
Ignore key randomizations from MIT Kerberos

12 years agoIgnore "Operation not permitted" errors in silent krb5-sync-backend
Russ Allbery [Thu, 23 Feb 2012 18:53:06 +0000 (10:53 -0800)]
Ignore "Operation not permitted" errors in silent krb5-sync-backend

When krb5-sync-backend is running in silent mode, ignore "Operation
not permitted" errors from krb5_set_password.  Heimdal 1.5.2 returns
this error from Active Directory when attempting to change the
password of an account that does not exist.

12 years agoImported Upstream version 2.2 upstream/2.2
Russ Allbery [Wed, 11 Jan 2012 00:21:22 +0000 (16:21 -0800)]
Imported Upstream version 2.2

12 years agoChange module name to krb5_sync, add more configuration docs release/2.2
Russ Allbery [Wed, 11 Jan 2012 00:14:32 +0000 (16:14 -0800)]
Change module name to krb5_sync, add more configuration docs

The name of the plugin is now krb5_sync.so instead of passwd_update.so
and is installed under /usr/local/lib/krb5/plugins by default.  The
KDC configuration for the name of the module to load will need to
change accordingly.

Add configuration documentation for Heimdal and MIT post 1.9 to README.

12 years agoImported Upstream version 2.2
Russ Allbery [Tue, 10 Jan 2012 23:28:04 +0000 (15:28 -0800)]
Imported Upstream version 2.2

12 years agoRelease 2.2
Russ Allbery [Tue, 10 Jan 2012 23:24:10 +0000 (15:24 -0800)]
Release 2.2

12 years agoUpdate LICENSE
Russ Allbery [Tue, 10 Jan 2012 23:17:55 +0000 (15:17 -0800)]
Update LICENSE

12 years agoUse the correct form of the Stanford University copyright
Russ Allbery [Tue, 10 Jan 2012 23:06:33 +0000 (15:06 -0800)]
Use the correct form of the Stanford University copyright

12 years agoCheck the configuration in krb5-sync rather than segfaulting
Russ Allbery [Tue, 10 Jan 2012 23:01:07 +0000 (15:01 -0800)]
Check the configuration in krb5-sync rather than segfaulting

In krb5-sync, diagnose an incomplete krb5.conf configuration and
report an error indicating the missing setting rather than
segfaulting.

12 years agoConvert krb5-sync to use bool
Russ Allbery [Tue, 10 Jan 2012 22:42:49 +0000 (14:42 -0800)]
Convert krb5-sync to use bool

12 years agoAdd krb5_appdefault_* replacement for AIX's bundled Kerberos
Russ Allbery [Tue, 10 Jan 2012 22:39:35 +0000 (14:39 -0800)]
Add krb5_appdefault_* replacement for AIX's bundled Kerberos

12 years agoFix the program name used for initial credential defaults
Russ Allbery [Tue, 10 Jan 2012 22:36:39 +0000 (14:36 -0800)]
Fix the program name used for initial credential defaults

Fix the program name used by the plugin to load initial credential
default flags on Heimdal to be krb5-sync, not k5start.

12 years agoNEWS entry for test suite addition
Russ Allbery [Tue, 10 Jan 2012 22:30:30 +0000 (14:30 -0800)]
NEWS entry for test suite addition

12 years agoImprovements to the package blurb
Russ Allbery [Tue, 10 Jan 2012 22:30:01 +0000 (14:30 -0800)]
Improvements to the package blurb

12 years agoFix typo in README title
Russ Allbery [Tue, 10 Jan 2012 20:55:53 +0000 (12:55 -0800)]
Fix typo in README title

12 years agoAdd additional test suite files to EXTRA_DIST
Russ Allbery [Tue, 10 Jan 2012 20:48:18 +0000 (12:48 -0800)]
Add additional test suite files to EXTRA_DIST

12 years agoAdd documentation tests
Russ Allbery [Tue, 10 Jan 2012 20:47:31 +0000 (12:47 -0800)]
Add documentation tests

12 years agoAdd documentation of the test suite
Russ Allbery [Tue, 10 Jan 2012 20:42:52 +0000 (12:42 -0800)]
Add documentation of the test suite

12 years agoAccept password in standard input in krb5-sync-backend
Russ Allbery [Tue, 10 Jan 2012 20:41:27 +0000 (12:41 -0800)]
Accept password in standard input in krb5-sync-backend

krb5-sync-backend's password command now accepts the password on
standard input in addition to accepting it as a command-line
parameter.  This is more secure since the password is not exposed to
other users of the same system.

12 years agoBetter configure support for finding LDAP libraries
Russ Allbery [Tue, 10 Jan 2012 19:30:59 +0000 (11:30 -0800)]
Better configure support for finding LDAP libraries

Add --with-ldap, --with-ldap-include, and --with-ldap-lib flags to
configure to specify the locations of the OpenLDAP libraries if
they're not on the standard search path.

This also avoids linking things unnecessarily against the LDAP
libraries, which fixes problems with the xmalloc test suite.

12 years agoReport the allocation limit on xmalloc failure
Russ Allbery [Tue, 10 Jan 2012 19:20:01 +0000 (11:20 -0800)]
Report the allocation limit on xmalloc failure

12 years agoUse strip_colon_error and diag in the xmalloc test suite
Russ Allbery [Tue, 10 Jan 2012 19:19:27 +0000 (11:19 -0800)]
Use strip_colon_error and diag in the xmalloc test suite

Report the error from the xmalloc helper program via diag on failure.

12 years agoImport the portable and util test suite from rra-c-util
Russ Allbery [Tue, 10 Jan 2012 19:18:24 +0000 (11:18 -0800)]
Import the portable and util test suite from rra-c-util

12 years agoRemove the patch for Stanford's MIT Kerberos 1.4.4
Russ Allbery [Tue, 10 Jan 2012 18:24:37 +0000 (10:24 -0800)]
Remove the patch for Stanford's MIT Kerberos 1.4.4

Remove the patch for Stanford's patched MIT Kerberos 1.4.4 from the
distribution.  This has not been used at Stanford for years and is old
enough that it's unlikely to be of interest to others.

12 years agoconfigure.ac and Makefile.am cleanup
Russ Allbery [Tue, 10 Jan 2012 18:17:59 +0000 (10:17 -0800)]
configure.ac and Makefile.am cleanup

Move all Automake options into configure.ac instead of splitting them
between configure.ac and Makefile.am.  Add a probe for uint32_t, since
we use it in our code.

12 years agoUpdate to rra-c-util 4.1
Russ Allbery [Tue, 10 Jan 2012 17:34:45 +0000 (09:34 -0800)]
Update to rra-c-util 4.1

* Build on systems where krb5/krb5.h exists but krb5.h does not.
* Kerberos probes no longer assume transitive library dependencies.
* Fix removal of /usr/include from Kerberos CPPFLAGS.
* Include strings.h where present for more POSIX string functions.
* Avoid passing a NULL context to krb5_get_error_message.
* Fix a data type issue in the messages utility library.
* Fix incorrect __attribute notations in the utility library.
* Add replacement for a missing strndup (such as on Mac OS X).
* Add notices to all files copied from rra-c-util.

12 years agoAdd krb5-adsync evaluation to TODO
Russ Allbery [Tue, 20 Sep 2011 21:06:00 +0000 (14:06 -0700)]
Add krb5-adsync evaluation to TODO

12 years agoCleanup of MIT Kerberos 1.9 support
Russ Allbery [Mon, 8 Aug 2011 23:12:52 +0000 (16:12 -0700)]
Cleanup of MIT Kerberos 1.9 support

Do some code and syntax cleanup, update NEWS and README, rename the
file to match the current naming convention, and fix the prototype
of the external function we provide.

12 years agoUpdate patches/README for the current list of available patches
Russ Allbery [Mon, 8 Aug 2011 23:11:45 +0000 (16:11 -0700)]
Update patches/README for the current list of available patches

12 years agoMark unused a variable only used on Heimdal
Russ Allbery [Mon, 8 Aug 2011 22:31:52 +0000 (15:31 -0700)]
Mark unused a variable only used on Heimdal

Avoids warnings from the current GCC when building against MIT.

12 years agoSupport kadm5_hook interface
Sam Hartman [Mon, 8 Aug 2011 21:49:03 +0000 (14:49 -0700)]
Support kadm5_hook interface

Support the kadm5_hook interface introduced in MIT Kerberos 1.9.  This
commit includes code to convert that interface to password update plugin
calls.

13 years agoAdd better Heimdal error reporting to TODO
Russ Allbery [Tue, 25 Jan 2011 20:25:59 +0000 (12:25 -0800)]
Add better Heimdal error reporting to TODO

13 years agoAdd TODO for a list of synchronized accounts
Russ Allbery [Sun, 31 Oct 2010 05:18:24 +0000 (22:18 -0700)]
Add TODO for a list of synchronized accounts

13 years agoAlso adjust MIT Kerberos 1.8.3 patch to handle -randkey changes
Russ Allbery [Thu, 16 Sep 2010 02:07:20 +0000 (19:07 -0700)]
Also adjust MIT Kerberos 1.8.3 patch to handle -randkey changes

The patch was calling strlen unconditionally on the password.  Change
that to pass a length of 0 if the password is NULL.

13 years agoSkip password change if given a NULL password
Russ Allbery [Wed, 15 Sep 2010 00:08:35 +0000 (17:08 -0700)]
Skip password change if given a NULL password

Current MIT Kerberos calls the password change hook with a NULL
password in the -randkey case, which the module wasn't prepared to
handle.  For now, quietly skip -randkey key changes, since we cannot
currently do anything sensible with them.

13 years agoImported Upstream version 2.1 upstream/2.1
Russ Allbery [Fri, 27 Aug 2010 00:56:38 +0000 (17:56 -0700)]
Imported Upstream version 2.1

13 years agoInclude the new MIT 1.8.3 patch in the distribution release/2.1
Russ Allbery [Fri, 27 Aug 2010 00:53:48 +0000 (17:53 -0700)]
Include the new MIT 1.8.3 patch in the distribution

13 years agoRelease 2.1
Russ Allbery [Fri, 27 Aug 2010 00:52:02 +0000 (17:52 -0700)]
Release 2.1

13 years agoAdd additional Autoconf probe needed for new Kerberos portability
Russ Allbery [Fri, 27 Aug 2010 00:51:39 +0000 (17:51 -0700)]
Add additional Autoconf probe needed for new Kerberos portability

krb5_get_init_creds_opt_free needs a new Autoconf probe.

13 years agoAdd a NEWS entry for removal of deprecated LDAP functions
Russ Allbery [Thu, 26 Aug 2010 23:08:13 +0000 (16:08 -0700)]
Add a NEWS entry for removal of deprecated LDAP functions

13 years agoAvoid deprecated OpenLDAP functions
Russ Allbery [Thu, 26 Aug 2010 23:06:44 +0000 (16:06 -0700)]
Avoid deprecated OpenLDAP functions

This mostly consists of changing to the _ext_s forms of various
functions, but also means using the value retrieval functions that
return struct bervals, with corresponding changes to how the
resulting data is managed.

13 years agoAdd additional gcc warnings
Russ Allbery [Thu, 26 Aug 2010 22:16:56 +0000 (15:16 -0700)]
Add additional gcc warnings

Add -Wformat=2 -Winit-self -Wswitch-enum -Wdeclaration-after-statement
-Wshadow to the set of gcc warnings.  Stop passing -DDEBUG=1 since I no
longer use that define anywhere.  Change -W to -Wextra since I'm
requiring a fairly new GCC anyway.

Fix a place where a local variable was being shadowed, picked up by
-Wshadow.

13 years agoUpdate copyright dates for autotools in LICENSE
Russ Allbery [Thu, 26 Aug 2010 21:48:45 +0000 (14:48 -0700)]
Update copyright dates for autotools in LICENSE

13 years agoUpdate README for the libkadm5srv_mit naming in newer MIT
Russ Allbery [Thu, 26 Aug 2010 21:46:09 +0000 (14:46 -0700)]
Update README for the libkadm5srv_mit naming in newer MIT

13 years agoUpdate to rra-c-util 2.6
Russ Allbery [Thu, 26 Aug 2010 21:44:10 +0000 (14:44 -0700)]
Update to rra-c-util 2.6

* Fix portability to bundled Heimdal on OpenBSD.
* Fix portability for missing krb5_get_init_creds_opt_free.

Also update util/messages.[ch] so that it will compile with more
warnings enabled.

13 years agoAdd a patch for MIT Kerberos 1.8.3
Russ Allbery [Thu, 26 Aug 2010 21:33:08 +0000 (14:33 -0700)]
Add a patch for MIT Kerberos 1.8.3

Add a version of the krb5-sync patch for MIT Kerberos 1.8.3.  This is
a simple forward-port of the 1.4.4 patch and doesn't use any of the
new plugin capabilities or configuration.  Thanks to Sam Hartman for
the port.

14 years agokrb5-sync-backend error suppression improvements with Heimdal
Russ Allbery [Sun, 16 May 2010 19:47:13 +0000 (12:47 -0700)]
krb5-sync-backend error suppression improvements with Heimdal

Fix suppression of some error messages in krb5-sync-backend when the
-s flag was given.  This was broken by adding the krb5-sync: prefix to
error messages from krb5-sync.

Suppress the Heimdal service_locator plugin error message in
krb5-sync-backend when the -s flag was given.

14 years agoQueue password change for AD for any password change failure
Russ Allbery [Sun, 16 May 2010 18:13:13 +0000 (11:13 -0700)]
Queue password change for AD for any password change failure

Queue password changes on any failure to change the password in Active
Directory, rather than only on failures returned as an error in the
password change protocol.  Heimdal 1.3.2 will return an error about a
missing service location plugin instead of the last error from Active
Directory, causing the plugin to fail the whole password change rather
than queuing it as intended for unknown users.

14 years agoImported Upstream version 2.0 upstream/2.0
Russ Allbery [Tue, 16 Feb 2010 06:38:57 +0000 (22:38 -0800)]
Imported Upstream version 2.0

14 years agoReplacement krb5_free_error_message must not be static release/2.0
Russ Allbery [Tue, 16 Feb 2010 06:35:22 +0000 (22:35 -0800)]
Replacement krb5_free_error_message must not be static

14 years agoImported Upstream version 2.0
Russ Allbery [Tue, 16 Feb 2010 06:05:46 +0000 (22:05 -0800)]
Imported Upstream version 2.0

14 years agoUpdate LICENSE for the portability and utility libraries
Russ Allbery [Tue, 16 Feb 2010 05:59:17 +0000 (21:59 -0800)]
Update LICENSE for the portability and utility libraries

14 years agoImported Upstream version 2.0
Russ Allbery [Tue, 16 Feb 2010 04:27:56 +0000 (20:27 -0800)]
Imported Upstream version 2.0

14 years agoFix the sections of the generated man pages
Russ Allbery [Tue, 16 Feb 2010 04:23:30 +0000 (20:23 -0800)]
Fix the sections of the generated man pages

14 years agoImported Upstream version 2.0
Russ Allbery [Tue, 16 Feb 2010 03:34:13 +0000 (19:34 -0800)]
Imported Upstream version 2.0

14 years agoAdd missing files to EXTRA_DIST
Russ Allbery [Tue, 16 Feb 2010 03:19:35 +0000 (19:19 -0800)]
Add missing files to EXTRA_DIST

14 years agoRelease 2.0
Russ Allbery [Tue, 16 Feb 2010 03:12:53 +0000 (19:12 -0800)]
Release 2.0

14 years agoAdd a note that the Heimdal integration is preliminary
Russ Allbery [Tue, 16 Feb 2010 03:09:30 +0000 (19:09 -0800)]
Add a note that the Heimdal integration is preliminary

14 years agoAdd more of a disclaimer for the Heimdal patch
Russ Allbery [Fri, 12 Feb 2010 19:35:16 +0000 (11:35 -0800)]
Add more of a disclaimer for the Heimdal patch

14 years agoAdd a patch for Heimdal 1.3.1 to the patches directory
Russ Allbery [Fri, 12 Feb 2010 00:29:26 +0000 (16:29 -0800)]
Add a patch for Heimdal 1.3.1 to the patches directory

14 years agoRemove a stray newline in AD status reporting in krb5-sync
Russ Allbery [Thu, 11 Feb 2010 22:58:30 +0000 (14:58 -0800)]
Remove a stray newline in AD status reporting in krb5-sync

14 years agoBe briefer about the Kerberos Autoconf changes
Russ Allbery [Sat, 6 Feb 2010 03:18:31 +0000 (19:18 -0800)]
Be briefer about the Kerberos Autoconf changes

14 years agoRemove additional AFS references in krb5-sync-backend
Russ Allbery [Sat, 6 Feb 2010 01:47:49 +0000 (17:47 -0800)]
Remove additional AFS references in krb5-sync-backend

14 years agoAdd support for precommit and postcommit stages to Heimdal plugin
Russ Allbery [Sat, 6 Feb 2010 00:52:29 +0000 (16:52 -0800)]
Add support for precommit and postcommit stages to Heimdal plugin

14 years agoImport messages-krb5 from rra-c-util and use it in krb5-sync
Russ Allbery [Fri, 5 Feb 2010 23:05:52 +0000 (15:05 -0800)]
Import messages-krb5 from rra-c-util and use it in krb5-sync

14 years agoDon't add -Wall when compiling with gcc
Russ Allbery [Fri, 5 Feb 2010 19:55:13 +0000 (11:55 -0800)]
Don't add -Wall when compiling with gcc

CFLAGS is up to the user to set, and we have make warnings for development.

14 years agokadm5/kadm5_err.h is Heimdal-specific
Russ Allbery [Fri, 5 Feb 2010 19:54:16 +0000 (11:54 -0800)]
kadm5/kadm5_err.h is Heimdal-specific

Wrap the include of the header with #ifdef and probe for it at configure
time.  MIT Kerberos includes the error table in the regular header.

14 years agoImport utility library and use it for messages from krb5-sync
Russ Allbery [Fri, 5 Feb 2010 19:30:58 +0000 (11:30 -0800)]
Import utility library and use it for messages from krb5-sync

Import the messages and xmalloc parts of the utility library and use
it for messages from krb5-sync.  Also use util/macros.h to provide the
UNUSED define.

14 years agoRemove a stray #endif from a bad rebase
Russ Allbery [Fri, 5 Feb 2010 05:02:07 +0000 (21:02 -0800)]
Remove a stray #endif from a bad rebase

14 years agoMassive update of Kerberos compatibility code
Russ Allbery [Fri, 5 Feb 2010 04:55:38 +0000 (20:55 -0800)]
Massive update of Kerberos compatibility code

If krb5-config produces results that don't work for Kerberos probes,
fall back on manual library probing rather than just failing.

If KRB5_CONFIG was explicitly set in the environment, don't use a
different krb5-config based on --with-krb5.  If krb5-config isn't
executable, don't use it.  This allows one to force library probing by
setting KRB5_CONFIG to point to a nonexistent file.

Sanity-check the results of krb5-config before proceeding and error
out in configure if they don't work.

Add separate --with-krb5-lib and --with-krb5-include configure options
to set the library and include directories independently, and handle
lib64 systems better and more automatically.

Import the new Kerberos compatibility layer from rra-c-util and
supplement it with the principal manipulation functions needed here.
Take advantage of it to massively simplify the code.

14 years agoUpdate code to take advantage of portability guarantees
Russ Allbery [Fri, 5 Feb 2010 03:32:06 +0000 (19:32 -0800)]
Update code to take advantage of portability guarantees

Add portability code for platforms without a working snprintf or other
deficiencies and updated the code to take advantage of those
guarantees.

Add extra blank lines between functions.

14 years agoUpdate MAINTAINERCLEANFILES to be more comprehensive
Russ Allbery [Fri, 5 Feb 2010 02:59:53 +0000 (18:59 -0800)]
Update MAINTAINERCLEANFILES to be more comprehensive

14 years agoGenerate the manual pages from autogen
Russ Allbery [Fri, 5 Feb 2010 02:52:32 +0000 (18:52 -0800)]
Generate the manual pages from autogen

14 years agoAdd the bootstrap requirements to README
Russ Allbery [Fri, 5 Feb 2010 02:47:51 +0000 (18:47 -0800)]
Add the bootstrap requirements to README

14 years agoEnable Automake silent rules
Russ Allbery [Fri, 5 Feb 2010 02:45:55 +0000 (18:45 -0800)]
Enable Automake silent rules

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

Update the make install wording in README to match something close to
my current boilerplate.  Update make warnings to match rra-c-util.