Dynamic List referencing two LDAP attributes, to include both with or logic.

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
yellowhousejake
Advanced member
Advanced member
Posts: 182
Joined: Tue Sep 09, 2014 9:57 am
ZCS/ZD Version: Release 10.1.8.GA.4633.UBUNTU20_64

Dynamic List referencing two LDAP attributes, to include both with or logic.

Post by yellowhousejake »

I've taken over for DAve now that he has retired. I received a request from a department head to add a receptionist from another department to that department head's email distribution list. That distribution list is a dynamic list referencing the 'Department' field.

Since the receptionist is in a different department, I have attempted to update the member URL field of that distribution list to include 'OR' by wat of a |

All of my attempts has rendered the dynamic list to have 0 members. Hopefully there is a simple solution to this, aside from transitioning away from dynamic to a manual list :cry:
Release 10.1.12.GA UBUNTU20.64 UBUNTU20_64 NETWORK edition.
Linux zimbra 5.4.0-193-generic #213-Ubuntu SMP Fri Aug 2 19:14:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
yellowhousejake
Advanced member
Advanced member
Posts: 182
Joined: Tue Sep 09, 2014 9:57 am
ZCS/ZD Version: Release 10.1.8.GA.4633.UBUNTU20_64

Re: Dynamic List referencing two LDAP attributes, to include both with or logic.

Post by yellowhousejake »

RESOLVED - turns out I simply missed an additional ) to the end of the string which was causing the member list to zero out.

For anyone that may be searching to figure out how to do this, here is an example of the string I used:

ldap:///??sub?(&(objectClass=zimbraAccount)(zimbraCOSId=YOUR_COS_ID)(|(ou=YOUR_DEPARTMENT)(title=YOUR_TITLE)))

This string now pulls all members of that OU, as well as anyone with the specific title entered, into the dynamic list.
Release 10.1.12.GA UBUNTU20.64 UBUNTU20_64 NETWORK edition.
Linux zimbra 5.4.0-193-generic #213-Ubuntu SMP Fri Aug 2 19:14:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Post Reply