Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
LDAP Query Assistance - using an OR
(&(sAMAccountname=*)(mail=*)(proxyAddresses=smtp:*)(objectCategory=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
I would like to ALSO pull any mail addresses from mail-enabled public folders. I know I need to stick an OR in there, along with objectClass=publicFolder but I can't get it to work. I've tried this:
(&(sAMAccountname=*)(mail=*)(proxyAddresses=smtp:*)(|(objectCategory=User)(objectClass=publicFolder))((!(userAccountControl:1.2.840.113556.1.4.803:=2)))
But that returns 0 results. Help?