> Sorry to be a pain,

Don't sweat it. :)

> When I run the script against the Staff ou I import 293 of the
> 637 users then get the following message:

> D:\IMail\Scripts\exchange2aliases.vbs(68, 4) Microsoft VBScript
> runtime error: Object not a collection

Hmm.  This error indicates that the proxyAddresses collection is not a
collection  for  those  users. I see that I can trigger this simply by
removing  all  but one address in Exchange; the default in Exchange is
that  all  users  will  have  at  least  one SMTP address and one X400
address,  but  if  you  deliberately  remove  the  X400,  this will be
problematic.

Note  that  this  is  a  definite  _bug_  in  Microsoft's object model
vis-a-vis  LDAP.  In LDAP, a attribute that is allowed multiple values
will  be accessible as an array (eq. collection), even if there's only
one  value  at  the  time  you  run  your  query.  In the LDAP:// ADSI
namespace,  this is apparently broken, as the object type changes over
to single-valued if there's only one value stored.

Unfortunately,  I  don't  see myself building in workarounds for this;
too  many  options.  Am  I indeed correct that you've removed the X400
addresses from these users? Can you reapply a Recipient Policy to give
them an X400 placeholder?

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
e-mail: [EMAIL PROTECTED]

SpamAssassin plugs into Declude!
  http://www.mailmage.com/products/software/freeutils/SPAMC32/download/release/

Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail Aliases!
  
http://www.mailmage.com/products/software/freeutils/exchange2aliases/download/release/
  
http://www.mailmage.com/products/software/freeutils/ldap2aliases/download/release/

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to