From: Arthur Schiwon Date: Thu, 13 Dec 2012 23:29:15 +0000 (+0100) Subject: Show conflict warning when user_ldap and user_webdavauth are enabled X-Git-Tag: v5.0.0alpha1~331 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5cbe8d637b14995a66f829caad054132c7745701;p=nextcloud-server.git Show conflict warning when user_ldap and user_webdavauth are enabled --- diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index 0eec7829a4a..ce3079da0ba 100644 --- a/apps/user_ldap/appinfo/app.php +++ b/apps/user_ldap/appinfo/app.php @@ -42,3 +42,6 @@ $entry = array( ); OCP\Backgroundjob::addRegularTask('OCA\user_ldap\lib\Jobs', 'updateGroups'); +if(OCP\App::isEnabled('user_webdavauth')) { + OCP\Util::writeLog('user_ldap', 'user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour', OCP\Util::WARN); +} diff --git a/apps/user_ldap/appinfo/info.xml b/apps/user_ldap/appinfo/info.xml index 30fbf687dbe..a7605775274 100644 --- a/apps/user_ldap/appinfo/info.xml +++ b/apps/user_ldap/appinfo/info.xml @@ -2,7 +2,9 @@ user_ldap LDAP user and group backend - Authenticate Users by LDAP + Authenticate users and groups by LDAP resp. Active Directoy. + + This app is not compatible to the WebDAV user backend. AGPL Dominik Schmidt and Arthur Schiwon 4.9 diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 30c5c175c9b..f3f41fb2d8b 100644 --- a/apps/user_ldap/css/settings.css +++ b/apps/user_ldap/css/settings.css @@ -7,4 +7,9 @@ #ldap fieldset input { width: 70%; display: inline-block; +} + +.ldapwarning { + margin-left: 1.4em; + color: #FF3B3B; } \ No newline at end of file