From 095f24dbca90852f86f8e9bb10ceba90a9487e57 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 2 Apr 2017 19:52:34 +0200 Subject: [PATCH] LDAP --- conf/lufi.conf.template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/conf/lufi.conf.template b/conf/lufi.conf.template index 7052d31..aa15e78 100644 --- a/conf/lufi.conf.template +++ b/conf/lufi.conf.template @@ -118,14 +118,14 @@ # set `ldap` if you want that only authenticated users can upload files # please note that everybody can still download files # optional, no default - #ldap => { - # uri => 'ldaps://ldap.example.org', - # user_tree => 'ou=users,dc=example,dc=org', - # bind_dn => ',ou=users,dc=example,dc=org', - # bind_user => 'uid=ldap_user', - # bind_pwd => 'secr3t', - # user_filter => '!(uid=ldap_user)' - #}, + ldap => { + uri => 'ldap://localhost:389', + user_tree => 'ou=users,dc=yunohost,dc=org', + bind_dn => ',ou=users,dc=yunohost,dc=org', + bind_user => 'uid=cn', + #bind_pwd => 'secr3t', + user_filter => '!(uid=ldap_user)' + }, # if you've set ldap above, the session will last `session_duration` seconds before # the user needs to reauthenticate