smileNewfreedom

블로그 이미지
freedom 모든 자유와 시간을 위해.....
by 다크포스
01-22 13:50
  • 680,496Total hit
  • 2Today hit
  • 0Yesterday hit

CALENDAR

«   2022/01   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

AD 구성사항
1. AD에서 사용자를 추가해준다.
2 . 사용자 정보에 email과 전화번호를 적어준다.

Enable existing user for Communications Server

Windows 2003 Server 64bit 서버에서 사용자 AD User를 OCS 사용자로 활성화 시켜주는 script

<<EnableUsers.vbs>>
================================================================================================================
Set objUser = GetObject("LDAP://cn=dark,ou=OCS2007Users,dc=espresso,dc=com")

WScript.Echo "Enabling user '" & UCase(objUser.get("samAccountName")) & "' for Communications Server..."
strPrimaryUserAddress = "sip:" & objUser.get("mail")
WScript.Echo "Setting sip URI to '" & UCase(strPrimaryUserAddress) & "'"
bFederationEnabled = False
WScript.Echo "Federation enabled: " & CStr(bFederationEnabled)
nArchivingEnabled = 0
WScript.Echo "Archiving enabled: " & nArchivingEnabled
bInternetAccessEnabled = False
WScript.Echo "Remote user access enabled: " & CStr(bInternetAccessEnabled)
strLine = "tel:+3170778" & objUser.get("telephoneNumber") & ";ext=" & objUser.get("telephoneNumber")
WScript.Echo "Line URI: " & strLine


' The msRTCSIP-OptionFlags attribute specifies the different options that are enabled For
' the user. It's a bit-mask value of type integer. Each option is represented by a bit.
' Valid value types are:
' 1: Enabled for public IM connectivity
' 2: Reserved
' 4: Reserved
' 8: Reserved
' 16: RCC (Remote Call Control) enabled [telephony]
' 64: AllowOrganizeMeetingWithAnonymousParticipants
' 128: UCEnabled (enable user for unified communications)
' 256: EnabledForEnhancedPresence
' 512: RemoteCallControlDualMode
' 1024: Enable auto-attendant
' Example: 449 = 256 (Enhanced presence) + 128 (UC enabled) + 64 (anonym. participants) + 1 (public IM)
nOptionFlags = 256
WScript.Echo "user option flags: " & nOptionFlags & " (=EnabledForEnhancedPresence)"

strPrimaryHomeServer = "CN=LC Services,CN=Microsoft,CN=OCS2007CA, CN=RTC Service,CN=Microsoft,CN=System,DC=espresso,DC=com"
WScript.Echo "user will be homed on " & strPrimaryHomeServer

If MsgBox("Continue?", 4) <> 6 Then
        WSCript.quit
End If

WScript.Echo "YES clicked, setting Active Directory properties..."
objUser.put "msRTCSIP-PrimaryUserAddress", strPrimaryUserAddress
objUser.put "msRTCSIP-FederationEnabled", bFederationEnabled
objUser.put "msRTCSIP-ArchivingEnabled", nArchivingEnabled
objUser.put "msRTCSIP-InternetAccessEnabled", bInternetAccessEnabled
objUser.put "msRTCSIP-Line", strLine
'objUser.put "msRTCSIP-LineServer
'objUser.put "msRTCSIP-UserExtension
'objUser.put "msRTCSIP-UserPolicy
objUser.put "msRTCSIP-OptionFlags", nOptionFlags
'objUser.put "msRTCSIP-OriginatorSid
objUser.put "msRTCSIP-PrimaryHomeServer", strPrimaryHomeServer
'objUser.put "msRTCSIP-TargetHomeServer

objUser.put "msRTCSIP-UserEnabled", True
objUser.setinfo

'.NET > OCS' 카테고리의 다른 글

Microsoft Office Communicator 2007의 10가지 이점  (0) 2008.01.22
Microsoft Office Communicator 2007의 10가지 이점  (1) 2007.11.23
OCS 새로운 기능  (1) 2007.11.22
OCS 관련 기술 문서  (0) 2007.11.22
OCS 설치시 AD 사용자 활성화(Windows 2003 64bit)  (2) 2007.11.20
OCS 2007  (0) 2007.11.20
TRACKBACK 0 AND COMMENT 2
  1. Favicon of http://hotwomens-2008.com/hot/deep-creek-realty BlogIcon deep creek realty 2008.03.13 05:58 address edit/delete reply

    나의 친구는 너의 위치의 현재 팬이 되었다!

  2. Favicon of http://vidscafe.net/czn/escort-vip-london BlogIcon escort vip london 2008.05.23 05:24 address edit/delete reply

    유용한 정보. 좋은 디자인.





ARTICLE CATEGORY

분류 전체보기 (534)
멋진 사진들 (8)
배경화면들 (3)
.NET (112)
연애이슈 (65)
게임관련 (15)
경제 이슈 (60)
모델 (0)
사진(취미) (14)
노래 (8)
호주워킹홀리데이 (11)
Javascript (2)
Ajax (4)
스포츠 (74)
우주/과학/생활 (95)
Windows 2008 (19)
Silverlight (2)
여행 (6)
MS 자격증 (2)
해외이슈 (4)
IT정보 (16)
Server (5)
애니매이션 (9)