Re: Advice on how to write an LDAP AD user query
- From: slinkydonkey@xxxxxxxxxxx
- Date: 6 Sep 2005 06:11:30 -0700
Hi Joe
I finaly managed to write an LDAP query to bring back all email address
that don't end with the SMTP email address @myworksdomain.co.uk.
I didnt understand your reply but thanks anyway. :O)
Joe Richards [MVP] wrote:
> You can't base an LDAP query dynamically upon what the object name is being
> checked. You would need to dump all users with smtp addresses and compare the
> username with the address.
>
> joe
>
> --
> Joe Richards Microsoft MVP Windows Server Directory Services
> www.joeware.net
>
>
> slinkydonkey@xxxxxxxxxxx wrote:
> > Hello All
> >
> > I need to be able to qrite a fairly simple LDAP query in AD to bring
> > back the following:
> >
> > All active users (in an OU called users) who don't have an SMTP email
> > address which starts username@domain for example (the user name is a
> > number).
> >
> > Can this be easily be done I use AD 2003 daily and need this
> > information.
> >
> >
> > Thanks in Advance
> >
.
- Follow-Ups:
- Re: Advice on how to write an LDAP AD user query
- From: Joe Richards [MVP]
- Re: Advice on how to write an LDAP AD user query
- Prev by Date: Re: Migrating Exchange between two different Companies
- Next by Date: Re: Advice on how to write an LDAP AD user query
- Previous by thread: Re: Unable to view mailbox store when connected to 2003 domain con
- Next by thread: Re: Advice on how to write an LDAP AD user query
- Index(es):
Loading