Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-10-09 15:12:59 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-10-22 13:08:09 +0300
commitf9be35c931b2399391616b1396db2f30378fa112 (patch)
treea3c2ab4b91e2245656df761d372dd490dd684743
parentba13cecb76439a91ec82c70f9f81e7db82ea89f1 (diff)
fix primary group retrieval
-rw-r--r--apps/user_ldap/group_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/group_ldap.php b/apps/user_ldap/group_ldap.php
index e2b4666a63a..48200bf57f4 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -245,7 +245,7 @@ class GROUP_LDAP extends BackendUtility implements \OCP\GroupInterface {
if(empty($result)) {
return false;
}
- $dn = $result[0];
+ $dn = $result[0]['dn'][0];
//and now the group name
//NOTE once we have separate ownCloud group IDs and group names we can