summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Pflug <dev@admin4.org>2017-01-31 01:40:09 +0100
committerAndreas Pflug <dev@admin4.org>2017-01-31 01:40:09 +0100
commitb64e48335f63662a43d0b7198fd013d4af521996 (patch)
treeba0062635f5a2e50a0653ef7a5b46384e512ea5f
parentbbcb1dd2e0ce731753c4eecd7534ac9921aa7685 (diff)
downloadnextcloud-server-b64e48335f63662a43d0b7198fd013d4af521996.tar.gz
nextcloud-server-b64e48335f63662a43d0b7198fd013d4af521996.zip
Don't try to use memberof on posixgroups, since it doesn't support
memberUid attributes. Signed-off-by: Andreas Pflug <dev@admin4.org>
-rw-r--r--apps/user_ldap/lib/Group_LDAP.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php
index 49e5e724833..7ded4ef6635 100644
--- a/apps/user_ldap/lib/Group_LDAP.php
+++ b/apps/user_ldap/lib/Group_LDAP.php
@@ -496,9 +496,11 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface {
// if possible, read out membership via memberOf. It's far faster than
// performing a search, which still is a fallback later.
+ // memberof doesn't support memberuid, so skip it here.
if(intval($this->access->connection->hasMemberOfFilterSupport) === 1
&& intval($this->access->connection->useMemberOfToDetectMembership) === 1
- ) {
+ && strtolower($this->access->connection->ldapGroupMemberAssocAttr) !== 'memberuid'
+ ) {
$groupDNs = $this->_getGroupDNsFromMemberOf($userDN);
if (is_array($groupDNs)) {
foreach ($groupDNs as $dn) {
'n152' href='#n152'>152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# 
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: http://bugs.owncloud.org/\n"
"POT-Creation-Date: 2012-09-13 02:01+0200\n"
"PO-Revision-Date: 2012-09-13 00:01+0000\n"
"Last-Translator: I Robot <thomas.mueller@tmit.eu>\n"
"Language-Team: Afrikaans (http://www.transifex.com/projects/p/owncloud/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: af\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ajax/apps/ocs.php:23
msgid "Unable to load list from App Store"
msgstr ""

#: ajax/creategroup.php:9 ajax/removeuser.php:13 ajax/setquota.php:18
#: ajax/togglegroups.php:15
msgid "Authentication error"
msgstr ""

#: ajax/creategroup.php:19
msgid "Group already exists"
msgstr ""

#: ajax/creategroup.php:28
msgid "Unable to add group"
msgstr ""

#: ajax/enableapp.php:13
msgid "Could not enable app. "
msgstr ""

#: ajax/lostpassword.php:14
msgid "Email saved"
msgstr ""

#: ajax/lostpassword.php:16
msgid "Invalid email"
msgstr ""

#: ajax/openid.php:16
msgid "OpenID Changed"
msgstr ""

#: ajax/openid.php:18 ajax/setlanguage.php:20 ajax/setlanguage.php:23
msgid "Invalid request"
msgstr ""

#: ajax/removegroup.php:16
msgid "Unable to delete group"
msgstr ""

#: ajax/removeuser.php:22
msgid "Unable to delete user"
msgstr ""

#: ajax/setlanguage.php:18
msgid "Language changed"
msgstr ""

#: ajax/togglegroups.php:25
#, php-format
msgid "Unable to add user to group %s"
msgstr ""

#: ajax/togglegroups.php:31
#, php-format
msgid "Unable to remove user from group %s"
msgstr ""

#: js/apps.js:18
msgid "Error"
msgstr ""

#: js/apps.js:39 js/apps.js:73
msgid "Disable"
msgstr ""

#: js/apps.js:39 js/apps.js:62
msgid "Enable"
msgstr ""

#: js/personal.js:69
msgid "Saving..."
msgstr ""

#: personal.php:46 personal.php:47
msgid "__language_name__"
msgstr ""

#: templates/admin.php:14
msgid "Security Warning"
msgstr ""

#: templates/admin.php:17
msgid ""
"Your data directory and your files are probably accessible from the "
"internet. The .htaccess file that ownCloud provides is not working. We "
"strongly suggest that you configure your webserver in a way that the data "
"directory is no longer accessible or you move the data directory outside the"
" webserver document root."
msgstr ""

#: templates/admin.php:31
msgid "Cron"
msgstr ""

#: templates/admin.php:33
msgid "execute one task with each page loaded"
msgstr ""

#: templates/admin.php:35
msgid ""
"cron.php is registered at a webcron service. Call the cron.php page in the "
"owncloud root once a minute over http."
msgstr ""

#: templates/admin.php:37
msgid ""
"use systems cron service. Call the cron.php file in the owncloud folder via "
"a system cronjob once a minute."
msgstr ""

#: templates/admin.php:41
msgid "Share API"
msgstr ""

#: templates/admin.php:46
msgid "Enable Share API"
msgstr ""

#: templates/admin.php:47
msgid "Allow apps to use the Share API"
msgstr ""

#: templates/admin.php:51
msgid "Allow links"
msgstr ""

#: templates/admin.php:52
msgid "Allow users to share items to the public with links"
msgstr ""

#: templates/admin.php:56
msgid "Allow resharing"
msgstr ""

#: templates/admin.php:57
msgid "Allow users to share items shared with them again"
msgstr ""

#: templates/admin.php:60
msgid "Allow users to share with anyone"
msgstr ""

#: templates/admin.php:62
msgid "Allow users to only share with users in their groups"
msgstr ""

#: templates/admin.php:69
msgid "Log"
msgstr ""

#: templates/admin.php:97
msgid "More"
msgstr ""

#: templates/admin.php:105
msgid ""
"Developed by the <a href=\"http://ownCloud.org/contact\" "
"target=\"_blank\">ownCloud community</a>, the <a "
"href=\"https://github.com/owncloud\" target=\"_blank\">source code</a> is "
"licensed under the <a href=\"http://www.gnu.org/licenses/agpl-3.0.html\" "
"target=\"_blank\"><abbr title=\"Affero General Public "
"License\">AGPL</abbr></a>."
msgstr ""

#: templates/apps.php:10
msgid "Add your App"
msgstr ""

#: templates/apps.php:26
msgid "Select an App"
msgstr ""

#: templates/apps.php:29
msgid "See application page at apps.owncloud.com"
msgstr ""

#: templates/apps.php:30
msgid "<span class=\"licence\"></span>-licensed by <span class=\"author\"></span>"
msgstr ""

#: templates/help.php:9
msgid "Documentation"
msgstr ""

#: templates/help.php:10
msgid "Managing Big Files"
msgstr ""

#: templates/help.php:11
msgid "Ask a question"
msgstr ""

#: templates/help.php:23
msgid "Problems connecting to help database."
msgstr ""

#: templates/help.php:24
msgid "Go there manually."
msgstr ""

#: templates/help.php:32
msgid "Answer"
msgstr ""

#: templates/personal.php:8
msgid "You use"
msgstr ""

#: templates/personal.php:8
msgid "of the available"
msgstr ""

#: templates/personal.php:12
msgid "Desktop and Mobile Syncing Clients"
msgstr ""

#: templates/personal.php:13
msgid "Download"
msgstr ""

#: templates/personal.php:19
msgid "Your password got changed"
msgstr ""

#: templates/personal.php:20
msgid "Unable to change your password"
msgstr ""

#: templates/personal.php:21
msgid "Current password"
msgstr ""

#: templates/personal.php:22
msgid "New password"
msgstr ""

#: templates/personal.php:23
msgid "show"
msgstr ""

#: templates/personal.php:24
msgid "Change password"
msgstr ""

#: templates/personal.php:30
msgid "Email"
msgstr ""

#: templates/personal.php:31
msgid "Your email address"
msgstr ""

#: templates/personal.php:32
msgid "Fill in an email address to enable password recovery"
msgstr ""

#: templates/personal.php:38 templates/personal.php:39
msgid "Language"
msgstr ""

#: templates/personal.php:44
msgid "Help translate"
msgstr ""

#: templates/personal.php:51
msgid "use this address to connect to your ownCloud in your file manager"
msgstr ""

#: templates/users.php:21 templates/users.php:76
msgid "Name"
msgstr ""

#: templates/users.php:23 templates/users.php:77
msgid "Password"
msgstr ""

#: templates/users.php:26 templates/users.php:78 templates/users.php:98
msgid "Groups"
msgstr ""

#: templates/users.php:32
msgid "Create"
msgstr ""

#: templates/users.php:35
msgid "Default Quota"
msgstr ""

#: templates/users.php:55 templates/users.php:138
msgid "Other"
msgstr ""

#: templates/users.php:80 templates/users.php:112
msgid "Group Admin"
msgstr ""

#: templates/users.php:82
msgid "Quota"
msgstr ""

#: templates/users.php:146
msgid "Delete"
msgstr ""