diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-08-11 18:53:50 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-08-11 19:03:27 +0200 |
commit | 7eb6d8df0add6c862e84bdb0bb618380fbc04bda (patch) | |
tree | 8af276103fc3fa7cf3c4b29f80e74ae93b4a3061 /apps/user_ldap/lib/Connection.php | |
parent | 7ea262dba03cceefe0646f2216b506d66c3dcbc9 (diff) | |
download | nextcloud-server-7eb6d8df0add6c862e84bdb0bb618380fbc04bda.tar.gz nextcloud-server-7eb6d8df0add6c862e84bdb0bb618380fbc04bda.zip |
do not flip available state to unavailable, allow empty results
- the detection relies that the first, requested result is not empty
- it might be empty though – groups without members
- protect switching from available to unavailable
- switching the other way around was also not envisaged either
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 079429027c5..b7556bf236e 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -72,6 +72,7 @@ use OCP\ILogger; * @property string ldapGidNumber * @property int hasMemberOfFilterSupport * @property int useMemberOfToDetectMembership + * @property string ldapMatchingRuleInChainState */ class Connection extends LDAPUtility { private $ldapConnectionRes = null; |