Tuesday, February 21 2017

How to configure Nextcloud server with LDAP

Nextcloud have excelent Apps for integration user and group by LDAP / AD. If don't have LDAP server check "How to Install and configure a Basic LDAP Server on an Debian 8 Jessie" and continue reading this short example of integration LDAP and Nextcloud.


Activate LDAP user and group backend for Nextcloud

Login in Nextcloud as Administrator and click on top left dropdown list and select "Apps", then click on "Not enabled" and search " LDAP user and group backend".

Click on button "Enable" and wait 5-10 sec, then click on top right dropdown list.

Click on "Admin", and select "LDAP / AD integration"

Enter LDAP connection data and go in section Users.

Hostname:            localhost
LDAP bind user:  cn=admin,dc=test,dc=com
Password:            The password that you have choosen.
Base DN:              dc=test,dc=com

Under selection "Only these object class" select "inetOrgPerson". Now go in section Login Attributes.

Select checkbox "LDAP / AD Username" and "LDAP / AD Email Address" (users can login with username or e-mail), then go in section Groups.

Under selection "Only these object class" select "posixGroup" and under "Only from these groups" select "nextcloud" then go in Advanced settings.

Under Advanced set Special Attributes. 

Email Field:             mail
User Home Folder: uid

Now can check users, click on top-right dropdown list and select "Users"


LDAP Expert

Under Username system generate UUID attribute automatically and that value need to be unique. You can change Internal Username from UUID to uid but that option is open only for expert users.

You can change "Internal Username" for example in "uid", and result is:

That is all, enjoy in Nextcloud with LDAP integration.





Friday, February 17 2017

How to Install and configure a Basic LDAP Server on an Debian 8 Jessie

Lightweight Directory Access Protocol (LDAP), is a protocol for managing related information from a centralized location through the use of a file and directory hierarchy. It functions in a similar way to a relational database in certain ways, and can be used to organize and store any kind of  […]

Continue reading

Sunday, February 12 2017

How to install Nextcloud client on Debian 8 Jessie in 3 min

Nextcloud client is forked from ownCloud client and based on version 2.2.4, Built from Git revision eaeed0 on Feb 7 2017, 20:21:04 using Qt 5.3.2, OpenSSL 1.0.1t 3 May 2016.   Add Nextcloud Repository Add the Nextcloud repository in the /etc/apt/sources.d/nextcloud.list echo 'deb  […]

Continue reading

Saturday, February 11 2017

How to up Nextcloud 11 server on Debian 8 Jessie in 10 min

What is Nextcloud? Nextcloud is a forked by founder of ownCloud. Nextcloud move focus on apps as Calendar, Contacts, Documents, Video Chat, Email, and more. I make package for Debian 8 Jessie for easy way of installation Nextcloud, in my example I use PostgreSQL database but supported is My SQL /  […]

Continue reading

Thursday, February 2 2017

My Debian 8 Jessie Repository

After long time I make custom Debian 8 Jessie repository. Some programs in official Debian repository is outdate and I don't wont to move from stable to sid (unstable) and solution is making own repository for too old or missing packages.     If wont use this repository simple add in  […]

Continue reading