Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 12:24 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Password Reset
PostPosted: Tue Sep 12, 2006 4:12 am 
Offline
Newbie

Joined: Tue Sep 12, 2006 4:07 am
Posts: 1
Location: Dallas, Texas
I have added a username/ password and it seems not to be working now, so I can't even log on it to view my inventory. Is there any back way into it. Any help would be useful Thanks Ricardo


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 12, 2006 4:58 am 
Offline
Contributor
User avatar

Joined: Thu Mar 02, 2006 4:41 am
Posts: 205
Location: Massachusetts
The file include_config.php has the settings for password protecting index.php you can open that file and change the username and/or password


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 12, 2006 7:08 pm 
Offline
Moderator

Joined: Sat Mar 04, 2006 2:44 am
Posts: 193
It seems that there is bug. If you change the password from the web interface the plain password is written to include_config.php but instead the md5 password should be there.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Sep 13, 2006 1:39 am 
Nope, that's a feature :o As far as I know, we never did implement MD5 hashing of passwords. The new auth system will use MD5's, but I haven't finished that yet!


Top
  
Reply with quote  
 Post subject: Fix
PostPosted: Wed Sep 13, 2006 1:52 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
Here's what I did to fix the problem.

In include.php I changed line 48

[code] if ($users[$_SERVER['PHP_AUTH_USER']] != $_SERVER['PHP_AUTH_PW'])[/code]

I updated this from my previous fix. Before I tried to keep the md5 encrpytion. It seems to work fine, except, when you went to the config page you would reencrypt the password.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group