memberOf is not supported by the server” (Nextcloud 33.0.0 / OpenLDAP 2.6.10) in 03.2026

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.4 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.58 (Ubuntu)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • n/a
  • PHP version (e.g, 8.3):
    • PHP 8.3.6
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • During the configuration of the “LDAP/AD Integration” in the “Users” tab
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • LAMP on PC
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

During the configuration of the “LDAP/AD Integration” in the “Users” tab the error “memberOf is not supported by the Server” appears and can’t continue the "LDAP/AD Integration” configuration.

Steps to replicate it (hint: details matter!):

  1. Every time I repeat to configure the “LDAP/AD Integration”/“Users” tab.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '<removed>',
  'passwordsalt' => '<removed>',
  'secret' => '<removed>',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => '<removed>',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '33.0.0.16',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '<removed>',
  'dbpassword' => '<removed>',
  'installed' => true,
  'mail_domain' => '<removed>',
  'mail_from_address' => '<removed>',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => '<removed>',
  'mail_smtpport' => '<removed>',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpstreamoptions' => 
  array (
    'ssl' => 
    array (
      'allow_self_signed' => false,
      'verify_peer' => true,
      'verify_peer_name' => true,
    ),
  ),
  'mail_smtppassword' => '<removed>',
  'mail_smtpname' => '<removed>',
  'mail_smtpauth' => true,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
);

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Hello,
the “LDAP/AD integration - Users” shows “memberOf is not supported by the server”

The system uses Nextcloud 33.0.0, Ubuntu 24.04.04 LTS", Apache 2.4.58 (Ubuntu), MariaDB 10.11.14, PHP 8.3.6. OpenLDAP 2.6.10+dfsg.

To activate the memberof the below steps are done.
What did I miss?

Thank you in advance.

####################
Datei load_memberof.ldif
####################
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: memberof

####################
OS command
####################
root#>ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f load_memberof.ldif
modifying entry “cn=module{0},cn=config”

root#>

####################
Datei add_memberof.ldif
####################
dn: olcOverlay={0}memberof,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcMemberOf
olcOverlay: memberof
olcMemberOfDangling: ignore
olcMemberOfRefInt: TRUE

####################
OS command
####################
root#>ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f add_memberof.ldif
adding new entry “olcOverlay={0}memberof,olcDatabase={1}mdb,cn=config”

root#>
root#>systemctl restart slapd
root#>ldapsearch -x -LLL -H ldap:/// -b “dc=example,dc=com” memberOf
dn: dc=testli,dc=com

root#>

####################
Check which modules are loaded v1
####################
root#>ldapsearch -Y EXTERNAL -H ldapi:/// -b cn=config ‘(objectClass=olcModuleList)’ olcModuleLoad
tClass=olcModuleList)’ olcModuleLoad
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
extended LDIF

LDAPv3
base <cn=config> with scope subtree
filter: (objectClass=olcModuleList)
requesting: olcModuleLoad

module{0}, config
dn: cn=module{0},cn=config
olcModuleLoad: {0}back_mdb
olcModuleLoad: {1}memberof

search result
search: 2
result: 0 Success

numResponses: 2
numEntries: 1
root#>

####################
check memberof
####################
root#>ldapsearch -Y EXTERNAL -H ldapi:/// -b cn=config ‘(olcOverlay=memberof)’
ASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
extended LDIF

LDAPv3
base <cn=config> with scope subtree
filter: (olcOverlay=memberof)
requesting: ALL

{0}memberof, {1}mdb, config
dn: olcOverlay={0}memberof,olcDatabase={1}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcMemberOfConfig
olcOverlay: memberof
olcMemberOfDangling: ignore
olcMemberOfRefInt: TRUE

search result
search: 2
result: 0 Success

numResponses: 2
numEntries: 1

root#>

####################
check refint
####################
root#>ldapsearch -Y EXTERNAL -H ldapi:/// -b cn=config ‘(olcOverlay=refint)’
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
extended LDIF

LDAPv3
base <cn=config> with scope subtree
filter: (olcOverlay=refint)
requesting: ALL

search result
search: 2
result: 0 Success

numResponses: 1
root#>

See User authentication with LDAP — Nextcloud latest Administration Manual latest documentation