Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412941

Summary: sys-auth/pam_blue-0.9.0: various username matching problems
Product: Gentoo Linux Reporter: Leho Kraav (:macmaN @lkraav) <leho>
Component: Current packagesAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: ahvenas, leho, treecleaner
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0001-fix-username-matching.patch

Description Leho Kraav (:macmaN @lkraav) 2012-04-21 17:45:59 UTC
It started with pam_blue failing to parse its configuration when I entered a username with dashes in it. Problem turned out to be yet-another-non-comprehensive-regex. Patch attached, upstream notified, although at another e-mail address since 0xdef.net seems to be deadpooled.

Reproducible: Always
Comment 1 Leho Kraav (:macmaN @lkraav) 2012-04-21 17:46:54 UTC
Created attachment 309731 [details, diff]
0001-fix-username-matching.patch
Comment 2 Leho Kraav (:macmaN @lkraav) 2012-05-21 21:45:01 UTC
So to be clear, this is a locale issue, where [a-z] doesn't match all the way to the end of the alphabet.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-02-24 06:22:34 UTC
Leho did you ever get a response from upstream? I'd like to fix this and another bug I found with pam_blue, but not going to bother unless there is a working upstream.
Comment 4 Leho Kraav (:macmaN @lkraav) 2013-02-24 09:16:48 UTC
No I didn't. I think this project is dead or in need of adoption. I have not been using it lately because there were a few other pam chain reliability issues, which I didn't have time to go into i.e. made the login process too finicky.

I would still have use for bluetooth-based login, though..
Comment 5 Pacho Ramos gentoo-dev 2015-07-07 10:40:47 UTC
Maybe we should treeclean this finally. Upstream is dead for ages and this doesn't look to work with bluez-5
Comment 6 Leho Kraav (:macmaN @lkraav) 2015-07-07 11:12:40 UTC
No objections. I never ended up using it, because too broken, although the idea is nice.
Comment 7 SpanKY gentoo-dev 2015-07-08 06:45:54 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix username locale matching issues
http://sources.gentoo.org/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch?rev=1.1
http://sources.gentoo.org/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild?rev=1.1