Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id gBJIMdU05074
	for ips-outgoing; Thu, 19 Dec 2002 13:22:39 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from lion.ninthwonder.com (lion.ninthwonder.com [151.199.66.147])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id gBJIMcW05070
	for <ips@ece.cmu.edu>; Thu, 19 Dec 2002 13:22:38 -0500 (EST)
Received: by lion.ninthwonder.com (Postfix, from userid 1021)
	id BB1FD30706; Thu, 19 Dec 2002 13:22:37 -0500 (EST)
Date: Thu, 19 Dec 2002 10:18:27 -0800 (PST)
From: Bill Studenmund <wrstuden@wasabisystems.com>
X-X-Sender:  <wrstuden@candlekeep.home-net.internetconnect.net>
To: Ofer Biran <BIRAN@il.ibm.com>
Cc: <ips@ece.cmu.edu>
Subject: Re: iSCSI: Kerb auth issue 2 - name use in kerberos
In-Reply-To: <OF2A58214F.FE600EF3-ONC2256C94.005971DD@telaviv.ibm.com>
Message-ID: <Pine.NEB.4.33.0212190845310.539-100000@candlekeep.home-net.internetconnect.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

On Thu, 19 Dec 2002, Ofer Biran wrote:

> Bill,
>
> I don't understand why Kerberos is different then the other methods
> from this aspect. No mapping between iSCSI names and user names
> used in the authentication methods is specified. This is left to
> local users/principals administration. An administrator may decide
> that iSCSI target principals in his domain are always
> iscsi/<target_name>, and this should be known to initiators in that
> domain. But someone may want / already has different scheme.

Please note I was talking about behaviors for the name-is-nul case. If you
put in a principal name, you use that principal name.

Also, Kerberos is different in that it has concepts about who/what a
principal is, and how to get the principal name given what you want to
talk to. If your host name is foo.bar.com, your principal (for telnetting,
etc.) is host/foo.bar.com. That's that. If your DNS name is different,
your principal (and what needs to be in your keytab) is different. Two DNS
names? Then you have two sets of principal keys in your keytab.

All the Kerberos folks I talked to said (after translating) that as the
canonical name in iSCSI is the node name, the principal SHOULD be
"iscsi/<node_name>". You should really only do something different if you
have a good reason. And maybe even not then.

Rather than lock people into this (the stick of an RFC MUST), my thought
was to use the carrot of convenience. You leave the name nul (zero-length
string), and the "right" thing just happens.


So no comment on the difference in semantics for the principal names in
the ipsAuthCredKerberos when used via iscsiIntrAuthorization?

Take care,

Bill

