On Sat, Dec 24, 2016 at 12:33:19AM -0800, Adam Williamson wrote:
> On Sat, 2016-12-24 at 09:28 +0100, Till Maas wrote:
> > On Fri, Dec 23, 2016 at 10:42:36AM +0100, Pierre-Yves Chibon wrote:
> > 
> > > With the move to kerberos, fedora-cert becomes un-needed.
> > 
> > Is there a way to get the FAS username from kerberos using another
> > python module? fedora-easy-karma uses fedora-cert to get the current FAS
> > username.
> 
> Oh, yeah, I stole that same code for wikitcms, too. It'd be handy.

I just learned from Patrick that fedora-cert also supports reading the
FAS username from

~/.fedora.upn (User Principal Name)

And the problem with trying to get the FAS username from kerberos is
that it only works while the use has a valid ticket for kerberos since
MIT kerberos removes expired tickets. Therefore IMHO it would be a good
idea for all Fedora users to setup the FAS username in the file.

Kind regards
Till
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to