stephdl
(Stéphane de Labrusse)
March 18, 2017, 11:18am
1
Ola something new to play with : nethserver-madsonic for NS7
madsonic is a music streamer by a web application -> http://beta.madsonic.org/pages/index.jsp
The application is free during one month, after that if you want to use it on your mobile phone, you must pay. However I use it for free in my browser.
yum install http://mirror.de-labrusse.fr/NethDev/nethserver-madsonic/20161208_madsonic-6.2.9040.rpm http://mirror.de-labrusse.fr/NethDev/nethserver-madsonic/nethserver-madsonic-0.1.1-1.ns7.sdl.noarch.rpm
go to https://YOURIP/madsonic but also before you must let music there by a samba access
the application can be used also by ldap/samba4 AD @dnutan would you please give us the good settings for that, I saw you are good
you have some db values
[root@NS7DEV7 ~]# config show madsonic
madsonic=service
MaxMemory=512
Name=madsonic
SambaUsers=toto,titi
TCPPort=4040
status=enabled
webaccess=public
for example
config setprop madsonic Name music
signal-event nethserver-madsonic-update
then madsonic is reachable to https://YOURIP/music
A thin panel is available in the configuration area, you can set the web access (private/public), the status (enabled/disabled) and the users allowed in samba share (to manage the media folder). Of course if SambaAD is not installed, samba is in a guest access mode.
2 Likes
dnutan
(Marc)
March 18, 2017, 9:42pm
2
Telling the true I donât know LDAP / AD. So better if someone else checks it or adds a more restrictive LDAP filter.
###OpenLDAP (local account provider)
LDAP URL: ldap://127.0.0.1:389/dc=directory,dc=nh
LDAP search filter: (uid={0})
LDAP group searchBase: ou=groups
LDAP group filter: (memberuid={0})
LDAP group role attribute: ou
LDAP manager DN: cn=ldapservice,dc=directory,dc=nh
Password: look for bind password under Status -> Domain accounts, from NethServerâs server-manager.
Automatically create users in Madsonic: checked
stephdl
(Stéphane de Labrusse)
March 18, 2017, 9:54pm
3
like me for coding, I crash the code all the time
Hi,
I was able to install and set it up to authenticate from AD, but I get this and http 500 when it process the login and lands in this page:
https://mail.xxxxxxxx.it/madsonic/j_spring_security_check
on the madsonic log I can only see this
[2017-03-19 01:06:34,302] INFO MadsonicLdapBindAuthenticator - cloned from default user âjorgeâ for DN cn=jorge,cn=Users
just got it working
i will share a print screen with my settings for AD
1 Like
The settings that worked for me
able to login!
stephdl
(Stéphane de Labrusse)
March 19, 2017, 3:19am
8
@Jorge_Soares @dnutan follow this link http://wiki.nethserver.org/doku.php?id=howto:useful_commands#retrieve_ldap_settings there is a bash command to retrieve all ldap settings, and particularly
âbindPasswordâ : âsecretâ,
âbindDNâ : âDPNET\VM5$â
like this if you change the password of admin, you donât need to change it in madsonic.
stephdl
(Stéphane de Labrusse)
March 19, 2017, 2:50pm
9
stephdl
(Stéphane de Labrusse)
March 19, 2017, 4:47pm
10
version for ns6
yum install http://mirror.de-labrusse.fr/NethDev/nethserver-madsonic/nethserver-madsonic-0.0.1-1.ns6.sdl.noarch.rpm http://mirror.de-labrusse.fr/NethDev/nethserver-madsonic/20161208_madsonic-6.2.9040.rpm
see the first post for settings, no differences
Free Subsonic mobile apps should work with Madsonic server without Premium subscriptions.
I was planning to add MPD to Nethserver, but will try Madsonic first.
1 Like
stephdl
(Stéphane de Labrusse)
March 25, 2017, 1:52am
12
Sorry but at the end of your free month, the subsonic app will stop to work, you have to pay.
I love this software
stephdl
(Stéphane de Labrusse)
March 25, 2017, 1:59am
13
In another hand I did a rpm for ampache, but you have to use the web installer, i didnât make the nethserver integration. See the wiki