Topic: group query returns group as member of itself
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend : LDAP (AD)
- Linux/BSD distribution name and version: Debian Squeeze
- Related log if you're reporting an issue:
Whenever I query a group in AD for a list of members (as a distribution group), the values I get returned are as expected, with the unwanted addition of the group itself (so it returns firstname.lastname@example.org,email@example.com,firstname.lastname@example.org). So whenever I send a message to the DL, I get a bounce back that says email@example.com doesn't exist as a user (to be expected). I've set up iRedMail before and I don't remember encountering this issue.
Here is a copy of my ad_virtual_group_maps:
server_host = xxx.yyy.local
server_port = 389
version = 3
bind = yes
start_tls = no
bind_dn = mail
bind_pw = -------------
search_base = ou=zzz,dc=yyy,dc=local
scope = sub
query_filter = (&(objectClass=group)(mail=%s))
special_result_attribute = member
#leaf_result_attribute = mail
result_attribute = mail
debuglevel = 0
I checked to make sure that the DL wasn't a member of itself, and it's not. The only members that AD and ADExplorer list in that group are the correct ones.
----Urgent issue? Pay iRedMail developer to solve it remotely at $29.