Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Mon, 10 Apr 2006 16:06:01 -0700,    group: microsoft.public.exchange2000.active.directory.integration        back       


Export GAL for third-party email clients using VBScript   
I have written a VBScript script that loops all the objects in AD and writes 
(classes user, contact, group only) .sn, .givenName, .mail, .title, and 
..telephoneNumber attributes to an .ldif file.  I have limited the output to 
include only those objects that have data in the .mail attribute.  I would 
like to further limit it to only those objects that appear in the Exchange 
GAL.  The intention is to create an automated "duplicate" GAL that can be 
imported into third-party email clients.

After doing some testing, I'm finding that the msExchHideFromAddressLists 
isn't being populated for all objects.  Many of them are appearing as empty 
values.  The good news is that so far all objects that I can find that are 
hidden are correctly populated.  

Since I can't rely on the msExchHideFromAddressLists attribute, does anyone 
know another way I could achieve my goal?   

Thanks much for your time.
date: Mon, 10 Apr 2006 16:06:01 -0700   author:   Garny

RE: Export GAL for third-party email clients using VBScript   
Sounds like your scripts working as planned as you only have to ignore 
objects with the hide attribute set to true?

"Garny" wrote:

> I have written a VBScript script that loops all the objects in AD and writes 
> (classes user, contact, group only) .sn, .givenName, .mail, .title, and 
> .telephoneNumber attributes to an .ldif file.  I have limited the output to 
> include only those objects that have data in the .mail attribute.  I would 
> like to further limit it to only those objects that appear in the Exchange 
> GAL.  The intention is to create an automated "duplicate" GAL that can be 
> imported into third-party email clients.
> 
> After doing some testing, I'm finding that the msExchHideFromAddressLists 
> isn't being populated for all objects.  Many of them are appearing as empty 
> values.  The good news is that so far all objects that I can find that are 
> hidden are correctly populated.  
> 
> Since I can't rely on the msExchHideFromAddressLists attribute, does anyone 
> know another way I could achieve my goal?   
> 
> Thanks much for your time.
> 
>
date: Tue, 11 Apr 2006 12:53:02 -0700   author:   Tim Green

RE: Export GAL for third-party email clients using VBScript   
That is just it.  I can't assume the objects whose  
..msExchHideFromAddressLists attribute is empty is an object that is 
publishable.  I'm not even sure why they are empty.  I only know of the few 
dozen I've checked that are marked as 'true' they were all correct.  

Because of FERPA laws I can't allow even a single email address to slip out 
that is under restriction.  So I need to find an attribute that is more 
reliable.  

Anyone have any ideas as to why the .msExchHideFromAddressLists attribute is 
empty?  It should at least be set to FALSE if not specifically set to TRUE 
under Exchange.

Thanks again for any ideas.

"Tim Green" wrote:

> Sounds like your scripts working as planned as you only have to ignore 
> objects with the hide attribute set to true?
date: Tue, 11 Apr 2006 13:17:02 -0700   author:   Garny

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us