RE: ldap and gal filter using or filter

  • From: "Mulnick, Al" <Al.Mulnick@xxxxxxxxxx>
  • To: "'[ExchangeList]'" <exchangelist@xxxxxxxxxxxxx>
  • Date: Tue, 9 Mar 2004 13:27:06 -0500

Thanks Mark.  That explains it.  I usually just mod the original to suit, so
it didn't occur to me that the new one would AND the attributes by default.

Mark, does that answer the question you were after?
Al 

-----Original Message-----
From: Mark Fugatt [mailto:mark@xxxxxxxxx] 
Sent: Tuesday, March 09, 2004 12:16 PM
To: [ExchangeList]
Subject: [exchangelist] RE: ldap and gal filter using or filter

http://www.MSExchange.org/

Al

It maybe that I did not understand Mark's question fully, the Default GAL
uses an OR statement, as shown below, the | after the third ( indicated the
OR

(&(mailnickname=*)(|(&(objectCategory=person)(objectClass=user)(!(homeMDB=*)
)(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(h
omeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=con
tact))(objectCategory=group)(objectCategory=publicFolder)(objectCategory=msE
xchDynamicDistributionList) ))

If you create a new Address List or GAL and add extra search attributes they
are by default an AND

Mark Fugatt
MCSE, MCT, Microsoft Exchange MVP
Pentech Office Solutions Inc
Rochester, NY
Tel: 585 586 3890
Cell: 585 576 4750
http://www.4mcts.com
http://www.exchangetrainer.com

-----Original Message-----
From: Mulnick, Al [mailto:Al.Mulnick@xxxxxxxxxx]
Sent: Tuesday, March 09, 2004 12:04 PM
To: [ExchangeList]
Subject: [exchangelist] RE: ldap and gal filter using or filter

http://www.MSExchange.org/

Is it?  I don't have one handy to look at.  Can you paste a default LDAP GAL
building filter? (that's also different from standard; maybe I'm just being
picky today. 

-----Original Message-----
From: Mark Fugatt [mailto:mark@xxxxxxxxx]
Sent: Tuesday, March 09, 2004 11:43 AM
To: [ExchangeList]
Subject: [exchangelist] RE: ldap and gal filter using or filter

http://www.MSExchange.org/

The default is AND

Mark Fugatt
MCSE, MCT, Microsoft Exchange MVP
Pentech Office Solutions Inc
Rochester, NY
Tel: 585 586 3890
Cell: 585 576 4750
http://www.4mcts.com
http://www.exchangetrainer.com

-----Original Message-----
From: Mulnick, Al [mailto:Al.Mulnick@xxxxxxxxxx]
Sent: Tuesday, March 09, 2004 11:37 AM
To: [ExchangeList]
Subject: [exchangelist] RE: ldap and gal filter using or filter

http://www.MSExchange.org/

Who told you the logic was AND?  How did they build the GAL that comes with
if that's the case?

ADSIEdit would be a last resort for any solution for most people.  Did this
person include documentation on how they expected you to handle this? 

-----Original Message-----
From: Mark Sudron [mailto:marks@xxxxxxxxxx]
Sent: Tuesday, March 09, 2004 11:36 AM
To: [ExchangeList]
Subject: [exchangelist] ldap and gal filter using or filter

http://www.MSExchange.org/

hi folks,

Can anybody tell me if it is possible to create a custom LDAP query in 2k
that shows users AND groups in a global address list? I know that the
standard filter logic is 'AND' and not 'OR' which is the cause of my
problems someone suggested i use adsiedit to edit the ldap query so i can
specifiy an or. is this right? if so i can't see where the gal filters end
up in adsiedit

thanks
mark


------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp
Exchange FAQ: http://www.msexchange.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 ISA Server Resource Site: http://www.isaserver.org Windows Security
Resource Site: http://www.windowsecurity.com/ Network Security Library:
http://www.secinf.net/ Windows 2000/NT Fax Solutions:
http://www.ntfaxfaq.com
------------------------------------------------------

------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp
Exchange FAQ: http://www.msexchange.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 ISA Server Resource Site: http://www.isaserver.org Windows Security
Resource Site: http://www.windowsecurity.com/ Network Security Library:
http://www.secinf.net/ Windows 2000/NT Fax Solutions:
http://www.ntfaxfaq.com
------------------------------------------------------




------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp
Exchange FAQ: http://www.msexchange.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 ISA Server Resource Site: http://www.isaserver.org Windows Security
Resource Site: http://www.windowsecurity.com/ Network Security Library:
http://www.secinf.net/ Windows 2000/NT Fax Solutions:
http://www.ntfaxfaq.com
------------------------------------------------------

------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp
Exchange FAQ: http://www.msexchange.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 ISA Server Resource Site: http://www.isaserver.org Windows Security
Resource Site: http://www.windowsecurity.com/ Network Security Library:
http://www.secinf.net/ Windows 2000/NT Fax Solutions:
http://www.ntfaxfaq.com
------------------------------------------------------




------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
Exchange Newsletters: http://www.msexchange.org/pages/newsletter.asp
Exchange FAQ: http://www.msexchange.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 ISA Server Resource Site: http://www.isaserver.org Windows Security
Resource Site: http://www.windowsecurity.com/ Network Security Library:
http://www.secinf.net/ Windows 2000/NT Fax Solutions:
http://www.ntfaxfaq.com
------------------------------------------------------


Other related posts: