Click here to get back home

kerberos realm trust: how to find the realm for a service?

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
kerberos realm trust: how to find the realm for a service? Luke 08-04-2005
Posted by Luke on August 4, 2005, 7:50 pm
Please log in for more thread options
Hi,

I have a unix kerberos realm "UNIX" which trusts a windows 2003 domain
"WIN". In the windows domain configuration, the trust was set up as an
incoming one-way non-transitive realm trust.

Cross-realm authentication works fine using a unix client: I can log
into the WIN domain with the unix client, and then I can access
services in the UNIX realm.

Windows clients can't access unix services though, because they assume
that the service belongs to the WIN domain. How do I tell windows
clients that a service belongs to the UNIX realm? In unix I set up a
mapping from dns hostname to kerberos realm in the krb5.conf
configuration file. Is there something similar to this in windows? Or
is there some way to set up the WIN domain controller to know when to
send referrals to the UNIX kerberos domain controller?

Thanks,
Luke.



Posted by Roger Abell on August 4, 2005, 11:24 pm
Please log in for more thread options
It sounds as though you have not established SPNs (service principal
names) for the services. These are used in Windows as a means of
providing the full Kerberos hierarchical names.
The few sections starting at the following explain this
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/96725ab2-02a8-4c7e-8e0e-d298ec304e3b.mspx
However, there is more to it. Operation with the foreign service is
only possible if it has the correct authentication API support, and
full articulation can mean the service needs to actually be running as
a Windows principal.
http://www.microsoft.com/technet/prodtechnol/windows2000serv/howto/kerbstep.mspx
is old but covers some of this in the Support for Kerb services section.

--
Roger Abell
Microsoft MVP (Windows Security)
MCSE (W2k3,W2k,Nt4) MCDBA
> Hi,
>
> I have a unix kerberos realm "UNIX" which trusts a windows 2003 domain
> "WIN". In the windows domain configuration, the trust was set up as an
> incoming one-way non-transitive realm trust.
>
> Cross-realm authentication works fine using a unix client: I can log
> into the WIN domain with the unix client, and then I can access
> services in the UNIX realm.
>
> Windows clients can't access unix services though, because they assume
> that the service belongs to the WIN domain. How do I tell windows
> clients that a service belongs to the UNIX realm? In unix I set up a
> mapping from dns hostname to kerberos realm in the krb5.conf
> configuration file. Is there something similar to this in windows? Or
> is there some way to set up the WIN domain controller to know when to
> send referrals to the UNIX kerberos domain controller?
>
> Thanks,
> Luke.
>




Posted by Luke on August 10, 2005, 9:21 pm
Please log in for more thread options
Thanks for the pointers, Roger! I don't have admin access for the
windows domain, only for the unix kerberos domain, so adding an account
for each service is not possible. Even the tools for registering SPNs
in Active Directory (from the your link) seem to require admin access
to the windows domain.

All I really want to do is make Internet Explorer realise it needs a
key for the SPN "HTTP/hostname@UNIX" rather than "HTTP/hostname@WIN"
for a accessing web pages on certain hostnames. This is easy to
configure with MIT's kerberos client. The Microsoft's built-in
kerberos client just doesn't seem to allow such a configuration, but
instead it relies on the domain controller of the logged-in domain to
send a kerberos referral to the appropriate kerberos realm for that
service (which doesn't work with "realm trusts" to non-windows realms).

Thankfully Mozilla Firefox should soon support MIT's Kerberos for
Windows as an alternative to Microsoft's kerberos implementation:
https://bugzilla.mozilla.org/show_bug.cgi?id=280792

I guess I'll need to wait for that.

Thanks,
Luke.



Similar ThreadsPosted
Windows 2008 AD cross realm trust with MIT Kerberos realm August 1, 2008, 10:31 am
trusting a non-Windows Kerberos Realm March 27, 2008, 11:28 am
Delegation using GSSAPI in Microsoft Kerberose based realm November 26, 2005, 7:17 am
The Kerberos Key Distribution Center service hung on starting. ID 7022. December 13, 2007, 10:49 am
Can't find valid certificate June 27, 2006, 12:27 pm
Find SID for a local user Account March 6, 2006, 3:05 pm
Find Huge MCSE resources... June 26, 2007, 6:40 am
Unable to find Key Recovery Agent template!!! July 8, 2005, 11:28 am
How could I find invisible user in admin group? August 12, 2005, 8:34 am
Key Distribution Center (KDC) cannot find a suitable certificate July 24, 2008, 10:55 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap