MIT krb5 has no "site" support.
- From: Jeremy Allison <jra@xxxxxxxxx>
- Date: Wed, 30 Aug 2006 18:18:03 -0700
I have a problem. In Samba, I'm implementing awareness
of Microsoft AD "site" support. This is a way of grouping
AD domain controllers so into "sites" along with clients,
based on IP address.
An administrator groups a range of client IP networks into
a "site", and KDC's whose IP addresses are on these networks
are "local" to that site and are contacted by preference for
a given realm.
On startup, a client does a DNS query for AD servers of the form :
_ldap._tcp.dc._msdcs.<DnsDomainName>
A CLDAP query is then done to one of these IP addresses, and
inside the reply is the "site" string for that client (all
AD DC's in a domain replicate the site information, so it can
look up what site any client is in from it's IP address).
The client then does a DNS query of the form :
_kerberos._tcp.<site>._sites.dc._msdcs.<DnsDomainName>
Only KDC's local to that client's site will register that
name, so the client then has a local KDC to talk to (no
nasty WAN links needed :-).
My problem - I can replicate all the above inside the
Samba code, but as soon as I drop into the MIT krb5
code I have no way to associate an arbitrary IP address
as the particular KDC of the realm I'm in.
The MIT libraries do their own DNS queries, and I'm reduced
to writing out a custom krb5.conf file and setting an env.
variable to force them to go where I need them to go (local
to my site) in order to stop them potentially doing remote
KDC queries.
So, I either need MIT to add "site" support into the DNS
queries, or the ability for me to programatically associate
a given IP address with the KDC for a given realm. I don't
mind which, but I think I need one or the other.
Comments (and code patches :-) welcome !
Jeremy Allison.
Samba Team.
.
- Follow-Ups:
- Re: MIT krb5 has no "site" support.
- From: Donn Cave
- Re: MIT krb5 has no "site" support.
- Prev by Date: help
- Next by Date: Re: auth_to_local
- Previous by thread: help
- Next by thread: Re: MIT krb5 has no "site" support.
- Index(es):
Relevant Pages
|