r21822: Adding experimental krb5 lib locator plugin.
authorGünther Deschner <gd@samba.org>
Tue, 13 Mar 2007 16:04:17 +0000 (16:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:36 +0000 (12:18 -0500)
commit0e702698f9a7cf0e528f073bae65371ed58e5496
tree3d1bf4dc3ad6c59d65f8eb407258c8bbf8dc382b
parente6ccc787d93289b76db5e5cbaa3b109047e7139c
r21822: Adding experimental krb5 lib locator plugin.

This is a starting point and may get changed. Basically we need follow the
exact same path to detect (K)DCs like other Samba tools/winbind do. In
particular with regard to the server affinity cache and the site-awarness for
DNS SRV lookups.

To compile just call "make bin/smb_krb5_locator.so", copy to
/usr/lib/plugin/krb5/ (Heimdal HEAD) or /usr/lib/krb5/plugins/libkrb5/ (MIT)
and you should immediately be able to kinit to your AD domain without having
your REALM with kdc or kpasswd directives defined in /etc/krb5.conf at all.

Tested with todays Heimdal HEAD and MIT krb5 1.5.

Guenther
(This used to be commit 34ae610bd5b9fd1210f16beac07a1c5984144ca7)
source3/Makefile.in
source3/configure.in
source3/libads/smb_krb5_locator.c [new file with mode: 0644]