Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

authentication problem, qtaccess file in sub directory not working



Hi there,

I am using Quicktime Broadcaster 1.5.2 (152) on OSX 10.5.2 and Darwin
Streaming Server 5.5.5 (Build 489.16) on Debian 3.1 Sarge. I have an
issue with the authorisation.

On this server, I have the following general settings:

 | mediaserver:~# grep authentication_scheme /etc/streaming/streamingserver.xml
 | 		<PREF NAME="authentication_scheme" >digest</PREF>

 | mediaserver:~# grep movie_folder /etc/streaming/streamingserver.xml
 | 		<PREF NAME="movie_folder" >/chroot/hosting/home</PREF>

The main directory is configured using the following parameters:

 | mediaserver:~# ls -la /chroot/hosting/home/qtaccess
 | -rw-r--r--  1 qtss qtss 65 Mar 18 15:32 /chroot/hosting/home/qtaccess
  
 | mediaserver:~# cat /chroot/hosting/home/qtaccess
 | <Limit WRITE>
 | require user live
 | </Limit>
 | require any-user

 | mediaserver:~# cp /chroot/hosting/home/qtaccess /chroot/hosting/home/rejo/qtaccess

I can now start a live broadcast using username "live", corresponding 
password and the filename set to "streamtest". I can also start a live 
broadcast using the same credentials and filename "rejo/streamtest".

Now this is working, I change the username to "rejo" in the sub 
directory only. The qtaccess file in the top most directory remains 
untouched:

 | mediaserver:~# sed -i 's/live/rejo/' /chroot/hosting/home/rejo/qtaccess

 | mediaserver:~# cat /chroot/hosting/home/rejo/qtaccess
 | <Limit WRITE>
 | require user rejo
 | </Limit>
 | require any-user

 | mediaserver:~# cat /chroot/hosting/home/qtaccess
 | <Limit WRITE>
 | require user live
 | </Limit>
 | require any-user

I would expect I would be able to start a live stream within any 
directory but /chroot/hosting/home/rejo using the "live" credentials and 
a live stream within /chroot/hosting/home/rejo with the "rejo" 
credentials. 

The latter doesn't work like that. I can now start a live broadcast 
using username "live", corresponding password and the filename set to 
"streamtest". When I change the username to "rejo", corresponding 
password and the filename to "rejo/streamtest", QTBC will keep asking me 
for a username and password.  

Of course I am sure the password of the user "rejo" is correct. I made 
this sure by using the same encrypted password in qtusers. :)

So, any idea why I can't get the authentication to work in the sub 
directory?

-- 
Rejo Zenger . <email@hidden> . 0x75FC50F3 . <https://rejo.zenger.nl>

Attachment: signature.asc
Description: Digital signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.