You can copy the LDAP query that is used to generate the global address
list (assuming you are talking about the default) it is:

(& (mailnickname=*) (|
(&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)
 ))

Just use this query with a command line LDAP tool like LDIFDE.  It would
go something like this:

ldifde.exe -s yourADservername -d "dc=yourdomain,dc=com" -r "(&
(mailnickname=*) (|
(&(objectCategory=person)(objectClass=user)(!(homeMDB=*))(!(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*)))(&(objectCategory=person)(objectClass=contact))(objectCategory=group)(objectCategory=publicFolder)
 ))" -f output.ldf -l displayname

This would query your AD server for all entries that would be in the GAL
and dump the returned objects DN and their displayname.

Enjoy,

Steve


> I am trying to export a list of all my users that have an active mailbox
> that is visable with the GAL. Is there a tool or resource that could
> assist.

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: 
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=english
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to