') ') Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $10.00
Net Balance: $9.41
Left to go: $90.59

Donations
Dante7237  ($10)Dec-3

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 adslight Android AntiHarvesting AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo download Dresses evden eve facebook Fat floor for free Gateway giải Google Guide herre Home Honeypot Human HỘ IP iPhone jQuery Language Law Legal List log Loss module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher release RESIDENCE responsive review Rights rmcommon security Sentry Signatures Signed site Smartphone Smoking Solution Spam stem Studio tdmcreate template The Theme themes tháp web weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 137911

mydarkglobe

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post



#1 Posted on: 2012/5/8 1:25 Lost Admin password
XOOPS Version:2.3.2
Module Name/Version:
PHP Version: 4.3.9
MySQL Version: 4.1.22
Web Server Software (Apache/IIS/Other): Apache 2.0.52
Operating System: RHEL 4
Theme you are using:
Custom template: (Yes/No)
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

Lost Admin password. I've tried setting the pass field with an md5 pass for uid #1 in the xoops_users table which I can access through mysql command line. I can see the lost password mechanism is working and changing the admin password in the table but I always get an "Incorrect login" message. I've dumped the xoops_session table, but still no joy. It looks like it's trying to query our LDAP server but there's no "admin" user there, I even tried adding one to ldap but still not working. Any suggestions are greatly appreciated. How do I tell xoops through a database config change to use the local DB for passwords, if thats the problem. Perhaps I could link it to active directory somehow??? What tables/fields do that? I can't get to the admin interfece to set it up graphically.

Doug P



Top

phillipdoug
Joined:
2012/1/18 11:08
From Las Vegas
Group:
Registered Users
Posts: 5
(Show More) (Show Less)


#2 Posted on: 2012/5/8 1:58 Re: Lost Admin password
Go to:

http://yoursite.com/modules/profile/user.php#lost

and enter your email address, and you should receive a new password that you could use.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8158
(Show More) (Show Less)


#3 Posted on: 2012/5/10 9:00 Re: Lost Admin password
Thank you for your answer, but as indicated in my post the lost password mechanism doesn't work. I get the email with the link, I click the link and get another email with a password, but the password doesn't work. I even look at the DB table and see the pass has changed, but still no access. I'm kind of lost here. I even compared the md5 pass in the xoops_users table to the result of a md5 converter using the pass the system sends me and they match, but I still can't get on. Here's some info for illustration:

md5("oksimatfi") = "83916cf00d3aae5e64ce5e40b25e995a"

mysql> select pass from xoops_users where uid = 1;
+----------------------------------+
| pass |
+----------------------------------+
| 83916cf00d3aae5e64ce5e40b25e995a |
+----------------------------------+
1 row in set (0.00 sec)


Frazzled...
Doug P

Top

phillipdoug
Joined:
2012/1/18 11:08
From Las Vegas
Group:
Registered Users
Posts: 5
(Show More) (Show Less)


#4 Posted on: 2012/5/10 19:52 Re: Lost Admin password
try adding that user to the list of users that bypass the ldap auth with. (replacing admin with the name of that user, and dont forget about your table prefix).

UPDATE `your xoops prefix_config` SET `conf_value` = 'a:1:{i:0;s:5:"admin";}' WHERE `conf_name` = 'ldap_users_bypass'

or change your pass manually in ldap. (just noticed that you mentioned that the user isnt in there. )

It seems that there isnt a function to sync the lost password function back to the ldap/AD server.




Top


CBB / LatestNews / Publisher / XM-Spotlight
iHackCode
Joined:
2004/6/28 19:11
From Greater Seattle Area
Group:
Registered Users
Wiki Group
Posts: 998
(Show More) (Show Less)


#5 Posted on: 2012/5/17 12:52 Re: Lost Admin password
Tried that, still can't log on. Here's result in table for phillipd user (uid = 2).

mysql> select * from xoops_config where conf_name = 'ldap_users_bypass';
+---------+------------+------------+-------------------+--------------------------+---------------------------+-------------------------------+---------------+----------------+------------+
| conf_id | conf_modid | conf_catid | conf_name | conf_title | conf_value | conf_desc | conf_formtype | conf_valuetype | conf_order |
+---------+------------+------------+-------------------+--------------------------+---------------------------+-------------------------------+---------------+----------------+------------+
| 1232 | 0 | 7 | ldap_users_bypass | _MD_AM_LDAP_USERS_BYPASS | a:1:{i:0;s:5:"phillipd";} | _MD_AM_LDAP_USERS_BYPASS_DESC | textarea | array | 8 |
+---------+------------+------------+-------------------+--------------------------+---------------------------+-------------------------------+---------------+----------------+------------+
1 row in set (0.00 sec)

After bypassing LDAP, used the lost password mechanism again to get password but still can't get on. I compared the md5 pass in table for phillipd to md5 converted pass and they match. Being preasured to get fixed or install Sharepoint. I just don't get what is wrong!

Top

phillipdoug
Joined:
2012/1/18 11:08
From Las Vegas
Group:
Registered Users
Posts: 5
(Show More) (Show Less)


#6 Posted on: 2012/5/17 16:48 Re: Lost Admin password
try using a:1:{i:0;s:8:"phillipd";} for the value of the conf_value

Top


CBB / LatestNews / Publisher / XM-Spotlight
iHackCode
Joined:
2004/6/28 19:11
From Greater Seattle Area
Group:
Registered Users
Wiki Group
Posts: 998
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]