Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
At the moment our Active Directory is structured in such a way that an LDAP query from Outlook returns every user in the domain. I need to exclude users with disabled accounts however.
Our AD hierachy is like this, we have one domain (ourcomapny.internal) and then five OUs representing each of our different sites (Leeds, London, Manchester etc). These five OUs contain all our users accounts. Also directly under the domain we have an OU specifically for disabled accounts (for reasons I won't bore you with, we cannot delete old user accounts).
At the moment in Outlook we use the following LDAP 'Search Base' string: dc=ourcompany,DC=internal
This returns all the users. Without moving all the site OUs into a single OU and then specifiying that OU in the LDAP string, is there a way to exclude the disabled accounts OU from the results ?
We can't use multiple address books (I know this would be an easy way around it).
Unfortunately we don't use Exchange. Our company in there infinite wisdom went for a cheaper competitor in the form of Ipswitch Imail......
many thanks

Um...maybe remove the email address from the disabled user accounts? Don't know..just guessing, as I'm not real familiar with LDAP.
Life's more painless for the brainless.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |