Add heimdal-kadm-{client,server} with kadm-{client,server} depending on
them.
Issue #491: bus error in resolve_origin()

resolve_origin attempts to insert '\0' into a field from a DL_info
struct, causes BUS error.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Minor WIN32/POSIX bug in resolve_origin()
Merge pull request #53 from jelmer/kadm-pc

Also add heimdal-kadm-{server,client} pc files that are co-installable with MIT.
Add symbol versioning for libkadm5clnt

In order to support plugins for kadmin that use libkadm5srv, the
libkadm5clnt library has to be versioned to avoid hijacking all
of the function calls that should go to the server library.  Omit
the _kadm5_ clients from the public interface, and version
everything else.

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
gm_mech_oid must be set

mechanism credentials created by dynamically loaded mechanisms do not work
because the gm_mech_oid field is unset for such mechanisms (instead, only
gm_mech.gm_mech_oid is).
set m->gm_mech.gm_name
Fix k5login_authoritative

In the previous implementation when .k5login or .k5login.d existed
and k5login_authoritative was false, no further plugins were tried.
Also when k5login_authoritative was true and .k5login did not match,
the directory was never tried.
Fix handling of SIGINT/SIGTERM in kcm.

Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654349
Merge pull request #56 from jelmer/kcm-fix-sigterm

Fix handling of SIGINT/SIGTERM in kcm.
Update .gitignore with generated files.
Merge pull request #57 from jelmer/gitignore-update

Update .gitignore with generated files.
roken-h-process: use Getopt::Std, getopts.pl is deprecated

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
fix the kswitch(1) manual prologue

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
make sure h is set at when we find a match, from [GITHUB #54]
Fix compiling hdb ldap as a module

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
Simple hdb plugin test

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
Fix roken-h-process.pl
kadm5: use rk_closesocket to close sockets

kadm5_c_destroy did not use rk_closesocket when cleaning up
the context.  This results in an exception on Windows since a
socket is not a file descriptor.

Change-Id: I9ebddad61f0199acb495a0773925df4f41e4fef2
Revert "Minor WIN32/POSIX bug in resolve_origin()"

This reverts commit c9985fc695dce0f7d71abbbcc7d8245f7c1ab2dd.