From 1148e3ae5fa797649d51e9bc590a9f7d24e5a2a3 Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Tue, 15 Dec 2015 15:36:38 -0800 Subject: [PATCH] home rule enforced by default --- admin_manual/configuration_user/user_auth_ldap.rst | 6 ++++-- admin_manual/release_notes.rst | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index cf4c1a85e..a35d041f1 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -408,9 +408,11 @@ User Home Folder Naming Rule: * Example: *cn* -In new ownCloud installations the home folder rule is enforced. This means that once you set a home folder naming rule (get a home folder from an LDAP attribute), it must be available for all users. If it isn't available for a user, then that user will not be able to login. In existing ownCloud installations the old behavior still applies; which is using the ownCloud username as the home folder when an LDAP attribute is not set. You may change this to enforcing the home folder rule with this entry in ``config.php``:: +In new ownCloud installations (8.0.10, 8.1.5, 8.2.0 and up) the home folder rule is enforced. This means that once you set a home folder naming rule (get a home folder from an LDAP attribute), it must be available for all users. If it isn't available for a user, then that user will not be able to login. Also, the filesystem will not be set up for that user, so their file shares will not be available to other users. - 'enforce_home_folder_naming_rule' => true, +In existing ownCloud installations the old behavior still applies, which is using the ownCloud username as the home folder when an LDAP attribute is not set. You may change this to enforcing the home folder rule with the ``occ`` command in ownCloud 8.2, like this example on Ubuntu:: + + sudo -u www-data php occ config:app:set user_ldap enforce_home_folder_naming_rule --value=1 Expert Settings --------------- diff --git a/admin_manual/release_notes.rst b/admin_manual/release_notes.rst index d0816dcef..31441a041 100644 --- a/admin_manual/release_notes.rst +++ b/admin_manual/release_notes.rst @@ -6,7 +6,7 @@ ownCloud |version| Release Notes Changes in 9.0 -------------- -Home folder rule is enforced in the user_ldap application; see :doc:`configuration_user/user_auth_ldap`. +Home folder rule is enforced in the user_ldap application in new ownCloud installations; see :doc:`configuration_user/user_auth_ldap`. This affects ownCloud 8.0.10, 8.1.5 and 8.2.0 and up. Changes in 8.2 --------------