diff options
author | Günther Deschner <gd@samba.org> | 2007-03-13 16:04:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:36 -0500 |
commit | 0e702698f9a7cf0e528f073bae65371ed58e5496 (patch) | |
tree | 3d1bf4dc3ad6c59d65f8eb407258c8bbf8dc382b /source3/configure.in | |
parent | e6ccc787d93289b76db5e5cbaa3b109047e7139c (diff) | |
download | samba-0e702698f9a7cf0e528f073bae65371ed58e5496.tar.gz samba-0e702698f9a7cf0e528f073bae65371ed58e5496.tar.bz2 samba-0e702698f9a7cf0e528f073bae65371ed58e5496.zip |
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)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 6a380a1cde..5cd07924f6 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3446,6 +3446,7 @@ if test x"$with_ads_support" != x"no"; then CPPFLAGS=$ac_save_CPPFLAGS LDFLAGS=$ac_save_LDFLAGS fi + AC_CHECK_HEADERS(krb5/locate_plugin.h) fi # Now we have determined whether we really want ADS support @@ -5624,6 +5625,8 @@ WINBIND_WINS_NSS="nsswitch/libnss_wins.$SHLIBEXT" WINBIND_NSS_LDSHFLAGS=$LDSHFLAGS NSSSONAMEVERSIONSUFFIX="" +SMB_KRB5_LOCATOR="bin/smb_krb5_locator.$SHLIBEXT" + case "$host_os" in *linux*) NSSSONAMEVERSIONSUFFIX=".2" @@ -5693,6 +5696,8 @@ AC_SUBST(WINBIND_NSS_EXTRA_OBJS) AC_SUBST(WINBIND_NSS_EXTRA_LIBS) AC_SUBST(NSSSONAMEVERSIONSUFFIX) +AC_SUBST(SMB_KRB5_LOCATOR) + # Check the setting of --with-winbind AC_ARG_WITH(winbind, |