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 

<authentication> configuration at "icecast.xml&qu

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



Joined: 22 Jan 2010
Posts: 63
Location: Los Angeles, California

PostPosted: Fri Oct 22, 2010 6:37 am    Post subject: <authentication> configuration at "icecast.xml&qu Reply with quote

Hi! IceCasters !! A newbie is working on Configuration file. Thanks,


I installed one version of ices-0.4 for MP3, and an official icecast-2.3.1-4 on Fedora Core 7 Linux, and I made an initial tests.

I tested ices-0.4 by user level "mkido" at /home/mkido/, and it responds.

I tested icecast-2.3.1-4 by root user "root", and it responds.


Now, while I am working on <authentication> configuration at "icecast.xml", there are three options, namely,

Sources log in with username 'source';
Relays log in username 'relay';
Admin logs in with the username given below;


My immediate goal is to play static MP3 files by a playlist. I am wondering if I should set either username "source" or Admin username "mkido" or "root". Any comment from experts? Which way sounds proper in my situation? Thanks for your help.



[code]
<!-- Sources log in with username 'source' -->
<source-password>hackme</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
[/code]
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 22, 2010 12:42 pm    Post subject: Reply with quote

There's no correlation between the unix superuser and the icecast admin user so using the name root is just confusing. All you are interested in initially is configuring ices with the playtlist to stream using the username 'source' and password in source-password

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mkido



Joined: 22 Jan 2010
Posts: 63
Location: Los Angeles, California

PostPosted: Fri Oct 22, 2010 4:15 pm    Post subject: Ices Source Password set the same to Icecast Source Password Reply with quote

Hi! karlH, thank you your big big help!

Now, I am setting <authentication> element in configuration files. According to your comment, I did below,


I used the Ices' Server setting Password and Icecast Source-Password setting to the same one, the sample below is "source7844".

Did I understand you correctly?

mkido


[code]
/usr/local/ices/etc/icec.conf

<Stream>
<Server>
<!-- Hostname or ip of the icecast server you want to connect to -->
<Hostname>64.214.83.249</Hostname>
<!-- Port of the same -->
<Port>8000</Port>
<!-- Encoder password on the icecast server -->
<Password>source7844</Password>
<!-- Header protocol to use when communicating with the server.
Shoutcast servers need "icy", icecast 1.x needs "xaudiocast", and
icecast 2.x needs "http". -->
<Protocol>http</Protocol>
</Server>



/etc/icecast.xml
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>source7844</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>


[/code]
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 22, 2010 5:31 pm    Post subject: Reply with quote

yes, obviously you can set <mount> specific passwords in icecast but the global setting is ok to use.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mkido



Joined: 22 Jan 2010
Posts: 63
Location: Los Angeles, California

PostPosted: Fri Oct 22, 2010 5:36 pm    Post subject: THANKS. Reply with quote

Hi! karl, THANKS, great.

I will move on to another setting, MOUNT, in a different post.
Back to top
View user's profile Send private message 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