authentification doesn't work

Support and queries relating to all previous versions of ZoneMinder
Locked
Syl
Posts: 11
Joined: Mon Jul 25, 2005 7:19 am
Location: Romania

authentification doesn't work

Post by Syl »

I am almost done with setting up the camera, but the authentification doesn't work.
The database looks like this:
mysql> select * FROM Users;
+----+----------+----------------------------------+----------+---------+--------+--------+----------+--------+------------+
| Id | Username | Password | Language | Enabled | Stream | Events | Monitors | System| MonitorIds |
+----+----------+----------------------------------+----------+---------+--------+--------+----------+--------+------------+
| 1 | admin | 21232f297a57a5a743894a0e4a801fc3 | en_gb | 1 | View | Edit | Edit | Edit| 2 |
| 2 | silvian | vLKRJO9FDNLhI | en_gb | 1 | View | Edit | Edit | Edit| 2 |
+----+----------+----------------------------------+----------+---------+--------+--------+----------+--------+------------+
2 rows in set (0.00 sec)
I have two users, two different passwords (one encrypted with MD5 and the other with encrypt) and I cannot login to ZoneMinder with none of this usernames...
It's ZoneMinder 1.21.3 running on Mandrake 10.1.
What could be the problem ?
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

My guess is you have PHP 4.4.0 installed? If so, see the other threads on this subject.
Rick Hewett
Syl
Posts: 11
Joined: Mon Jul 25, 2005 7:19 am
Location: Romania

Post by Syl »

nope... It's PHP 4.3.4 !
Syl
Posts: 11
Joined: Mon Jul 25, 2005 7:19 am
Location: Romania

Post by Syl »

I've used authentification provided by Apache !
crisivex
Posts: 1
Joined: Wed Nov 09, 2005 8:48 pm
Location: chile
Contact:

you've probe log: admin, psw: admin???

Post by crisivex »

this the account by default, and iit works... If you have change it, for any reason. Copy the script in schema.sql that create that user and execute it in mysql as root. And ready go!!!
do it yourself!!!!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

There is another possibility that seems to give people greif in which openssl libs are not installed so if you compile from source without those you will not be able to login.
Check the config log in the source directory for any warnings about those.

Regars,
Cordel
Locked