[24979] in Kerberos

home help back first fref pref prev next nref lref last post

Re: that interop mess: ldap, samba, kerberos

daemon@ATHENA.MIT.EDU (Sam Hartman)
Mon Nov 21 10:53:53 2005

To: Turbo Fredriksson <turbo@bayour.com>
From: Sam Hartman <hartmans@mit.edu>
Date: Mon, 21 Nov 2005 10:51:44 -0500
In-Reply-To: <87d5kupiv1.fsf@pumba.bayour.com> (Turbo Fredriksson's message
 of "Mon, 21 Nov 2005 08:20:34 +0100")
Message-ID: <tslr79a2e3z.fsf@cz.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

>>>>> "Turbo" == Turbo Fredriksson <turbo@bayour.com> writes:


    Turbo> Since I've separated AUTHENTICATION and AUTHORIZATION,
    Turbo> there's no need for an LDAP/slapd keytab...

Then you have a security hole.

Take a look at the following text from section 10 of RFc 4120:

   Proper decryption of an KRB_AS_REP message from the KDC is not
      sufficient for the host to verify the identity of the user; the user
         and an attacker could cooperate to generate a KRB_AS_REP format
            message that decrypts properly but is not from the proper KDC.  To
               authenticate a user logging on to a local system, the credentials
                  obtained in the AS exchange may first be used in a TGS exchange to
                     obtain credentials for a local server.  Those credentials must then
                        be verified by a local server through successful completion of the
                           Client/Server exchange.
                           


In particular just doing a kinit does not actually verify that the
password is correct; it simply verifies the passwords typed at the
command line and used by the server claiming to be the KDC are the
same.  You need a keytab to confirm the KDC is really a KDC.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post