svn commit: samba r21822 - in branches: SAMBA_3_0/source SAMBA_3_0/source/libads SAMBA_3_0_25/source SAMBA_3_0_25/source/libads

gd at samba.org gd at samba.org
Tue Mar 13 16:04:18 GMT 2007


Author: gd
Date: 2007-03-13 16:04:17 +0000 (Tue, 13 Mar 2007)
New Revision: 21822

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21822

Log:
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

Added:
   branches/SAMBA_3_0/source/libads/smb_krb5_locator.c
   branches/SAMBA_3_0_25/source/libads/smb_krb5_locator.c
Modified:
   branches/SAMBA_3_0/source/Makefile.in
   branches/SAMBA_3_0/source/configure.in
   branches/SAMBA_3_0_25/source/Makefile.in
   branches/SAMBA_3_0_25/source/configure.in


Changeset:
Sorry, the patch is too large (899 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21822


More information about the samba-cvs mailing list