Re: GSSAPI for various murder component setups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/17/12 18:04 -0700, Stephen Ingram wrote:
>On Thu, Jun 14, 2012 at 9:14 PM, Dan White <dwhite@xxxxxxx> wrote:
>
>...snip...
>
>> Another way to keep your principals straight is that you'll need a user
>> principal where you will run the *test utilities, and a service principal
>> on the server that the *test utility will connect to.
>>
>> The service principals will be initialized for you by libsasl2, and the
>> user principals will need to be kinit'd via some other mechanism (like in
>> your START/EVENTS section).
>
>...snip...
>
>> The frontend *will* need to have a non-service
>> principal ticket initialized when performing gssapi authentication to the
>> backend.
>
>This is *exactly* what I continue to be confused about. Can't a
>service principal be used on both client and server sides? To me a
>user should only be a physical person that would login, not a process.
>For example, can the authenticated (mupdate client and backend)
>mupdate/imap1.example.com@xxxxxxxxxxx connect to (mupdate server)
>mupdate/murder.example.com@xxxxxxxxxxx. Why couldn't this happen?

That may work, however you'd need to kinit (or initialize by some other
mechanism) on imap1 since the client GSSAPI mechanism won't do that for
you. You can still authenticate from a keytab with kinit. You may end up
with two different TGTs on imap1.

It may be a nightmare to attempt to authenticate from the client side with
different service principals, like:

mupdate/imap1.example.com
imap/imap1.example.com (for proxying)
lmtp/imap1.example.com
etc.

The client side GSSAPI mechanism would need to be told which credentials
cache to use for that particular type of authentication, such as with an
environment variable.

You could post to the cyrus-sasl list to see if someone there has a
better recommendation. GS2 is a newer kerberos based authentication
mechanism that may handle this in a more sensible way.

-- 
Dan White
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux