Location: Articles

Articles

Articles

How to Enable, Disable and Maintain OCS 2007 (Office Communications Server) User Attributes using VBScript.

By Matty Holland on Thursday, May 15, 2008 4:51 PM

This script will enable and configure Active Directory users for OCS 2007.  This is an updated version of the re-written LCS reskit script published in article: How to Enable, Disable and Maintain LCS (Live Communications Server) User Attributes using VBScript.

Download - Download the script.

The attached script can be used to enable Active Directory users for OCS 2007.  The full background is described in a previous article that discussed managing LCS 2005 users via script:

How to Enable, Disable and Maintain LCS (Live Communications Server) User Attributes using VBScript

This script is a modified version of the LCSEnableConfigureUsers.wsf script that can be found in the OCS Resource Kit.  While the reskit script can be sufficient in many situations, the attached script as a little more flexible.  The main differences between this script and the reskit script are already documented in the LCS article mentioned above.   The key differences are:

 

  • Its possible to use LDAP queries to apply different configurations to different pools of users ; for example you could have all users in dept 1 with Federation Enabled while all users in dept 2 have federated services disabled

 

  • It's possible to use the users email address for SIP address instead of UPN.  We found that using a users UPN as sip address (where the UPN does not match the users email address) can prevent Smart Tags from working in Outlook. 

 

  • Supports renaming users : if a user has their UPN or Primary Mail address renamed then the script will also rename the users sip: address  

 

  • Use of a 'disable group' which is a sort of black list.  The members of which will never be enabled, even if they are included with the scope of any LDAP query in your configuration files. 


Really the true advantage of the script is the use of LDAP queries/filters and the abililty to specify different configuration to different groups of users.

The download includes an example of the possibilities.


Rating
Comments
Currently, there are no comments. Be the first to post one!
Click here to post a comment
Friends

Friends

Namescape

Ads

AdventNet Banner
Copyright 2008 ActiveDir.org
Terms Of Use