forked from i12bretro/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0063.html
77 lines (73 loc) · 3.63 KB
/
0063.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!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,AD,Web Based,Web Based Tools,Self-Hosted,Streaming,Music,Microsoft Windows,Music Streamer,Music Streaming,Network,Microsoft,Media Center,Media Server,Lightweight Directory Access Protocol,Apache Tomcat,Airsonic,Apache,Free Software,Home Lab,Install Guide,How To,Tutorial,i12bretro">
<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">
<meta name="revised" content="03/29/2022 08:16:51 PM" />
<link rel="icon" type="image/x-icon" href="includes/favicon.ico">
<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>