Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Users email (just a nit) (http://www.linux-archive.org/fedora-build-system/460330-users-email-just-nit.html)

Jon Stanley 12-02-2010 11:16 AM

Users email (just a nit)
 
I've successfully setup Koji with Kerberos authentication. The issue
with this is that for notifications, it seems to expect usernames to
be valid email addresses - our krb5 principals have nothing to do with
any email address. There should be a way to specify what email to use
(or a mapping of usernames to email). I guess I could setup postfix
locally with an aliases file, but that seems like an ugly hack :(
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Christos Triantafyllidis 12-02-2010 12:08 PM

Users email (just a nit)
 
Hi Jon,

i've made some patches for koji some time ago. One of them is adding email field in user's table and use it for notifications. I'm not sure how compatible is with current HEAD.

My git endpoint is currently unavailable so attached is the patch.

Feel free to give me any feedback you may have.

Regards,
Christos



On Dec 2, 2010, at 2:16 PM, Jon Stanley wrote:

> I've successfully setup Koji with Kerberos authentication. The issue
> with this is that for notifications, it seems to expect usernames to
> be valid email addresses - our krb5 principals have nothing to do with
> any email address. There should be a way to specify what email to use
> (or a mapping of usernames to email). I guess I could setup postfix
> locally with an aliases file, but that seems like an ugly hack :(
> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Mike McLean 12-03-2010 08:34 PM

Users email (just a nit)
 
On 12/02/2010 07:16 AM, Jon Stanley wrote:
> I've successfully setup Koji with Kerberos authentication. The issue
> with this is that for notifications, it seems to expect usernames to
> be valid email addresses - our krb5 principals have nothing to do with
> any email address. There should be a way to specify what email to use
> (or a mapping of usernames to email). I guess I could setup postfix
> locally with an aliases file, but that seems like an ugly hack :(

Something like this has been nagging my subconscious for a long time.
The major koji instances I'm involved have not had this issue, so I've
been lulled into complacency.

I guess I should point out that it's not so much a mapping between krb5
username and email as /koji/ username and email. It's just that koji
makes the koji username match the krb5 username by default (particularly
when LoginCreatesUser is on). If your email addresses are all in the
same domain, then could turn off LoginCreatesUser and have the admins
create the users with username matching the email and an explicit
krb_principal.
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 07:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.