#127 pyrpkg updates to work with kojihub using a service principal other than 'host/...'
Closed: Fixed Opened by amessina.

The current implemenation of pyrpkg doesn't handle connections to Koji hubs that use a different Kerberos service principal other than 'host/'. I've attached a quick patch that enables it to use the krbservice variable from /etc/koji.conf


I have applied a different fix to upstream git

I've just upgraded to pyrpkg-1.26-1.fc20.noarch, and unfortunately, Kerberos login with 'kerbservice' other than host doesn't work.

If I manually add {{{ 'krbservice': defaults['krbservice']}}} to session_opts, it works again.
{{{
try:
if not anon:
session_opts = {'user': self.user, 'krbservice': defaults['krbservice']}
self._kojisession = koji.ClientSession(defaults['server'],
session_opts)
}}}

This can be closed. It works in current releases (F25).

@lsedlar changed the status to Closed

Metadata