From: Graham B. <gb...@po...> - 2003-01-23 19:55:23
|
On Thu, Jan 23, 2003 at 11:47:55AM -0800, Paul Harwood wrote: > I am writing a script using the following LDAP search filter: > > filter => "(objectclass=msexchExchangeServer)", > > This works fine. > > I want to exclude the objectlass=msexchExchangeServerPolicy. I am trying > the following with no success: > > filter => "(objectclass=msexchExchangeServer)(!objectclass=msexchExchangeServerPolicy)", Try filter => "(&(objectclass=msexchExchangeServer)(!(objectclass=msexchExchangeServerPolicy)))", Graham. > > filter => > "(|(objectclass=msexchExchangeServer)(!objectclass=msexchExchangeServerP > olicy))", > > > > > > Any help is appreciated. > > > > --Paul > |