diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-07-04 00:10:43 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-07-05 11:12:51 +0200 |
commit | 343036e55c0b41891fc86aafc0cbb3077503ab64 (patch) | |
tree | b35cd53c20dd8e7f0fae928b9167efebed606042 /apps/user_ldap/lib/Connection.php | |
parent | 86d9528bc93402a18a3202bb3ff17c812b94402e (diff) | |
download | nextcloud-server-343036e55c0b41891fc86aafc0cbb3077503ab64.tar.gz nextcloud-server-343036e55c0b41891fc86aafc0cbb3077503ab64.zip |
allow admin to disable fetching of avatars as well as a specific attribute
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Connection.php')
-rw-r--r-- | apps/user_ldap/lib/Connection.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 977b7c54425..85e6ad6fd9e 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -48,6 +48,7 @@ use OCP\ILogger; * @property string ldapUserFilter * @property string ldapUserDisplayName * @property string ldapUserDisplayName2 + * @property string ldapUserAvatarRule * @property boolean turnOnPasswordChange * @property boolean hasPagedResultSupport * @property string[] ldapBaseUsers @@ -170,6 +171,15 @@ class Connection extends LDAPUtility { } /** + * @param string $rule + * @return array + * @throws \RuntimeException + */ + public function resolveRule($rule) { + return $this->configuration->resolveRule($rule); + } + + /** * sets whether the result of the configuration validation shall * be ignored when establishing the connection. Used by the Wizard * in early configuration state. |