Page 1 of 1

Cant view monitor when ZM_OPT_USE_AUTH = true

Posted: Mon Oct 17, 2005 7:53 pm
by vbludov
When using config option: ZM_OPT_USE_AUTH (true)
getting broken images because of "Internal Server Error" when trying to view recorded events or live stream

when I'm using ZM_OPT_USE_AUTH is uncheckeg everething works fine
except there are no user authentication.

here is error from apache error_log:

http://localhost/webcam/index.php?view= ... c=0&page=1
Error, unable to authenticate user

P.S.
I can log-in to the Zone-Minder, change the options but can't view the events if this option is enabled.
the user has all the permissions to do so.

##################
The platform: Mandrake 10
ZM.1.213.: compiled from the source.
There are no new messages in the /var/log/messages

Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6mdk) mod_ssl/2.0.48
OpenSSL/0.9.7c
PHP/4.3.4

Posted: Mon Oct 17, 2005 8:06 pm
by cordel
Are there any warnings when you did the configure script?
You can check in the source directory there should be a config.log that you can check.
Regards,
Cordel

Posted: Mon Oct 17, 2005 8:48 pm
by vbludov
configure:1833: WARNING: You can call configure with the --with-lame option.
configure:1896: WARNING: You can call configure with the --with-webuser option.
configure:1914: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not the default of 'apache'.
(don't need sound, my webuser and group is "apache")


configure:5231: WARNING: libcrypto.a is required for authenticated streaming
(this could be it!) is this an OpenSSL Devel. package? and do I need to recompile the ZoneMinder after the package is added?



configure:5308: WARNING: libpcre.a may be required for some remote/network camera support
configure:5385: WARNING: libavcodec.a is required for MPEG streaming
configure:5462: WARNING: libavformat.a is required for MPEG streaming
configure:5539: WARNING: libmp3lame.a may be required if ffmpeg was built with it
(dont need MPEG or remote-cams, this is a great feature will have to try it)

Posted: Mon Oct 17, 2005 8:54 pm
by zoneminder
Yes and yes. Though you can set ZM_AUTH_METHOD to plain in the meantime which doesn't need this library.

Phil

Posted: Tue Oct 18, 2005 12:44 am
by vbludov
Yes!, Yes and Yes, It works !!!

Phil and Cordel, Thank you very much !

Posted: Tue Oct 18, 2005 1:01 am
by cordel
:wink: