123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Setting up LDAP Authentication for NextCloud</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="Linux,Nextcloud,PHP,Apache,Self-Hosted,Cloud Solution,HowTo,Web Based Tools,LDAP,Authentication,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Setting up LDAP Authentication for NextCloud">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="06/04/2022 07:44:26 AM" />
- <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 for NextCloud</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Log into the Linux device</li>
- <li>Run the following commands in terminal to install the PHP LDAP module
- <div class="codeBlock"># update software repositories<br />
- sudo apt update<br />
- # install php-ldap module<br />
- sudo apt install php-ldap<br />
- # restart apache httpd service<br />
- sudo systemctl restart apache2</div>
- </li>
- <li>Launch a web browser and navigate to http://DNSorIP/nextcloud</li>
- <li>Log into NextCloud with an administrative account</li>
- <li>Click the settings gear menu > Apps in the top right corner</li>
- <li>Press CTRL+F and search for LDAP</li>
- <li>Click the LDAP user and group backend app</li>
- <li>Install/Enable the LDAP user and group backend app</li>
- <li>Select settings gear menu > Settings from the menu in the upper right hand corner</li>
- <li>Under Administration, Select LDAP / AD Integration in the left navigation menu</li>
- <li>Fill out the LDAP server form as follows:<br />
- Host: ldap://i12bretro.local<br />
- Port: 389<br />
- User DN: CN=readonly_svc,CN=Users,DC=i12bretro,DC=local<br />
- Password: Read0nly!!<br />
- Base DN: CN=users,DC=i12bretro,DC=local</li>
- <li>Click the Test Base DN button</li>
- <li>Click the Continue button</li>
- <li>Click the Continue button</li>
- <li>Check the LDAP / AD Email Address box and click the Continue button</li>
- <li>Select Username > Logout from the menu in the upper right hand corner</li>
- <li>Log into NextCloud using LDAP user credentials</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|