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 

MountPoint Admin Login

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



Joined: 03 Feb 2010
Posts: 7

PostPosted: Mon Jun 21, 2010 11:29 pm    Post subject: MountPoint Admin Login Reply with quote

Hi.
I'm having some troubles with mount-specific admin login.

The relevant mount section on my icecast.xml is

Code:

    <mount>
        <mount-name>/myradio</mount-name>
        <password>mypassword</password>
        <admin-user>myuser</admin-user>
        <admin-password>mypassword</admin-password>
        <max-listeners>100</max-listeners>
    </mount>


Starting the stream works perfectly fine with those settings, but whenever I try to call one of the admin functions for the stream, like

Code:
../admin/listclients?mount=/myradio


,I cannot login with the admin-user/admin-password specified above and the error.log shows
Code:
 Bad or missing password
.

However logging in with the server-specific admin-user/admin-password (the ones defined in the <icecast>...<authentication>-tag) works flawlessly.

Any ideas?
Thx in advance
Back to top
View user's profile Send private message
tomax



Joined: 03 Feb 2010
Posts: 7

PostPosted: Tue Jun 22, 2010 6:39 pm    Post subject: Reply with quote

Nobody? I need to have it working asap... Sad
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jun 22, 2010 8:41 pm    Post subject: Reply with quote

I thought someone may of jumped in here, oh well. The admin login is server wide. The per-mount auth is source/pw based so <username> <password> are the settings you want.

karl.


Last edited by karlH on Wed Jun 23, 2010 2:09 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tomax



Joined: 03 Feb 2010
Posts: 7

PostPosted: Tue Jun 22, 2010 11:05 pm    Post subject: Reply with quote

Thanks for the reply and sorry for asking such trivial questions.

Actually simply trying <username> and <password> was my first guess, but as I could not connect to edcast when a username was specified I thought there'd be another way.

This posting teached me better:
http://icecast.imux.net/viewtopic.php?p=15135&sid=dc222177ccf3df4ae15d97812b4c0784

Edit: damn! still won't work.
With username set to 'source' (for compatibility) I can connect to icecast using edcast, but I can't authenticate the admin functions again!

Besides I'm not really happy with having to set the username to 'source' for compatibility because that way I can only specify one mount point. However I can understand that there's nothing to solve that problem because it's source-client related.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jun 23, 2010 2:13 am    Post subject: Reply with quote

ah yes, on 2.3.2, for admin functions you'll need the admin/pw to run them

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



Joined: 13 Jan 2006
Posts: 79

PostPosted: Thu Sep 02, 2010 12:49 pm    Post subject: Reply with quote

Umm.. Mount-specific admin functions would be nice for SAM Broadcaster statistics (to see on listener count on same broadcasting program, and not switching into web browser and refresh Icecast page).
Somebody asked me how he can use SAM Broadcaster statistics, I told it would need admin-functions that are serverwide, so it won't work unless server admin gives them...
I don't see any other usage for this, but many broadcasters would be happy Smile
Back to top
View user's profile Send private message
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