From: Matt Benjamin <mbenjamin@redhat.com>
To: Sage Weil <sage@newdream.net>
Cc: Marcus Watts <mwatts@redhat.com>,
ceph-devel@vger.kernel.org, Daniel Oliveira <doliveira@suse.com>
Subject: Re: Cephx kerberization support
Date: Fri, 2 Sep 2016 13:26:20 -0400 (EDT) [thread overview]
Message-ID: <537540660.80427421.1472837180448.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1609021406210.31624@piezo.us.to>
Hi,
----- Original Message -----
> From: "Sage Weil" <sage@newdream.net>
> To: "Marcus Watts" <mwatts@redhat.com>
> Cc: ceph-devel@vger.kernel.org, "Daniel Oliveira" <doliveira@suse.com>
> Sent: Friday, September 2, 2016 10:14:38 AM
> Subject: Re: Cephx kerberization support
>
>
> 3) ActiveDirectory PAC(?). It sounds like this is also not well defined.
The PAC is well defined (though extensions from Kitten WG are more expansive), but iiuc, per se it's a means for propagating group (PAC) or other (e.g., SAML?, Kitten/cammac) authorization data in the tickets not an authorization schema per se. I'm not certain if cammac really exists yet, and as regards PAC, we'd I guess need an AD implementation, which is probably more and less than we want to require. otoh, it's not implausible (e.g., samba4 brings one).
>
> I think #2 is probably the most useful/promising. And hopefully even
> with AD there is some standardish way to map an identity into a group
> in the PAC payload that could be used?
I think MS PAC fully defines it--but non-AD environments won't have the sids and other attributes that ISTR it mainly contains. I think for non-AD cammac we'd be free to import what we like (though I think this is blue sky), but it would be possible for services to query whatever the underlying setup (e.g, LDAP dit) for authz when !MS PAC. That's what what AFS and DCE do, at any rate.
>
> > For internal identities (ie, the various bits of ceph as they talk to each
> > other) - ldap may not be a good choice. For these you might find a more
> > special purpose local data store that's probably more strictly internal
> > to ceph to be appropriate for this. The choices you make above for
> > the keytab (per host or per service) will influence your choices here.
> > If you go with a single global per-service key (no per-host...) for
> > instance, then you your internal identity authorization needs become
> > very simple: either it knows the per-service key (and is "god") or it
> > doesn't. If you go with finer grained keytabs, then you can be somewhat
> > more elaborate in your security choices.
>
> Even with cephx there are two types of keys/tickets. Each daemon has a
> fixed symmetric key that it uses to authenticate itself. Then there is a
> rotate globalish "service key" that is shared amongst all OSDs (or MDSs)
> that clients tickets are authenticated against. With cephx we rotate it
> every hour or something.
>
> I'm guessing we want to do essentially the same thing, but just use the
> kerberos libraries to create the keys and tickets. We can reuse all of
> the existing infrastructure for handling key rotation and so on. The
> service keys are only kept in RAM on the daemons, so I don't think keytabs
> needs to get involved, although I suppose that depends on how the kerberos
> library API is used when you're asking it to authenticate a ticket
> we got from a client...
That would be a pretty unusual way to integrate things (preventing use of existing tools, among other things), fwiw.
>
> sage
Matt
--
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
http://www.redhat.com/en/technologies/storage
tel. 734-707-0660
fax. 734-769-8938
cel. 734-216-5309
prev parent reply other threads:[~2016-09-02 17:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 2:34 Cephx kerberization support Daniel Oliveira
2016-09-01 19:41 ` Sage Weil
2016-09-02 4:58 ` Marcus Watts
2016-09-02 14:14 ` Sage Weil
2016-09-02 17:26 ` Matt Benjamin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=537540660.80427421.1472837180448.JavaMail.zimbra@redhat.com \
--to=mbenjamin@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=doliveira@suse.com \
--cc=mwatts@redhat.com \
--cc=sage@newdream.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.