0063.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Setting Up LDAP Authentication in Subsonic</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Windows,Subsonic,Media Streamer,Self-hosted,MP3,Tomcat,Active Directory,LDAP">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Setting Up LDAP Authentication in Subsonic">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript" src="includes/js/steps.js"></script>
  13. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <div id="gridContainer">
  17. <div class="topMargin"></div>
  18. <div id="listName" class="topMargin">
  19. <h1>Setting Up LDAP Authentication in Subsonic</h1>
  20. </div>
  21. <div></div>
  22. <div id="content">
  23. <h2>Active Directory Setup</h2>
  24. <ol>
  25. <li>Open Active Directory Users and Computers</li>
  26. <li>Expand the domain &gt; Users</li>
  27. <li>Right Click Users &gt; New &gt; User</li>
  28. <li>Create a read only account to use for LDAP binding<br />
  29. First Name: Read<br />
  30. Last Name: Only<br />
  31. User logon name: readonly_svc</li>
  32. <li>Click Next</li>
  33. <li>Set the user&#39;s password and confirm it</li>
  34. <li>Uncheck User must change password on next logon</li>
  35. <li>Check User cannot change password</li>
  36. <li>Check Password never expires</li>
  37. <li>Click Next</li>
  38. <li>Click Finish</li>
  39. <li>Right Click Users &gt; New &gt; Group</li>
  40. <li>Give the group a name and click OK</li>
  41. <li>Right Click the newly created group &gt; Properties</li>
  42. <li>Select the Members tab &gt; Click Add...</li>
  43. <li>Add users that will be allowed access to the web application</li>
  44. <li>Click OK</li>
  45. </ol>
  46. <h2>Configuring Subsonic</h2>
  47. <ol>
  48. <li>Open a web browser and navigate to http://DNSorIP:Port</li>
  49. <li>Login with the Subsonic admin account (admin/admin by default)</li>
  50. <li>Select Settings &gt; Advanced</li>
  51. <li>Check the Enable LDAP authentication box</li>
  52. <li>Fill out the LDAP setup fields below:<br />
  53. LDAP URL: ldap://i12bretro.local:389/dc=i12bretro,dc=local<br />
  54. LDAP search filter: (&amp;(sAMAccountName={0})(&amp;(objectCategory=user)(memberof=cn=Subsonic Users,CN=Users,dc=i12bretro,dc=local)))<br />
  55. LDAP manager DN (Optional): i12bretro.local\readonly_svc<br />
  56. Password: %readonly_svc password%<br />
  57. Check the Automatically create users in Subsonic box</li>
  58. <li>Click the Save button</li>
  59. <li>Click Users in the top navigation</li>
  60. <li>Make sure the Select user dropdown says -- New user --</li>
  61. <li>Check all the boxes for the permissions you&#39;d like the new user to have</li>
  62. <li>Set the username field</li>
  63. <li>Check the box to Authenticate user in LDAP</li>
  64. <li>Click the Save button</li>
  65. <li>Click Logout of admin from the left navigation</li>
  66. <li>Sign in with the active directory username and password</li>
  67. </ol>
  68. </div>
  69. </div>
  70. </body>
  71. </html>