2009/04/22 13:00

Using WMI to Configure New OCS Users – WMI를 이용한 OCS 사용자 설정

OCS에서 사용자 속성을 정해서 사용자 정보를 Active Directory 일괄 입력하고자 , 아래와 같이 WMI 이용하거나 ADDS 관련 COM객체를 이용해야 한다.

다음 내용은 WMI 이용해서 사용자를 설정하고자 알아두어야 속성 값들에 대한 설명을 나타낸다

 

 http://technet.microsoft.com/en-us/library/dd441296(office.13).aspx

 Microsoft Office Communications Server 2007 R2

Using WMI to Configure New Users

Your organization might choose to create your own scripts to enable new users for Office Communications Server instead of using the Active Directory Users and Computers snap-in or the Office Communications Server administrative snap-in. This section identifies the Active Directory attributes that can be set for new users and maps them to their associated WMI properties.

 Working with Active Directory Attributes

Keep the following points in mind when setting Active Directory attributes to enable new users:

  • Active Directory attributes that are not defined map to either FALSE (if Boolean) or NULL in WMI.
  • Some attributes have a bit-mask value. For these attributes, each setting is represented by a bit, and the displayed decimal value represents the bit placement. Each bit represents a WMI property. The following are some examples:
    • 10000 (binary) has a decimal value of 16 (bit 4 is set)
    • 100000000 (binary) has a decimal value of 256 (bit 8 is set)
    • 1100 (binary) has a decimal value of 12 (bits 2 and 3 are set; WMI properties represented by both bits are enabled)
    • 1111000001 (binary) has a decimal value of 961 (bits 0, 6, 7, 8, and 9 are set; WMI properties for each of these bits are enabled)

For more information about Active Directory attributes, see Active Directory Domain Services Attributes and Descriptions.

 Active Directory Attributes to WMI Properties Mapping

Note:

Attributes in bold are required for enabling users for Office Communications Server.

Active Directory Attributes for New Users

Active Directory Attribute

WMI Property

Comments

msRTCSIP-ArchivingEnabled

 

Identifies whether user's communications are archived. Each WMI property is represented by a set bit. Values are:

Bit 2 set

ArchiveInternalCommunications

4 decimal (100 binary)

Bit 3 set

ArchiveFederatedCommunications

8 decimal (1000 binary)

msRTCSIP-FederationEnabled

EnabledForFederation

True/False

msRTCSIP-InternetAccessEnabled

EnabledForInternetAccess

True/False

msRTCSIP-Line

LineURI

The device ID (SIP URI or TEL URI) of the phone the user controls. For example: tel:+142489982. If a user is enabled for Enterprise voice, the E.164 normalized version of the user's phone number.

msRTCSIP-LineServer

LineServerURI

SIP URI of the CSTA-SIP gateway server. For example: sip:pbx@vdomain.com

msRTCSIP-OptionFlags

 

Each option is represented by a set bit. Values are:

Bit 0 set

PublicNetworkEnabled

1 decimal (1 binary)

Bit 4 set

RemoteCallControlTelephonyEnabled

16 decimal (10000 binary)

Bit 6 set

AllowOrganizeMeetingWithAnonymousParticipants

64 decimal (1000000 binary)

Bit 7 set

UCEnabled

128 decimal (10000000 binary)

Bit 8 set

EnabledForEnhancedPresence

256 decimal (100000000 binary)

Bit 9 set

IPPBXSoftPhoneRoutingEnabled

512 decimal (1000000000 binary)

msRTCSIP-PrimaryHomeServer

HomeServerDN

The DN of the pool where user is homed

msRTCSIP-PrimaryUserAddress

PrimaryURI

SIP address of the user

msRTCSIP-UserEnabled

Enabled

True/False

msRTCSIP-UserLocationProfile

LocationProfile

The DN of a location profile object

msRTCSIP-UserPolicy

 

A multi-valued attribute (array) containing a list of DNs of global user policies for the three types of policies. The policy DN is appended to the binary value to indicate the type of policy to which the DN points.

B:8:01000000

MeetingPolicy

B:8:01000000:<DN of meeting policy>

B:8:02000000

UCPolicy

B:8:02000000:<DN of UC policy>

B:8:05000000

PresencePolicy

B:8:05000000:<DN of presence policy>

proxyAddresses

-

When a user is enabled, the user's SIP address should be added to this multi-value attribute. When a user is updated, the SIP address should be updated, and when a user is deleted for Office Communications Server (not deleted in AD DS), the SIP address should be removed.

저작자 표시 비영리 변경 금지
크리에이티브 커먼즈 라이선스
Creative Commons License
올블로그추천버튼 블코추천버튼 블로그뉴스추천버튼 믹시추천버튼 한RSS추가버튼 구글리더기추천버튼


이 포스팅이 도움이 되었다면 구글에서 관련 정보를 찾아 보세요 ^^


Trackback 1 Comment 1

Trackback : http://i-ruru.com/trackback/442 관련글 쓰기

  1. Subject young drivers insurance

    Tracked from young drivers insurance 2012/04/20 16:24 delete

    Ruru's PlayGround :) :: Using WMI to Configure New OCS Users – WMI를 이용한 OCS 사용자 설정

  1. Favicon of http://www.jordans4knicks.org/ BlogIcon Jordan 4 Cavs 2012/05/14 15:32 address edit & del reply

    조던 4 Cavs는 다양한 색상과 차이에서 찾을 수 있으며, 공식 또는 비공식적인 기능 중 젊은이의 다른 attires을 보완하기 위해 취득한 경우가 있습니다. 나이키는 또한 야외 활동 등 다채로운 경험을 선사하여 활기찬 라이프 스타일을 살고 싶은 사람들을 위해 독자적인 범위를 개발했습니다. 심지어 스포츠 활동을 연주하시는 분들이 발을 사고를 최소화에 도움이 될 것입니다 모든 특성을 통합하기 위해 특별히 개발된 신발이 선정 나갈 수있는 이익은 불쾌한 스니커즈의 결과를 일으켰습니다.
    http://www.jordans4knicks.org/