Setting Up LDAP Authentication in Subsonic

preview_player
Показать описание
#Subsonic #MP3Streaming #LDAP

--------------------------------------------------------------------
Active Directory Setup
--------------------------------------------------------------------
   01. Open Active Directory Users and Computers
   02. Expand the domain ≫ Users
   03. Right Click Users ≫ New ≫ User
   04. Create a read only account to use for LDAP binding
    First Name: Read
    Last Name: Only
    User logon name: readonly_svc
   05. Click Next
   06. Set the user's password and confirm it
   07. Uncheck User must change password on next logon
   08. Check User cannot change password
   09. Check Password never expires
   10. Click Next
   11. Click Finish
   12. Right Click Users ≫ New ≫ Group
   13. Give the group a name and click OK
   14. Right Click the newly created group ≫ Properties
   15. Select the Members tab ≫ Click Add...
   16. Add users that will be allowed access to the web application
   17. Click OK
 
--------------------------------------------------------------------
Configuring Subsonic
--------------------------------------------------------------------
   02. Login with the Subsonic admin account (admin/admin by default)
   03. Select Settings ≫ Advanced
   04. Check the Enable LDAP authentication box
   05. Fill out the LDAP setup fields below:
    LDAP search filter: (&(sAMAccountName={0})(&(objectCategory=user)(memberof=cn=Subsonic Users,CN=Users,dc=i12bretro,dc=local)))
    Password: %readonly_svc password%
    Check the Automatically create users in Subsonic box
   06. Click the Save button
   07. Click Users in the top navigation
   08. Make sure the Select user dropdown says -- New user --
   09. Check all the boxes for the permissions you'd like the new user to have
   10. Set the username field
   11. Check the box to Authenticate user in LDAP
   12. Click the Save button
   13. Click Logout of admin from the left navigation
   14. Sign in with the active directory username and password
 

### Connect with me and others ###
Рекомендации по теме
Комментарии
Автор

THANK YOU VERY MUCH!!! :) Made on Ubuntu 20.04 with Subsonic 6.1.6 and Windows Server 2016 Datacenter with AD

patrickasmus