Sun Java System Communications Services 6 2005Q4 Delegated Administrator 指南

Procedure建立您自己的服務套裝軟體

步驟
  1. 複製並重新命名 da.cos.skeleton.ldif 檔案中的一個參數化範本。

    安裝 Delegated Administrator 時,da.cos.skeleton.ldif 檔案安裝在以下目錄中:

    da_base/lib/config-templates

    選擇 da.cos.skeleton.ldif 檔案中以下範本中的其中一個範本,以複製並重新命名:


    standardUserMail
    standardUserCalendar
    standardUserMailCalendar
    standardGroupMail
  2. 在範本副本中編輯以下參數:

    • <ugldapbasedn>

      將根字尾參數 <rootSuffix> 變更為您的根字尾 (如 o=usergroup)。

      <ugldapbasedn> 參數將顯示在 DN 中。

    • <service package name>

      <service package name> 參數變更為您自己的服務套裝軟體名稱。

      <service package name> 參數將顯示在 DN 和 cn 中。

    • 郵件屬性值:


      <mailMsgMaxBlocksValue> 
      <mailQuotaValue> 
      <mailMsgQuotaValue> 
      <mailAllowedServiceAccessValue>

      按照規格編輯這些值。

      例如,您可以為郵件屬性輸入以下值:


      mailMsgMaxBlocks: 400 
      mailQuota: 400000000 
      mailMsgQuota: 5000 
      mailAllowedServiceAccess: imap:ALL$+pop:ALL$+smtp:ALL$+http:ALL
    • 行事曆屬性值:


      <preferredHostValue>
      <dwpHostValue>
      <firstDayValue>

      這些參數代表 icsPreferredHosticsDWPHosticsFirstDay LDAP 屬性的值。

      按照規格編輯這些值。

    如需這些屬性的定義和說明,請參閱「Sun Java System Communications Services Schema Reference」中的「Chapter 3:Messaging Server and Calendar Server Attributes」。

    您必須在自訂的服務類別範本中至少使用一個屬性。您不必在自訂範本中使用全部四個郵件屬性。您可以刪除服務套裝軟體中的一個或多個屬性。

  3. 使用 LDAP 目錄工具 ldapmodify 在目錄中安裝服務套裝軟體。

    例如,您可以執行以下指令:

    ldapmodify -D <directory manager> -w <password> -f <cos.finished.template.ldif>

    其中

    <directory manager> 是 Directory Server 管理員的名稱。

    <password> 是 Directory Service 管理員的密碼。

    <cos.finished.template.ldif> 是要在目錄中做為服務套裝軟體安裝的已編輯 ldif 檔案的名稱。