Active Directory group membership predicates incorrectly using SMTP domain of email address for base of search

Predicates supplied with the Janusgate Framework that perform an Active Directory lookup for a user based on an email address may result in LDAP referral errors being reported in the log file and messages being let through without processing.


This issue will occur in environments where the domain name of the Windows domain defined in Active Directory is not the same as one of the SMTP email domains used for user's email addresses in the organisation.


This issue has been fixed in Janusgate Mobile 1.2.1 and above.

Article Information
known issue
fixed issue
Date created: 
17 Oct, 2011
Last updated: 
08 May, 2018 20:20
More Information: 

Janusgate Mobile includes several predicates which can be used to test if recipients or senders are members of groups in Active Directory.


These predicates are:

  • IsARecipientMemberOfGroup
  • IsEachRecipientMemberOfGroup
  • IsSenderMemberOfGroup


These predicates test if the entity being tested (either a message sender or one or more recipients) is a member of a specified group in Active Directory. They first try to find the entity in Active Directory based on the entity's email address.


In Janusgate Mobile 1.2.0 the predicates incorrectly attempt to use the domain name of the entity's email address as the search base in the directory tree. This approach is only sensible in environments where the SMTP domain name is the same as the Windows domain name. For environments where this is not the case the search fails and the message can be delivered with incomplete processing by Janusgate Mobile.


This issue has been fixed in Janusgate Mobile 1.2.1 and above.

Applies To
Janusgate Mobile