僅當您要從 Communications Services 6 2005Q4 Delegated Administrator 升級至 Delegated Administrator 6.4 (目前發行版本),並且已在之前的發行版本 (6 2005Q4) 中建立自訂服務套裝軟體時,才需要參閱本小節。
在 Delegated Administrator 6.4 中,服務套裝軟體範本所在的目錄中節點與之前 (6 2005Q4) 發行版本不同。
執行 Delegated Administrator 配置程式時,之前透過 Delegated Administrator 配置程式安裝的服務類別範本範例會自動升級。(在配置程式中,應選取 [服務套裝軟體和組織範例] 面板中的 [載入服務套裝軟體範例]。)
如果您僅使用範本範例將服務套裝軟體指定給使用者和群組,則無需任何動作。
配置程式不會升級在 6 2005Q4 發行版本中建立的自訂服務套裝軟體。您必須手動升級自訂服務套裝軟體。
如需有關如何建立自訂服務套裝軟體的資訊,請參閱建立您自己的服務套裝軟體。
針對 LDAP 目錄執行以下作業:
從下列目錄節點複製您的服務套裝軟體範本:
o=cosTemplates,o=rootsuffix |
至此目錄節點:
o=service_target,o=cosTemplates,o=rootsuffix |
其中 service_target 為以下其中之一:
mailuser calendaruser mailcalendaruser mailgroup |
例如,如果服務套裝軟體範本稱為 myservicepackage ,並向使用者提供郵件服務,則服務套裝軟體範本的新 dn 將會是:
o=myservicepackage,o=mailuser,o=cosTemplates,o=rootsuffix |
從原始目錄節點移除服務套裝軟體範本的項目:
o=cosTemplates,o=rootsuffix |
透過將下行增加至定義服務套裝軟體的 ldif 檔案,來編輯每個自訂服務套裝軟體:
daServiceType: service type target
如果您的 ldif 檔案包含 daServiceType 屬性,則可以跳過此步驟。
daServiceType 屬性可定義服務套裝軟體所提供的服務類型以及服務套裝軟體的目標。
service 可以是 mail 或 calendar。
target 可以是 users 或 groups。
例如:
daServiceType: mail user |
以下範例顯示了已編輯的 ldif 檔案:
dn: cn=myservicepackage,o=mailuser,o=cosTemplates,o=mycompanysuffix changetype: modify replace: daServiceType daServiceType: mail user |
例如,您可以執行以下指令:
ldapmodify -D <directory manager> -w <password> -f myservicepackagemodldif
其中,
<directory manager> 是 Directory Server 管理員的名稱。
<password> 是 Directory Service 管理員的密碼。
myservicepackagemodldif 為 ldif 檔案的名稱,其中包含之前步驟中描述的修改。