Bug 621157 - http basic auth does not work?
Summary: http basic auth does not work?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: agedu
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-04 12:03 UTC by lejeczek
Modified: 2010-08-04 13:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-04 13:05:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description lejeczek 2010-08-04 12:03:52 UTC
Description of problem:
I can generate, using htpasswd, a password file, starting with plain-text passwords and every other encryption type, yet agedu --auth basic --auth-file does not authenticate, just keeps popping up and asks to submit user & password


Version-Release number of selected component (if applicable):
0-1.r8768.fc13

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Susi Lehtola 2010-08-04 12:26:41 UTC
I was able to reproduce this. Reporting upstream.

Comment 2 Susi Lehtola 2010-08-04 13:05:19 UTC
Looks like my problem was caused by having a newline character at the end of the password file, after all. htpasswd puts in a newline character at the end, so you're experiencing the same problem.

Create the password file with e.g.
 $ echo -n "user:pass" > passwd
and then it will work.

Comment 3 lejeczek 2010-08-04 13:22:19 UTC
yep indeed, thanks for this, nice one.


Note You need to log in before you can comment on or make changes to this bug.