123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Setting Up LDAP Authentication in Subsonic</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Windows,Subsonic,Media Streamer,Self-hosted,MP3,Tomcat,Active Directory,LDAP">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Setting Up LDAP Authentication in Subsonic">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Setting Up LDAP Authentication in Subsonic</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>Active Directory Setup</h2>
- <ol>
- <li>Open Active Directory Users and Computers</li>
- <li>Expand the domain > Users</li>
- <li>Right Click Users > New > User</li>
- <li>Create a read only account to use for LDAP binding<br />
- First Name: Read<br />
- Last Name: Only<br />
- User logon name: readonly_svc</li>
- <li>Click Next</li>
- <li>Set the user's password and confirm it</li>
- <li>Uncheck User must change password on next logon</li>
- <li>Check User cannot change password</li>
- <li>Check Password never expires</li>
- <li>Click Next</li>
- <li>Click Finish</li>
- <li>Right Click Users > New > Group</li>
- <li>Give the group a name and click OK</li>
- <li>Right Click the newly created group > Properties</li>
- <li>Select the Members tab > Click Add...</li>
- <li>Add users that will be allowed access to the web application</li>
- <li>Click OK</li>
- </ol>
- <h2>Configuring Subsonic</h2>
- <ol>
- <li>Open a web browser and navigate to http://DNSorIP:Port</li>
- <li>Login with the Subsonic admin account (admin/admin by default)</li>
- <li>Select Settings > Advanced</li>
- <li>Check the Enable LDAP authentication box</li>
- <li>Fill out the LDAP setup fields below:<br />
- LDAP URL: ldap://i12bretro.local:389/dc=i12bretro,dc=local<br />
- LDAP search filter: (&(sAMAccountName={0})(&(objectCategory=user)(memberof=cn=Subsonic Users,CN=Users,dc=i12bretro,dc=local)))<br />
- LDAP manager DN (Optional): i12bretro.local\readonly_svc<br />
- Password: %readonly_svc password%<br />
- Check the Automatically create users in Subsonic box</li>
- <li>Click the Save button</li>
- <li>Click Users in the top navigation</li>
- <li>Make sure the Select user dropdown says -- New user --</li>
- <li>Check all the boxes for the permissions you'd like the new user to have</li>
- <li>Set the username field</li>
- <li>Check the box to Authenticate user in LDAP</li>
- <li>Click the Save button</li>
- <li>Click Logout of admin from the left navigation</li>
- <li>Sign in with the active directory username and password</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|