Kerberos authentication with Windows 2000

Kerberos authentication with Windows 2000

Post by Jari Huovi » Fri, 23 Feb 2001 04:44:07



Hello!

I'm trying to make it possible for the users of our Windows 2000
domain to log on to a RedHat Linux 7.0 workstation using Kerberos v5
authentication. Here's a description of my setup and what I've done:

- Windows 2000 domain: foobar.com

- Windows 2000 Server (w2kserver.foobar.com), address 10.0.0.2

- RedHat Linux 7.0 workstation (rhlinux.foobar.com), address
10.0.0.100

- User account 'johndoe' in both Windows 2000 domain and Linux
workstation.

- User account 'rhlinux' in Windows 2000 domain.

- I've synchronized the clocks of W2K server and Linux workstation.

- I've made /etc/krb5.conf look like this:

        [libdefaults]
        default_realm = FOOBAR.COM
        default_tkt_enctypes = des-cbc-md5
        default_tgs_enctypes = des-cbc-md5

        [realms]
        FOOBAR.COM = {
        kdc = 10.0.0.2:88
        admin_server = 10.0.0.2
        }

- I used Microsoft's ktpass-tool to create a keytab file:


        -mapuser rhlinux -pass VerySecretPassword -out rhlinux.keytab

- Then transferred rhlinux.keytab to the Linux workstation and did
this:

        ktutil
        ktutil: rkt rhlinux.keytab
        ktutil: wkt /etc/krb5.keytab
        ktutil: q

- Did this when logged on as root:




        kinit(v5): Cannot contact any KDC for requested realm while
        getting initial credentials

Found nothing from logs of the Linux workstation, but the security log
of the Windows 2000 server says the following:

        Type:           Failure
        Category:       Account Logon
        Event ID:       675
        Description:

                Pre-authentication failed:
                        User Name:              johndoe
                        User ID:                        FOOBAR\johndoe
                        Service Name:           krbtgt/FOOBAR.COM
                        Pre-Authentication Type:        0x0
                        Failure Code:           25
                        Client Address:         10.0.0.100

After this error message, there was a success audit saying that user
johndoe has been granted authentication ticket.

I would be very grateful if someone could point out what I'm doing
wrong here.

Thanks in advance! =)

- Jari

 
 
 

Kerberos authentication with Windows 2000

Post by Rodrigo Nuno Bragan?a da Cunh » Fri, 23 Feb 2001 06:32:52



> I'm trying to make it possible for the users of our Windows 2000
> domain to log on to a RedHat Linux 7.0 workstation using Kerberos v5
> authentication. Here's a description of my setup and what I've done:

Forget it! MS-Kerberos is not compatible with MIT-Kerberos...

They "enhanced" kerberos to make it incompatible, I wonder wy? World domination?

 
 
 

Kerberos authentication with Windows 2000

Post by Jari Huovi » Fri, 23 Feb 2001 16:12:19


Hi!

I thought so in the beginning too, but got confused as I found a nice
step-by-step instruction on how to make it work:

http://www.microsoft.com/windows2000/library/planning/security/kerbst...

- Jari

On Wed, 21 Feb 2001 21:32:52 +0000, Rodrigo Nuno


>> I'm trying to make it possible for the users of our Windows 2000
>> domain to log on to a RedHat Linux 7.0 workstation using Kerberos v5
>> authentication. Here's a description of my setup and what I've done:

>Forget it! MS-Kerberos is not compatible with MIT-Kerberos...

>They "enhanced" kerberos to make it incompatible, I wonder wy? World domination?

 
 
 

Kerberos authentication with Windows 2000

Post by Rodrigo Nuno Bragan?a da Cunh » Thu, 08 Mar 2001 04:12:50


I've read the microsoft document... and I wouldn't say windows and unix kerberos
interoperate... perhaps they can grumble with the other end, but not exactly
interoperate :-)

> Hi!

> I thought so in the beginning too, but got confused as I found a nice
> step-by-step instruction on how to make it work:

> http://www.microsoft.com/windows2000/library/planning/security/kerbst...

> - Jari

> On Wed, 21 Feb 2001 21:32:52 +0000, Rodrigo Nuno


> >> I'm trying to make it possible for the users of our Windows 2000
> >> domain to log on to a RedHat Linux 7.0 workstation using Kerberos v5
> >> authentication. Here's a description of my setup and what I've done:

> >Forget it! MS-Kerberos is not compatible with MIT-Kerberos...

> >They "enhanced" kerberos to make it incompatible, I wonder wy? World domination?

 
 
 

1. Sun's SEAM, MIT Kerberos and Windows 2000 interoperability

Hi!

I'm new to Kerberos and hope you'll explain me some things
on auth and UNIX<->W2k interoperability.

Is it correct that neither user's loginname nor UID is carried within
the ticket and therefore mapping from Kerberos principal name to
UID is needed on UNIX server (either thru application protocol, such
as telnet, rlogin, ftp or thru external table, such as Solaris'
gsscred when NFS is used) ?

Is it correct that Microsft extended the protocol and use
authorization_data field to carry SIDs within the ticket
for authorization purposes ?

Did Microsoft eventually document the extension ?

UNIX -> W2k KDC+LDAP

Are there any problems to run UNIX (Solaris with SEAM) as Kerberos
client to W2k Kerberos server ?

Has anybody tried to extend W2k LDAP schema with posixAccount/
shadowAccount (perhaps with "Microsoft Windows NT Services for Unix")
and use UNIX as LDAP-client (thru ":ldap" entries in nsswitch.conf
in Solaris 8 or nss_ldap) ?

W2k -> UNIX KDC+LDAP

Will it ever be possible to use MIT Kerberos or Sun SEAM for
authentication of W2k clients ? Is it possible for "standalone"
Windows computers only with their own authorization DB ?

Or should I setup separate MIT Kerberos realm and NT domain and use
some sort of trust between them ?

Oleg Tipisov
REDCENTER,
Moscow

2. PS/2 Intellimouse....

3. Kerberos/Solaris/Windows 2000

4. Help combining subnets

5. FreeBSD Unix, Kerberos 5, and Windows 2000 Active Directory

6. HPFS SMP Problem 2.5.53

7. Linux, Kerberos, Windows 2000

8. PC-TERM Emulation

9. Kerberos V5 to Windows 2000 AD authentification

10. Wishlists for Linux AND Windows 2000 (was Re: Wishlists for Linux (vs) Windows 2000)

11. Use Windows 2000 User Authentication for Apache

12. Squid Authentication on Windows 2000 Domain

13. Dual Boot Windows 2000 - BestLinux 2000