View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Apr 20, 2010 5:07 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
It seems I no longer get the login popup after the last lighttp (sp) update. I'm on the testing stuff. Is it just me? Also looking to get it back... Yes to get it back went to LinHES config and web security, hit apply password and finish and it's good again.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 20, 2010 9:14 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
uncomment this line

/etc/lighttpd/lighttpd.conf
Code:
#include "/etc/lighttpd/auth-inc.conf"


I have submitted a ticket


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2010 11:00 am 
Offline
Joined: Tue Sep 12, 2006 6:03 am
Posts: 210
Location: Roseville, MI
I verified that auth-inc.conf was not commented out in /etc/lighttpd/lighttpd.conf, then proceeded to Service Menu>Linhes Configuration>Web Security to enter username and password.

I applied the new username/password (Apply new Password button), and was prompted with "Username contains invalid characters!". Looking at the restricted characters, to the best of my knowledge I am not using any.

If I hit finish and navigate to the MythWeb page I am prompt with a login box, but my username and password do not work (as expected).

Any suggestions?

_________________
-Roseville, Michigan USA
LinHES R8: FE/BE, FE (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2010 4:15 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Sorry, i don't use MythVantage (the linhes config menu). I'm on testing too, and i tend to make my own changes to thing, but we should have vaguely similar settings. I would look at the auth-inc.conf file and it should look something like this;

Code:
auth.backend               = "htdigest"
auth.backend.htdigest.userfile = "/etc/lighttpd/lighttpd.user.htdigest"
auth.require               = ("/" =>
                               (
                                 "method"  => "digest",
                                 "realm"   => "MythWeb",
                                 "require" => "valid-user"
                               )
                        )


Then look at the user file (mine is /etc/lighttpd/lighttpd.user.htdigest) for valid users. I am using digest authentication, but i've seen basic authentication used on LinHes systems.

If you need more help, please tell me what you have.

bigB.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2010 7:51 pm 
Offline
Joined: Tue Sep 12, 2006 6:03 am
Posts: 210
Location: Roseville, MI
This is what my /etc/lighttpd/auth-inc.conf shows
Code:
auth.backend               = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"


auth.require               = ( "/" =>
                               (
                                 "method"  => "basic",
                                 "realm"   => "MythWeb",
                                 "require" => "valid-user"
                               )
         )

As for the /etc/lighttpd/lighttpd.user is empty/blank.

I am still receiving the error that my "username contains invalid characters!". I am not using &<>/~`;:!.

_________________
-Roseville, Michigan USA
LinHES R8: FE/BE, FE (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2010 8:15 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Ok, The format of the plain user file is:
Code:
username:password


Hope this helps.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 22, 2010 7:05 am 
Offline
Joined: Tue Sep 12, 2006 6:03 am
Posts: 210
Location: Roseville, MI
Secure once again. Worked like a champ. I must have searched for over an hour on the username/password format for lighttpd and came up bust.

Thanks again.

_________________
-Roseville, Michigan USA
LinHES R8: FE/BE, FE (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 24, 2010 12:19 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
spideyk21.
About the invalid chars. You just hit upon a bug that has been fixed for the next release.
During testing some code was left in to force the invalid chars flag even when none are present.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 27, 2010 9:40 am 
Offline
Joined: Tue Sep 12, 2006 6:03 am
Posts: 210
Location: Roseville, MI
jams wrote:
spideyk21.
You just hit upon a bug that has been fixed for the next release.


Cool. I found a bug. Has a ticket been opened?

_________________
-Roseville, Michigan USA
LinHES R8: FE/BE, FE (x2)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 142 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu