Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password/Secure mount setup

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
rec91402



Joined: 14 Nov 2009
Posts: 32

PostPosted: Thu Sep 09, 2010 3:23 pm    Post subject: Password/Secure mount setup Reply with quote

I am trying to setup a mount to be password protected... I added:

Code:

<mount>
 <mount-name>/*mount*</mount-name>
 <authentication type="htpasswd">
 <option name="allow_duplicate_users" value="0"/>
 </authentication>
</mount>



to the xml config

killed and restarted IceCast (KILL -HUP pid would not take this config change???)

I just can not add users:

I get:

Code:

[2010-09-09  11:14:43] DBUG stats/modify_node_event update node connections (32)
[2010-09-09  11:14:43] DBUG admin/admin_handle_request Admin request (/admin/manageauth.xsl)
[2010-09-09  11:14:43] DBUG admin/admin_handle_request Got command (manageauth.xsl)
[2010-09-09  11:14:43] INFO admin/admin_handle_request Received admin command manageauth.xsl on mount "/*mount*"
[2010-09-09  11:14:43] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of (null)
[2010-09-09  11:14:43] WARN auth_htpasswd/htpasswd_adduser Failed to open authentication database "(null)": Bad address
[2010-09-09  11:14:43] WARN auth_htpasswd/htpasswd_recheckfile failed to check status of (null)
[2010-09-09  11:14:43] DBUG admin/admin_send_response Sending XSLT (/usr/local/share/icecast/admin/manageauth.xsl)
[2010-09-09  11:14:43] DBUG xslt/xslt_get_stylesheet Using cached sheet 0
[2010-09-09  11:14:43] DBUG fserve/fserve_add_client Adding client to file serving engine
[2010-09-09  11:14:43] DBUG stats/modify_node_event update node client_connections (25)
[2010-09-09  11:14:43] DBUG stats/modify_node_event update node clients (8)
[2010-09-09  11:14:45] DBUG stats/modify_node_event update node total_bytes_read (884183)


This looks to be a permissions issue,, so what file and where is IceCast trying to create its password file... so I chmod it?

I can add:

Code:

<option name="file" value="myauth"/> 


Does this need to be a full path ala /some/dir/to/use/filename
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 09, 2010 3:26 pm    Post subject: Reply with quote

I would advise using a full path, relative paths can work but it does depend on which directory you run icecast from. we could really do with a default filename there.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber