1

Topic: Query LDAP mailinglist membership for nextcloud/owncloud

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer? Downloader
- Linux/BSD distribution name and version: Ubuntu 20.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

I set up the nextcloud login against the OpenLDAP that shipped with iredmail. The login so far works fine with the settings in the screenshots like login with (&(objectclass=mailUser)(enabledService=nextcloud)) and login attributes with (&(&(objectclass=mailUser)(enabledService=nextcloud))(|(mailPrimaryAddress=%uid)(mail=%uid))).
I read in previous posts, that group memberships are supposed to be done by membership in mailing lists. So far so good. I created a list and added a user to it. The question is now, how do I access this membership setting in nextcloud/owncloud?

Thanks for any help.

Post's attachments

Screenshot 2021-05-22 at 10.42.02 AM.png 130.06 kb, 1 downloads since 2021-05-23 

Screenshot 2021-05-22 at 10.42.14 AM.png 178.87 kb, 1 downloads since 2021-05-23 

Screenshot 2021-05-22 at 10.42.24 AM.png 154.83 kb, 1 downloads since 2021-05-23 

Screenshot 2021-05-22 at 10.43.42 AM.png 216.98 kb, 1 downloads since 2021-05-23 

Screenshot 2021-05-22 at 8.17.46 PM.png 145.05 kb, 1 downloads since 2021-05-23 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Query LDAP mailinglist membership for nextcloud/owncloud

Hi,

I found the solution.
In the LDAP Advanced setting you have to set the Base Group Tree to o=domains,dc=example,dc=com
In Groups set the manual LDAP Query to (objectclass=mailList)

This should result in a list of all mailing lists available as groups from wich you can choose in nextcloud/owncloud