Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Reset Admin Password 2.4 Red Hat

I followed the process outlined in another question to reset the admin password by directly updating the password in mariaDB with:

INSERT INTO `operators` (`ID`, `FIRSTNAME`, `LASTNAME`, `PASSWD`, `ACCESSLVL`, `COMMENTS`, `NEW_ACCESSLVL`, `EMAIL`, `USER_GROUP`) VALUES ("admin", "admin", "admin", '21232f297a57a5a743894a0e4a801fc3', 1, "Default administrator account", "sadmin", "*Emails are not allowed*", "");

But, even after this change and a restart of httpd, I'm still getting

[Thu Apr 12 15:53:30.367110 2018] [auth_basic:error] [pid 30170] [client XXX.XXX.XXX.XXX:54964] AH01617: user admin: authentication failure for "/ocsreports/": Password Mismatch
in OCS Inventory NG server for Unix by (170 points)

2 Answers

+1 vote
Hi, did you find a solution? i have the same problem.

thanks
by (250 points)
0 votes
@infomax74 Our issue ended up being related to server authentication and not OCS itself. I don't remember the specifics as it was quite awhile ago. We were using SSSD on the box, and had to change some of the files in /etc/pam.d along with temporarily disabling selinux in order to fix the issue.
by (170 points)
 
Powered by Question2Answer
...