VLS User Authentication fail on Linux

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
madhi
New Cone
New Cone
Posts: 2
Joined: 19 Aug 2008 07:08

VLS User Authentication fail on Linux

Postby madhi » 19 Aug 2008 07:35

Hi there,

I have installed VLS 0.5.4+cvs20031028-9 on my Ubuntu machine. I used the default vls.cfg file. I want to login to the VLS and issue the basic commands [Start/Stop/Resume..]. But I am not able to login to the VLS.

I see the same vls.cfg file working on Windows. On Linux, I used the password for users that I generated from mkpasswd.

I did the following to generate the encrypted password.
$ mkpasswd admin ad
adpexzg3FUZAk


Part of my vls.cfg file:

BEGIN "Groups"
groupAdmin = "start|resume|suspend|stop"
END

BEGIN "Users"
admin = "adpexzg3FUZAk:groupAdmin" # Passwd is admin
END


I did the following to run the vls
$vls -f ./vls.cfg -vvvv

I am able to see the port 9999 opened, when I run vls. The following are the steps I followed and their respective traces.

$ telnet localhost 9999
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Videolan Server Administration System

Login:


I tried logging in with the all the users I have created and got failed. The trace I see in the vls log is

[WARN/Vls] Authentication failed for user "admin"
...


It will be helpful if you can send me the steps I should follow or a sample vls.cfg that can work on "Linux".

PS: I cannot use VLC for this specific requirement.

Thanks and Regards,
Madhi

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLS User Authentication fail on Linux

Postby Jean-Baptiste Kempf » 19 Aug 2008 07:39

Noone will be able to help you on VLS.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

madhi
New Cone
New Cone
Posts: 2
Joined: 19 Aug 2008 07:08

Re: VLS User Authentication fail on Linux

Postby madhi » 19 Aug 2008 08:53

Should I use VLC instead?

After reading VLC vs. VLS [Section 2.2 in videolan-faq-en.pdf], I am afraid of any performance related issues when using VLC instead of VLS.

Can you please think of any limitations or drawbacks with VLC in comparison with VLS?

Thanks and Reagrds,
Madhi


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 24 guests