Help with remote authentication

Support and queries relating to all previous versions of ZoneMinder
Locked
mkernan
Posts: 10
Joined: Sat Apr 30, 2005 3:21 pm
Location: Denton, TX

Help with remote authentication

Post by mkernan »

I could use a little help with the new remote authentication feature. I'm not sure I completely understand how it works. Ultimately, I'd like to have users login using their campus-wide (I work at a University) usernames and passwords. I have apache configured for ldap auth and have my htacess file configured correctly in ZM's html directory. When trying to get to ZoneMinder, you are promted with a basic http authentication dialog and authenticating there works. If that same user exists in ZoneMinder, it will pass through and log you into ZM. So, that all works fine, but then when you try to view a live stream, there is no picture. It seems as if the http string that's supposed to connect to the live stream isn't working.

I've tried with and without hashing and neither works. I have a pretty strong feeling that I'm missing something or otherwise do not understand what I need to configure to make this work.

With hashing, a live stream uses this:
http://serveraddress/cgi-bin/zm/zms?mod ... 1134684120

Without, i get this:
http://serveraddress/cgi-bin/zm/zms?mod ... 1134684240

It looks like it doesn't pass any password at all. If I insert the password that is stored for that account in ZM, it works, but that's not what I want it to do. I want to just use our LDAP server, so that I don't have to maintain separate passwords in ZoneMinder. Is that even possible? Am I missing something?

Aside from trying to set this external authentication up, everything works great. I've been running ZM for a long time and I really appreciate all the work that's been put into it.

Any suggestions are greatly appreciated, thanks.

Matt
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Have you tried restarting ZM after changing the auth method?

Regards,
Corey
mkernan
Posts: 10
Joined: Sat Apr 30, 2005 3:21 pm
Location: Denton, TX

Post by mkernan »

Yes, I've made sure to restart ZM and delete my browser's cookies after changing settings.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I will try and reproduce this to see if there is a problem. It was implmented without any specific knowledge of how people might use it. :lol:

Phil
Locked