Sun Java logo     ��һҳ      Ŀ¼      ����      ��һҳ     

Sun logo
Sun Java System Calendar Server 6 2005Q1 ����ָ�� 

�� 2 ��
Ŀ¼׼���ű� (comm_dssetup.pl)

��װ Calendar Server ֮�󣬱������� Calendar Server ����֮ǰ���� Calendar Server����ע�⣬���밴������˳��������}�����ó���

  1. Ŀ¼׼���ű� (comm_dssetup.pl) �� Ŀ¼׼���ű��������� Calendar Server 6 �� Messaging Server 6 �� Directory Server���˽ű�ͨ�������µ� LDAP Schema��������������4׼�� Directory Server��
  2. Calendar Server ���ó��� (csconfigurator.sh) �� Calendar Server ���ó����������� Calendar Server������ 3 �¡�Calendar Server ���ó��� (csconfigurator.sh)������

���½�����Ŀ¼׼���ű�������(�������⣺


ע

����Ѱ�װ�����ڰ汾�� Calendar Server �� Messaging Server���������Ҫ�� LDAP Ŀ¼��Ŀ�� Schema 1 Ǩ�Ƶ� Schema 2��

���Ķa�Sun Java SystemCommunications Services 6 2005Q1 Schema Migration Guide��֮ǰ���������б�������ܵ�����ʵ�ó���Ǩ��ָ�Ͻ�������������ʵ�ó����ʱ��ѡ���ѡ��ɷ������µ�ַ4��ø�Ǩ��ָ�ϣ�

http://docs.sun.com/coll/CalendarServer_05q1 ��
http://docs.sun.com/coll/CalendarServer_05q1_zh



��װĿ¼׼���ű�

�� Java Enterprise System �����ڰ汾�У����ڸ�ʵ�ó����� Messaging Server �� Calendar Server &����һ���������ֱ�װ�����ǣ��� Java Enterprise System 2005Q1 ��ʼ���˽ű���Ϊ���5Ŀɰ�װ���������

Ҫ��װĿ¼׼���ű�����ѡ�����·���֮һ��

��װ֮��Ŀ¼׼���ű�λ������Ŀ¼�У�

Solaris��

/opt/SUNWcomds/sbin

Linux��

/opt/sun/comms/dssetup/sbin

�й��� Calendar Server 6 2005Q1 ����ϸ˵����μ� Sun Java Enterprise System ���Ǩ��ָ�ϡ�


����Ŀ¼׼���ű�֮ǰ

���ڰ�����Ŀ¼׼���ű�֮ǰ��Ҫ�˽����Ϣ������(�������⣺

Ŀ¼׼���ű��Ĺ���

Ŀ¼׼���ű�ͨ�������4�������ã�������ʾ��

  1. �ռ����ʵ�ó���ѡ�������ѡ��
  2. �й���һ������Ҫ����ض���Ϣ���б?��μ���Ҫ�ռ�����Ϣ��

  3. �������ѡ���ѡ����������޸� LDAP Ŀ¼�� shell �ű��� LDIF �ļ������������ Directory Server �IJ��� Sun ��Ʒ�����Ѿ��Զ����� Directory Server�������ڴ�ֹͣ��������� shell �ű����й���ϸ��Ϣ����μ������ Directory Server ע��������
  4. ���и������ѡ���ѡ����� shell �ű���������� LDAP ������Ӧ�޸ġ�

�ڽ���ÿ����ǰ��ʵ�ó����ѯ�����Ƿ�Ҫ������ִ�е���֮ǰ������� LDAP Ŀ¼�����κθ�ġ�

Directory Server ע������

�������й� LDAP Ŀ¼��ע��������б?

��Ҫ�ռ�����Ϣ

Ŀ¼׼���ű��ĵ�һ����Ҫ�й� Directory Server ����Ϣ����ͨ���ռ��� 2-1 ����ʾ����Ϣ4Ϊ����׼������Ϊ������������ٸ���Ϣ����ʹ����¼ A��Ŀ¼���ù��������

�� 2-1 ����Ŀ¼׼���ű��������Ϣ

������Ϣ��

Ĭ��ֵ

Directory Server ��Ŀ¼·����

/var/opt/mps/serverroot

Ҫʹ����һ�� Directory Server ʵ������ж��ʵ��

��

Ŀ¼����Ա�ı�ʶ�� (DN)

"cn=DirectoryManager"

Ŀ¼����Ա������

��

�Ƿ����ڽ� Directory Server �����û�/����ݣ����ǣ����������������ݣ��񣩣�

��

�û�������׺�����ǰһ������Ļش��ǿ϶��ģ�

"o=usergroup"

Schema �汾����ѡ�����°汾֮һ��*
1 �� Schema 1
1.5 �� Schema 2 ����ģʽ
2 �� Schema 2 ����ģʽ

1

���׺�����ʹ�� Schema 1 �� Schema 2 ����ģʽ��**

"o=internet"

�Ƿ����ģʽ�� ***

��

�Ƿ���� Directory Server ������� icsCalendar �� icsCalendarOwned��****

��

*�йظ����Ϣ����μ��й�ģʽѡ����������Ѱ�װ��ij��汾��ģʽ����Ҫ���߼����ģʽ���������д�ʵ�ó���֮ǰ���� Sun Java System Communications Services Schema Migration Guide��

**��� DC ������ڣ���Ŀ¼׼���ű�����ڵ㡣������Լ����� DC ������ಿ�֡�

***���ش��ǿ϶��ģ��������а�ģʽ�ļ��� config Ŀ¼��

****���ش��ǿ϶��ģ���ʹ��û��ȫ��ʹ�� Messaging Server��Calendar Server �� Communications Express��Ŀ¼׼���ű�Ҳ��Ϊ���Ǵ�������

�й�ģʽѡ��

Calendar Server ֧������ģʽѡ�

�������Ȼ�޷���ʹ���ĸ�ģʽ����μ� Sun Java Enterprise System ���������Sun Java Enterprise System ��װָ�Ϻ� Sun Java System Communications Services Schema Migration Guide���Ի�ȡ��ϸ˵��

�� 2-2 �г��˼򻯵�ԭ����Щԭ���ܽ��Ϊ��ͬ�İ�װѡ��ͬģʽ�汾��ԭ��

�� 2-2 ȷ��Ҫʹ�õ�ģʽ

����

ʹ�ô�ģʽ

�����״ΰ�װ Calendar Server������û�а�װ��ǰ�汾�� Messaging Server��

Schema 2 ����ģʽ

��ƻ��� Calendar Server ������ Java Enterprise System ��Ʒ������ Sun Java System Portal Server�����ɡ�

Schema 2 ����ģʽ�����ģʽ

��ƻ�ʹ�� Sun Java System Access Manager 4�ṩ�����¼ (SSO) ���ܡ�

Schema 2 ����ģʽ�����ģʽ

��Ҫ�� Calendar Server 5.x ���� Calendar Server 6 2005Q1����Ҫ������ Java Enterprise System ��Ʒ���ɡ�

Schema 2 ����ģʽ�����ģʽ

��ϣ����ǰ��}�� DIT ϵͳ��ԭ���Ǵ�����5�ڸ� LDAP �ṹ������Ӧ�ó��򣬲�������Ҫʹ�� Access Manager 4ʵ�� SSO����֤�����ܡ�

Schema 1

Access Manager ע������

�������ʹ�� Schema 2��������Ѱ�װ������ Access Manager��


ע

����ʹ�� Access Manager ����̨4�����û����й���ι����û�����Ϣ����μ��� 14 �¡������û�����Դ����


��������

������������������㷨�����ܡ�ʹ�ýű�����Ϊ���Դ������������ѡ����������ű�������Ϊ Calendar Server ����������Ϊ Messaging Server �� Communications Express ���������ˣ�Ϊij���Ʒ��������󣬾�����Ϊ�����Ʒ���´�������ʵ���ϣ������Ϊ��ͬ�������ٴδ��������򲻻�����κα仯��Ϊÿ�����Դ�������ʱ��ֻ�����������в�����ʱ�ű��Ż�Ϊ����� db2index��

�� 2-3 �г���Ŀ¼׼���ű�Ϊ�䴴��������������ԣ���Щ���԰���׺�������顣�ñ?�г���Ϊÿ�����Դ�������������͡��й� Directory Server ��������ĸ����Ϣ������ʣ�

http://docs.sun.com/coll/CalendarServer_05q1 ��
http://docs.sun.com/coll/CalendarServer_05q1_zh

�� 2-3 ��Ŀ¼׼���ű������������������ 

��׺

Ϊ�䴴�����������

��ӵ���������

�û�/��

mail

pres,eq,approx,sub

 

mailAlternateAddress

pres,eq,approx,sub

 

mailEquivalentAddress

pres,eq,approx,sub

 

member

eq

 

cosspecifier

pres

 

 

 

�û�/�������� Access Manager-Schema 2��

inetDomainBaseDN

pres,eq

 

sunPreferredDomain

pres,eq

 

associatedDomain

pres,eq

 

o

pres,eq

 

sunOrganizationAlias

pres,eq

 

 

 

DC ���������� Schema 1��

inetDomainBaseDN

pres,eq

 

inetCanonicalDomainName

pres,eq

 

 

 

����ͨѶ¼ (PAB)

memberOfManagedGroup

pres,eq

 

memberOfPAB

pres,eq

 

memberOfPABGroup

pres,eq

 

un

eq

 

icsCalendar

pres,eq,approx,sub

 

icsCalenarOwned

pres,eq,approx,sub

 

 

 

�� PAB

displayname

pres,eq,sub

 

MemberOfPiBook

eq

 

MemberofPiGroup

eq

�����ҪΪ���������Ӹ����������� Directory Server �ĵ����й���������˵��

/docs/cd/E19263-01/817-5221/indexing.html


����Ŀ¼׼���ű�

���ڰ��������⣺

����Ŀ¼׼���ű�

  1. �ڰ�װ�� Directory Server �ķ������ϣ��Գ����û���root �û�����ݵ�¼���Ϊ�����û���root �û�����
  2. ���б�Ҫ������ Directory Server��
  3. ת�� /opt/SUNWcomds/sbin Ŀ¼��
  4. ���ߣ������� /opt/SUNWcomds/lib �л�� .zip �ļ��������Ҫ����

  5. ������ʾģʽ�»򽻻�ʽģʽ������Ŀ¼׼���ű����й���ϸ���裬��μ�������ʾģʽ���������ڽ���ʽģʽ��������
  6. Ҫ���иýű�����ʹ�� Perl �汾���ð汾����ʹ�� Java Enterprise System ��װ����ʱ��Ϊ��������Զ���װ�ġ���װ Perl �汾�󣬸ð汾����������Ŀ¼�У�

    ds_svr_base/bin/slapd/admin/bin/perl

������ʾģʽ������

Ҫ������ʾģʽ������Ŀ¼׼���ű�����ʹ�� perl �������������һϵ��ѡ�ͬʱ��ѭ����ʾ�� 2-1 ����ʾ���﷨����Ҫʹ�����е�ѡ������� 2-4 ��������Щѡ�

ʵ�ó��򽫴������� LDIF �ļ��� shell �ű��Ը��� LDAP Ŀ¼�����ģʽ��

/var/tmp/dssetup_timestamp.ldif
/var/tmp/dssetup_
timestamp.sh

�������ݵ�ѡ��ֵ��ʵ�ó���ȷ����ͨ��ִ���½ű�4������� Directory Server ���Dz����¡������ѡ����ֹͣ���£������Ժ�ʵ�����и���ʱ���������ȼ��ýű����ɰ�����Ҫ�����κ��޸ġ�

����ʾ�� 2-1 ����ѡ��� comm_dssetup.pl ���﷨

perl comm_dssetup.pl

    -i yes|no

    -R yes|no

    -c DirectoryServerRoot

    -d DirectoryInstance

    -r DCTreeSuffix

    -u UserGroupSuffix

    -s yes|no

    -D "DirectoryManagerDN"

    -w DirectoryManagerPassword

    -b yes|no -t 1|1.5|2

    -m yes|no

    [ -S PathtoSchemaFiles ]

�� 2-4 Ŀ¼׼���ű� (comm_dssetup.pl) ѡ�� 

ѡ��ͱ�

˵��

-i yes|no

���ڻش����⣺“�Ƿ�Ҫ����������”

yes�� ����µ� Directory Server ����Ŀ¼׼���ű���Ϊ icsCalendar �� icsCalendarOwned �����������

no �� ���������

-R yes|no

���ڻش����⣺“�Ƿ�Ҫb�����´�������”Ҫʹ��ѡ����Ч��-m ѡ��Ҳ����Ϊ "yes"��

-c DirectoryServerRoot

Directory Server ��Ŀ¼��
���磺 /var/opt/mps/ldap

-d DirectoryInstance

Directory Server ʵ�����Ŀ¼��
���磺slapd-varrius

-r DCTreeSuffix

DC ��ĸ��׺������������ Schema 1 ����ģʽ�� Schema 2 ����ģʽ��

���磺 dc=varrius,dc=sesta,dc=com

-u UserGroupSuffix

�û�����ĸ��׺�����磺dc:west,dc=sesta,dc=com

-s yes|no

���ڻش����⣺“�Ƿ�Ҫ����ģʽ��”

yes �� ����ģʽ��������а�ģʽ�ļ��� config Ŀ¼��

no �� ������ģʽ��

-D DirectoryManagerDN

Ŀ¼����Ա�ı�ʶ�� (DN)��������˫��� (") (סֵ����ʹĿ¼׼���ű�������ȷ�ؽ��ʹ��пո��ֵ��

���磺"cn=Directory Manager"

-w DirectoryManagerPassword

Ŀ¼����Ա DN ���롣

-b yes|no

���ڻش����⣺“����Ŀ¼�����������û�������”

yes �� ��Ŀ¼���ڴ洢���ú��û�����ݡ�

no �� ��Ŀ¼�����ڴ洢������ݡ�

-t 1|1.5|2

Schema �汾��

  • 1 �� Sun LDAP Schema 1
  • 1.5 �� Sun LDAP Schema 2 ����ģʽ
  • 2 �� Sun LDAP Schema 2 ����ģʽ

-m yes|no

���ڻش����⣺“�Ƿ�Ҫ�޸�Ŀ¼������”

yes �� �޸� Directory Server������ʾ�û���

no �� ���޸� Directory Server������ʾ�û���

-S PathtoSchemaFiles

ģʽ�ļ�����Ŀ¼��·�������磺./schema

�ڽ���ʽģʽ������

Ҫ�ڽ���ʽģʽ������Ŀ¼׼���ű����������в����κβ���Ľű���Ȼ��������ش���������Ĵ𰸡�

���´������ֱ�ŵĸ���ṩ���й����ʹ�ý���ʽģʽ�ű��ĸ�����˵��

  1. ��ӭ�ͼ�����
  2. # cd /opt/SUNWcomds/sbin

    # ./comm_dssetup.pl

     

    Welcome to the Directory Server preparation tool for Sun Java System communications services.

    (Version 6.3 Revision 0.1)

    This tool prepares your directory server for use by the

    communications services which include Messaging, Calendar and their components.

    The logfile is /var/tmp/dssetup_YYYYMMDDHHSS

    Do you want to continue [y]:

    �� Enter �������߼��� no��Ȼ�� Enter ���˳�

  3. Directory Server ��װ��Ŀ¼���

    Please enter the full path to the directory where the Sun Java System

    Directory Server was installed. Directory server root [/var/opt/mps/serverroot]

  4. ��ָ�� Directory Server �İ�װ��Ŀ¼��λ�ã����߰� Enter �����Ĭ�����á�

  5. Directory Server ʵ�����
  6. ���˼�������ж�� Directory Server ʵ��������г���Щʵ��Ҫ����ѡ������֮һ��

    Please select a directory server instance from the following list:

    [1] slapd-varrius

    Which instance do you want [1]:

    ������ѡ���Ӧ�ı�ţ�Ȼ�� Enter ����߲�������ֱ�Ӱ� Enter �����Ĭ�����á�

  7. Ŀ¼����Ա�ı�ʶ�� (DN) ���
  8. �����ֳ�}���֣����� Directory Manager DN ������ Directory Manager ���롣

    1. ���ȣ��ű���Ҫ�������� Directory Manager �ı�ʶ�� (DN)��

      Please enter the directory manager DN [cn=Directory Manager]:

    2. Ŀ¼����Ա DN��Ĭ��ֵΪ cn=Directory Manager����ָ���������֯���е��û�������ݵĹ���Ա����ȷ�����ڴ˽ű���ָ���� Directory Manager DN ����Ϊ Directory Server ��װ�� Calendar Server �������õ� DN ��ͬ��

      ���� Directory Manager DN�����߰� Enter �����Ĭ�����á�

    3. Ȼ�󣬽ű���Ҫ�������� Directory Manager �����롣
    4. Password:

      ���� Directory Manager ���벢�� Enter ��

      ���򽫲鿴 Directory Server �Ƿ��������в���������˿� 389��Ĭ�϶˿ڣ���

      ���ɹ�������ʾ��⵽�İ汾��������ʾ����ʾ��

      Detected DS version 5.2

      ���ɹ�������֪ͨ�����޷���⵽�������л���������˿� 389 �� Directory Server������ָ����������⣬Ȼ��������������ȥ���ű��˳�����ʾ����ʾ�˸����

      Directory Server not running or not listening to port 389.

       

      Detected DS version 0.0

      Please correct the problem and re-run this script.

  9. �û����� Directory Server ���

    Will this directory server be used for users/groups [Yes]:

  10. ����Ŀ¼ʵ������ڴ洢������ݣ������� No�����߰� Enter �����Ĭ�����á�

    ������� No���򻹱�����Դ洢�û�������ݵ�Ŀ¼ʵ�����д˽ű����������������ó��� csconigurator.sh ֮ǰִ�иò����

    ���ش� Yes�������Ϊ��֯��ָ���û�����Ļ��׺��

  11. �û�����Ļ��׺���

    Please enter the Users/Groups base suffix [o=usergroup]:

  12. �û�����Ļ��׺�� LDAP ��֯���еĶ�����Ŀ����ȷ�����ڴ�ѡ��ĺ�׺����Ϊ Directory Server��Calendar Server �� Access Manager ָ���ĺ�׺��ͬ��

  13. ģʽ�������

    There are 3 possible schema types:

    1 �� schema 1 for systems with Calendar or Messaging 5.x data

    1.5 ��schema 2 compatibility for systems with Calendar or Messaging 5.x data that has been converted with the Schema Migration Utility commdirmig

    2 �� schema 2 native for systems using Access Manager

    Please enter the Schema Type (1, 1.5, 2) [1]:

  14. ����ģʽ���ͣ����߰� Enter �����Ĭ�����á�


    ע

    Ҫʹ�� Schema 2��ѡ�� 1.5 �� 2��������밲װ������ Access Manager������Directory ׼���ű�����ֹ�������Ȱ�װ Access Manager��Ȼ������������Ŀ¼׼���ű���


  15. ����� (DC) ��Ļ��׺���
  16. �����ѡ���� Schema 1 �� Schema 2 ����ģʽ��ϵͳ��Ҫ�����ṩ DC ��Ļ��׺�������ѡ���� Schema 2 ����ģʽ��ϵͳ������ѯ�ʴ����⡣

    Please enter the DC Tree base suffix [o=internet]:

    ������ 7 �У������ѡ���� Schema 1 �� Schema 2 ����ģʽ��ϵͳ��Ҫ�����ṩ DC ��Ļ��׺�������ѡ���� Schema 2 ����ģʽ��ϵͳ������ѯ�ʴ����⡣

    DC ���񱾵� DNS �ṹ��ϵͳ����������û����������Ŀ����֯�������DC ��Ļ��׺�� DC ���ж�����Ŀ����ơ�

    �����׺�����߰� Enter �����Ĭ�����á�

  17. ϵ���������
  18. ����彫ѯ�����йض� LDAP �ĸ��µ�һϵ�����⡣

    1. ����ģʽ�ļ�
    2. ��ʱ�����򽫲鿴ģʽ�Ƿ������ȷ��ģʽԪ�ء����ģʽȱ��ijЩԪ�أ�������ʾ������Ϣ��

      Detected bad schema elements in 99user.ldif. It is recommended that you update the schema.

       

      Do you want to update the schema files [yes]:

      �ش� Yes ��������Ԫ����ӵ�ģʽ�С�ÿ�ΰ�װ�°�� Calendar Server �� Messaging Server ʱ����Ҫʹ���µ�ģʽ�ļ����¸�Ŀ¼��

      ���Ҫ�ӳٸ���ģʽ�ļ�����ش� No��

    3. ����������
    4. �������һ����ѡ���˸���ģʽ��ϵͳ��ѯ�����Ƿ�Ҫ�����������й�Ϊ���Դ�������ĸ����Ϣ����μ�����������

      Do you want to configure new indexes [yes]:

      Ҫ��׼����Ĵ������밴 Enter ��

      �������Ϊͬһ����ִ�й�˴��������裬��ش� no��

    5. b�����´�������
    6. �����ѡ��b����������Ҳ�����Ժ��ٴ����������ѡ���Ƴٴ�������������ڷ���ʱ�����Ѵ򿪴��������ܵĽű����������������Ҫ�ܳ���ʱ�䣬���Կ���ʹ�� Directory Server��Ҳ����˵��������ʱ��Directory Server ���������ֻ��ģʽ��

      Reindex now [yes]?

      ���Ҫ�Ժ󴴽�������ش� no�������밴 Enter �����Ĭ�����á�

  19. ����ժҪ���
  20. ��Ŀ¼׼���ű����� Directory Server ����֮ǰ������ʾ����ժҪ��Ȼ��ѯ�����Ƿ�Ҫ����

    Here is a summary of the settings that you chose:

    Server Root                        : /var/opt/mps/serverroot/

    Server Instance                          : slapd-varrius

    Users/Groups Directory                       : ��

    Update Schema                            : ��

    Schema Type                            : 1

    DC Root                      : o=internet

    User/Group Root                      : dc=red,dc=sesta,dc=com

    Add New Indexes                       : ��

      Reindex New Indexes Now                  : ��

      Directory Manager DN          : cn=Directory Manager

     

    Now ready to generate a shell script and ldif file to modify the Directory.

    No changes to the Directory Server will be made this time.

    Do you want to continue [Y]:


    ����������� 7 ��ѡ���� Schema 2 ����ģʽ���� DC Root ��ֵ������Ϊ�û�/�� Root �����ֵ��ͬ��

    Ҫ����κ����ã������� no��Ȼ���������нű���

    ���Ҫ�����밴 Enter ��Ŀ¼׼���ű������ LDIF �ļ��� shell �ű�������ļ������������ʾ��

    /var/tmp/dssetup_timestamp.ldif
    /var/tmp/dssetup_timestamp.sh


    ���ѡ������ῴ���������ж���ʾ����Ϣ������Ϊ��ῴ��������ʾ��

    Generating files...

     

    Checking to see if Suffixes need to be added

     

    Checking to see that uid uniqueness plugins are turned off

     

    Adding indexes

    Adding Indexes for User/group Tree (backend:userRoot)

    Checking indexes for member

    No new indexes required

    Checking indexes for mailAlternateAddress

    No new indexes required

    Checking indexes for mail

    No new indexes required

    Checking indexes for mailEquivalentAddress

    No new indexes required

    Checking indexes for cosspecifier

    No new indexes required

    Adding Indexes for DC Tree (backend:internetdb2)

    Checking indexes for inetCanonicalDomainName

    No new indexes required

    Checking indexes for inetDomainBaseDN

    No new indexes required

    Adding Indexes for PAB Tree (backend:pabdb2)

    Checking indexes for memberOfPAB

    No new indexes required

    Checking indexes for icsCalendar

    No new indexes required

    Checking indexes for un

    No new indexes required

    Checking indexes for memberOfPABGroup

    No new indexes required

    Checking indexes for icsCalendarOwned

    No new indexes required

    Checking indexes for memberOfManagedGroup

    No new indexes required

    Adding Indexes for New PAB Tree (backend:PiServerDbdb2)

    Checking indexes for MemberOfPiBook

    No new indexes required

    Checking indexes for MemberofPiGroup

    No new indexes required

    Checking indexes for displayname

    No new indexes required

     

    Checking to see if DN needs to be created for suffixes

    (Continuation of the text generated by the script)

    Generating ldif for installer metadata

    Generating ldif for Adding schema for installer metadata

    Generating ldif for updating DN for cn=CommServers,o=comms-config

    The following files have been created:

    /var/tmp/dssetup_20041209114027.sh

    /var/tmp/dssetup_20041209114027.ldif

     

    Running /var/tmp/dssetup_20041209114027.sh will make changes to the Directory

    You can run this file now or at a later time

    Ready to execute the script now.

  21. ���нű�
  22. Do you want to continue [yes]:

    �밴 Enter �����Ĭ������ (yes)��dssetup_timestamp.sh �ű������ LDAP Ŀ¼���С������b�����иýű��������� No �˳�����˳�������Ժ����� /var/tmp/dssetup_timestamp.sh �ű���

    ����Ϊ���нű�ʱ��ɵ��ı�����ʾ��

    Running /var/tmp/dssetup_20041209114027.sh -D "cn=Directory Manager" -j /var/tmp/dssetup_20041209114027.pw

    Stopping Directory Server

    Updating Schema files...

    Copying 20subscriber.ldif

    Copying 50ns-delegated-admin.ldif

    Copying 50ns-mail.ldif

    Copying 50ns-mlm.ldif

    Copying 50ns-msg.ldif

    Copying 50ns-value.ldif

    Copying 55ims-ical.ldif

    Copying 56ims-schema.ldif

    Copying 70sun-schema2.ldif

    Copying 71sun-am.ldif

    Copying 60iplanet-calendar.ldif

    Copying 50ns-iabs.ldif

    Copying 98ns-dummy-uwc.ldif

    Copying 70delgated-admin.ldif

    Copying /var/tmp/99user_20041209114027.ldif to /var/opt/mps/serverroot/slapd-varrius/config/schema/99user.ldif

    Starting Directory Server

    Applying ldif file /var/tmp/dssetup_20041209114027.ldif

    modifying entry cn=schema

     

    modifying entry cn=schema

     

    modifying entry cn=CommServers,o=comms-config

     

    Done Applying ldif file /var/tmp/dssetup_20041209114027.ldif

    rejects to /var/tmp/dssetup_20041209114027.ldif.rej status = 0

    Successful Completion. Consult /var/tmp/dssetup_20041209114027.log for details


�ֶ�����ģʽ�ļ�

������ijЩ���ɣ�����������Ŀ¼׼���ű���ɵĽű��������ʹ�����µ�ָ��4�ֶ����� Sun Java System Directory Server ��ģʽ�ļ���


ע

������ֶ������� LDAP Ŀ¼ģʽ�����Ժ����� Calendar Server ʱ�������ٴ��ֶ����� LDAP ������ģʽ����ǰ�����ֶ����µ� Calendar Server �����Զ�����ģʽ��


Ҫ�ֶ����� LDAP Ŀ¼����ִ�����²��裺

  1. ��װ Calendar Server 6 2005Q1��
  2. ֹͣ Calendar Server������������У���
  3. ֹͣ Directory Server������������У���
  4. �� 60iplanet-calendar.ldif �ļ����Ƶ����� Directory Server �ļ���������Ŀ¼�У�
  5. Directory Server ��Ŀ¼/slapd-�����/config/schema

    ���� Directory Server ��Ŀ¼�� Directory Server �İ�װĿ¼������������ڱ�ʶ�����

  6. ���Ҫ�����ó�������Ϊ���Դ����������ʱ�����������й����ó��򴴽���������Ե��б?��μ�����������
  7. ������ Directory Server������յ������ʶ�� (OID) ������μ���� LDAP Schema Ŀ¼�г�ͻ�� OID��
  8. ͨ������ csconfiguration.sh �������� Calendar Server��
  9. �й����� Calendar Server ��˵����μ��� 3 �¡�Calendar Server ���ó��� (csconfigurator.sh)����


��� LDAP Schema Ŀ¼�г�ͻ�� OID

��� LDAP Schema Ŀ¼�а��ͻ�� OID���� Directory Server ���޷�ȷ��Ҫʹ�õ� OID���������ش�����Ϣ�����磬������Ϣ��ʾ icsCalendarUser �������д��ڳ�ͻ�� OID��

[24/Apr/2004:23:45:28 -0700] dse - �ļ� 99user.ldif �е� cn=schema ����Ч��������� 20���������ͻ�ֵ��- ������ icscalendaruser:����� OID ��ƥ�䡣����ƻ� OID �ѱ����������ʹ�á�

[24/Apr/2004:23:45:28 -0700] dse - ��༭���ļ��Ը����������⣬Ȼ�������������

���װ�� Calendar Server 6 2005Q1�����һ���װ�˶�̬���� LDAP ������ģʽ 99user.ldif �ļ��� Calendar Server �����ڰ汾�����ܻ���ִ����⡣

Ҫ����ͻ�� OID������༭ 99user.ldif �ļ���ɾ����ǰ�� OID������ Calendar Server 6 2005Q1���� 2-5 ��ʾ���������Щ������ض� OID��

�� 2-5 LDAP Schem Ŀ¼�е� Calendar Server OID

������

��ǰ�� OID

�µ� OID

icsCalendarUser

2.16.840.1.113730.3.2.141

1.3.6.1.4.1.42.2.27.9.2.44

icsCalendarResource

2.16.840.1.113730.3.2.143

1.3.6.1.4.1.42.2.27.9.2.45

icsCalendarDomain

2.16.840.1.113730.3.2.144

1.3.6.1.4.1.42.2.27.9.2.4

��ɶ� 99user.ldif �ļ��ı༭�������� Directory Server��



��һҳ      Ŀ¼      ����      ��һҳ     


�ļ����룺819-1478����Ȩ���� 2005 Sun Microsystems, Inc. ��������Ȩ��