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)
commit34ae610bd5b9fd1210f16beac07a1c5984144ca7
treee614f7a4724c98c2590b52c1ddf296c0256034a9
parent4efc7b45985e807532214959c1872cd6e7865ab8
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
source/Makefile.in
source/configure.in
source/libads/smb_krb5_locator.c [new file with mode: 0644]