Nextcloud external auth

From Newroco Tech Docs
Revision as of 12:12, 24 April 2017 by Chris.puttick (talk | contribs) (Created page with "These notes are designed to help with LDAP authentication for various packages, and were developed around the use of samba for the LDAP provider. ===Nextcloud (without LD...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

These notes are designed to help with LDAP authentication for various packages, and were developed around the use of samba for the LDAP provider.

Nextcloud (without LDAP SSL)

Create service user in Samba (make sure it has a long password and never expires). These docs assume you name the user next.cloud Go to Nextcloud Admin -> LDAP/Ad integration Enter server IP of Samba server Enter the port as 389 Enter User DN as follows. Assumes your domain is something like yourdomain.local and that your primary user container is the default "users"

cn=next.cloud,cn=users,dc=yourdomain,dc=local

Enter the password for the next.cloud user Enter the Base DN(s) as needed. The basic one is

dc=yourdomain,dc=local