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
committerArthur Schiwon <blizzz@owncloud.com>2015-10-09 15:12:59 +0300
commit2fddb1367acc381de965234588c84779ca178756 (patch)
tree6b3338c56304584dd55de0addd7d5ba499e01599 /apps/user_ldap
parenta876efda50680f7d8652299cb5265dc552be45cf (diff)
fix primary group retrieval
Diffstat (limited to 'apps/user_ldap')
-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 0b9c9d9d5f0..cf58e5b902d 100644
--- a/apps/user_ldap/group_ldap.php
+++ b/apps/user_ldap/group_ldap.php
@@ -247,7 +247,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