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

Sun logo
Sun Java System Instant Messaging 6 2004Q2 ����ָ�� 

��2��
���� Instant Messaging ������Ͷ�·������

����˵����ι��� Instant Messaging ������Ͷ�·������ִ��������������������ò���͹��������û�Ȩ�ޡ����»��г� Sun Java System Portal Server ����Ĺ�������

���°����¼��ڣ��ֱ������ Instant Messaging �еĸ��ֹ�������


���������û�

Instant Messaging �еĹ�����������һ�������г���ҽ��ڱ���ʣ��ƪ���н���������ע���ñ��͹��������û��ķ������⽫�ں�����½������ۡ�

Instant Messaging ���ṩ�û��ñ����ߡ�����Ҫʹ��Ŀ¼�ñ�����4�ñ� Instant Messaging �����û���Instant Messaging ���ṩ��ӡ��޸Ļ�ɾ�� Instant Messaging �����û��ľ������

���ڽ� LDAP ������һ��������ֹ�����û�ʹ�� Instant Messenger���ڽ� LDAP �����У���ֹ�����û�ʹ�� Instant Messaging ��Ψһ�����Ǵ�Ŀ¼��ɾ�����ǡ���ʹ�ò������Ե� Identity �����У��������ֹ�����û����� Sun Java System Instant Messenger��

����Ա����ʹ�á�Instant Messaging ����Ա���ʿ��ơ�����4���� Instant Messaging �����û����йء�Instant Messaging ����Ա���ʿ��ơ�����ϸ��Ϣ������������ԡ���ȫ�Ժ�վ����Ը������� Identity �����У�Identity Server �����ñ� Instant Messaging �����û����й���ϸ��Ϣ������� Sun Java System Instant Messaging Deployment Planning Guide��


����

�����༭��sysWatch.acl �ļ���ʹ�����û���Ȩ�����������û���b���ӣ�Instant Messenger ��ڲ������Щ�����û���ʾ������Ϳ���Ч����ֹ�����û�ʹ���޷����ͼ�ʱ��Ϣ�����ǣ������û���Ȼ�ܹ��鿴����������Ƶ�!�



ֹͣ���������Ͷ�·�������� Unix �У�

ʹ�� imadmin ������ԣ�

imadmin ������ʵ�ó��������ض��������û�ִ�У����û����� Instant Messaging ������Ͷ�·����������ʱ����ϵͳ�Ĺ���Ȩ�ޡ��������û�ͨ���Ƿ���������б�ʶ�����ڰ�װ�ڼ�ָ����

imadmin ������ʵ�ó���λ������Ŀ¼�У�

�� Instant Messaging �������ʹ Sun Java System Instant Messenger l�ӵ����С�ֹͣ Instant Messaging ��������ֹ����l�Ӳ��Ͽ������� Instant Messenger ֮���l�ӡ�

�����Ҫ������Էֱ����ֹͣ��·������ʵ�����磬������Ѿ���Ľ�Ӱ���·����������ò������ֻ����·������װ�ڲ�ͬ����ϣ��Ϳ��Էֱ����ֹͣ��·������ʵ��

�� Instant Messaging ������Ͷ�·������

���ڸ�ʵ�����ý�ָ�����õ������ֻ���ö�·������ֻ���÷������}�߾����á�

ʹ�� imadmin �����������õ������ Instant Messaging ��/���·������

imadmin start

��������Ͷ�·������������ã������������� Instant Messaging ������Ȼ�����·������

ֹͣ Instant Messaging ������Ͷ�·������

ʹ�� imadmin ����ֹͣ Instant Messaging �������/���·��������ȡ���������õ������

imadmin stop

�����ֹͣ������Ͷ�·��������ֹ���������û�l�ӣ����Ͽ����õ�������վ�ͳ�վ�������l�ӡ�

ˢ�����ã�Instant Messaging ������Ͷ�·������

ʹ�ø��� refresh ����� imadmin ����ˢ�·������/���·���������ã���������ʾ��

imadmin refresh

�������ֹͣ�����������õķ������/���·�����������


ע��

���ۺ�ʱ�� iim.conf �ļ��и�����ò��������ˢ�����á�


���б�Ҫ�������ֻ�Զ�·������ִ��ֹͣ�����ˢ�²����ֻ�Է�����ִ����Щ�����ؿ��������������õ������Ϊ�ˣ����� imadmin ������ʹ�� multiplexor �� server ����

���ֹͣ Instant Messaging ������Ͷ�·��������� Windows��

�� Windows �У���ӡ�������塱�򿪡����񡱶Ի��������ֹͣ Instant Messaging ������Ͷ�·�������й����ֹͣ�������ϸ˵��������� Windows ����ϵͳ�ṩ���ĵ���


��� Instant Messaging ������Ͷ�·���������ò���

Instant Messaging �����ò���洢�� iim.conf �ļ��С��й����ò���������б?����� Instant Messaging ���ò�����

Ҫ������ò������ֶ��༭ iim.conf �ļ��е����ò�����ֵ��Ȼ��ˢ�� Instant Messaging ���������á�����Ķ�·�����������ֻ��ʹ������ imadmin ����ˢ�¶�·������

imadmin refresh multiplexor

�������

�йز�����ֵ�������б?����� Instant Messaging ���ò�����

�������

  1. �л��� config Ŀ¼�����磬�� Solaris �ϣ����룺
  2. cd /etc/opt/SUNWiim/default/config

  3. �༭ iim.conf �ļ������磺
  4. vi iim.conf

  5. �����ġ�
  6. ˢ�����á�

  7. ����

    ����Ķ�·����������˿� (iim_mux.listenport) ���·�������������Ӧ�ظ��� im.html �� im.jnlp �ļ�������ʹ Sun Java System Instant Messenger �޷�l�ӵ��������й���ϸ��Ϣ����������� Instant Messenger �еIJ��֡�



�����¼

Instant Messaging �ᴴ����־�ļ������Լ�¼�¼������������������״̬��ϵͳ���󼰷�����Ͷ�·����������������⡣ͨ��鿴��־�ļ�������ԴӶ����Է����������м�ء�

ͨ���� iim.conf �ļ���ָ��������������� Instant Messaging ������Ͷ�·������ļ�¼�ȼ����й��� iim.conf �ļ������ü�¼�ȼ�����Ϣ�������������ò����еIJ��֡�

��־�ļ���λ���ڰ�װ Instant Messaging �����ָ����

��Ϊ����ϵͳά����һ���֣�����Ҫ���ڼ���������־�ļ����Է�ֹ��ռ�ù��Ĵ��̿ռ䡣������ִ�д˲���

��¼�ȼ�

ά��������־�ļ��ĵȼ������ȼ���������־�ļ�����ϸ���߳����̶ȡ����ȼ��ϸ߱�ʾ��ϸ��Ϣ���٣���Ϊ��־�ļ��н�ֻ��¼�����ȼ����������ԣ��¼����෴���ϵ͵����ȼ���ζ�Ż��н϶���ϸ��Ϣ����Ϊ����־�ļ��н���¼�϶��¼���

����Էֱ�Ϊ Instant Messaging ������Ͷ�·���������ü�¼�ȼ���

�� 2-1 �� Instant Messaging ������ļ�¼�ȼ�����˵����Щ��¼�ȼ��� Unix syslog ��������ȼ���һ���Ӽ���

�� 2-1 Instant Messaging ������Ͷ�·������ļ�¼�ȼ�

�ȼ�

˵��

FATAL

�����ȼ�������־�ļ��м�¼���ٵļ�¼ϸ�ڡ�ֻҪ�������������Σ��״��ͻ�����־�ļ������һ����־��¼������� FATAL ���⣬Ӧ�ó������ֹͣ����

ERROR

ֻҪ����ɻָ���������������⵽������ϣ��ͻ�����־�ļ����һ����־��¼�����磬������δ����ͻ������һ������l�ӡ�

WARNING

ֻҪ��⵽�û����󣬾ͻ�����־�ļ����һ����־��¼�����磬�������޷����Ϳͻ����͵�ͨѶ���ݡ�

NOTICE

����־�ļ���д�붨���¼����Ա���������״̬�������а�(״̬�����У���l�ӵĿͻ�������l�ӵ���վ�ͳ�վ����������

INFO

ֻҪ������Ҫ����ͻ�����־�ļ����һ����־��¼�����磬�����û��ɹ���¼��ע��

DEBUG

����־�ļ��м�¼���񡣴���Ϣ������ڵ���Ŀ�ġ���ÿ���̻������У������ÿ���¼�����д����־�ļ����԰��������û��ڵ���Ӧ�ó���ʱȷ����������⡣

����ѡ�����ض��ļ�¼�ȼ��󣬽���¼��õȼ����Ӧ���¼����Լ��������ȼ���ߡ���ϸ�ȸ�͵ĵȼ����¼���

NOTICE �Ƿ�����Ͷ�·��������־�ļ���ȱʡ�ȼ���


ע��

��� DEBUG ָ��Ϊ��¼�ȼ�����־�ļ�����ռ�ýϴ���̿ռ䡣Ӧ��ز�������־�ļ�����ֹ��ռ�ù����̿ռ䡣


������־�ļ��ȼ�

��־�ļ��ȼ��� iim.conf �ļ������á�������}����־�ļ���¼�ȼ�ѡ�

�й����� Instant Messaging ����ϸ��Ϣ�������������ò�����


���������û�Ȩ��

����Ա����ͨ���������������û���Ȩ��4���������û��� Instant Messaging ��Ϣ�ķ���Ȩ�ޡ���ЩȨ�޾������û��Ƿ������Ӻ�ɾ������Ƶ�!����ͱ��������ö����������û��ļ��ӡ���Щ���ܿ�ʹ�����û����� Instant Messaging �е����蹦�ܺ���ͼ������ Instant Messaging ���ܾ���Ȩ��ϵͳ���ƣ���ϵͳ�������û����� Instant Messaging �ϲ鿴�����ݻ�ִ�еIJ���

Instant Messaging �ṩ�����з��ʿ��ƻ��ƣ�

�����Һ�����Ƶ�7��ʿ���

����ÿ������ҡ��͡�����Ƶ�!�������Զ��������û���ӵ�е�ȱʡ����Ȩ�ޡ������û���ӵ����������ڡ������ҡ��͡�����Ƶ�!��ķ���Ȩ�ޣ�

���� MANAGE Ȩ�޵������û�����Ϊ�������������û�����ȱʡ��Ȩ�޼������ǻ����Զ�����������Ա㽫��ͬ��ȱʡ���ʼ���ķ��ʼ��������ض��������û����顣


ע��

���� WRITE Ȩ�ޣ������������û� READ Ȩ�ޡ�


�����Һ�����Ƶ��Ȩ��ͨ�� Sun Java System Instant Messenger �������á���ʹ�� Sun Java System Instant Messenger ��������Һ�����Ƶ��ʱ���Զ�������Щ�ļ���

�� 2-2 �г�����ҡ��͡�����Ƶ�!����ʿ����ļ�����Щ�ļ�Ϊ�����û��ṩ��Ȩ�ޡ���Щ���ʿ����ļ�λ�� db/acls Ŀ¼�С�

�� 2-2 �����Һ�����Ƶ�7��ʿ����ļ�

ACL �ļ�

Ȩ��

roomname.acl

���ļ������������û�����ڻ����ҿ���ӵ�еķ���Ȩ�ޡ�

news channelname.acl

���ļ������������û����������Ƶ�?���ӵ�еķ���Ȩ�ޡ�

�����Һ�����Ƶ�7��ʿ����ļ���ʽ

roomname.acl �� news channelname.acl �ļ��ĸ�ʽ��ϵͳ�����ʿ����ļ���ʽ���в�ͬ���й�ϵͳ�����ʿ����ļ�����ϸ��Ϣ����������ʿ����ļ���ʽ��roomname.acl �� news channelname.acl�ļ����û�������Ŀ֮�󻹰�һ������ʼ���ĸ��ӱ����Ŀ�����ʼ����ǣ�

����������Ƶ�7��ʿ����ļ�ʾ���У�ȱʡ����Ȩ���� Read��ͬʱ�� Manage ����Ȩ������ user1���� Write ����Ȩ������ user2���� None ����Ȩ������ user3��

# Example newschannel.acl file

v:3.0.1

u:user1:14

u:user2:6

u:user3:1

g:cn=group1,ou=groups,o=example:6

d:2


ע��

newschannel.acl �ļ��е��� v:3.0.1 ��ָʾ��������ν�����Щֵ��������ļ���δ����У���������޷�ʹֵ 2 �� Read ����Ȩ�޹�j����ʹֵ 6 �� Write ����Ȩ�޹�j��



ע��

�����ֶ��༭ roomname.acl �� news channelname.acl �ļ�����Щ�ļ�������ʹ�� Sun Java System Instant Messenger ��������Һ�����Ƶ��ʱ�Զ������¡����� Instant Messaging ��������������û�ʹ�� Sun Java System Instant Messenger ��ķ���Ȩ��ʱ��ȡ��д����Щ�ļ����������ڷ���������ʱ�ֶ��༭��Щ�ļ��������û��ᶪʧ�����ġ�


�û�������

�����ָ�����������û��Ƿ���Կ����������״̬��ȱʡ����£����������û������Կ����������״̬����Ҳ����������������Ծܾ�˷���Ȩ�������ض������û����顣

������Ѿܾ����������û������������״̬������Щ�����û�������jϵ���б��п�����Ŀ�����״̬Ϊ�ѻ���Щ�����û����޷������ͱ������������룬��Ϊ�������״̬���ѻ�

����ʹ�� Instant Messenger �ġ��û����á����������û������ԡ��й������û������Ե���ϸ��Ϣ������� Instant Messaging j�����


j�϶�� Instant Messaging ������IJ���

�ڽ� LDAP �����У����j�϶�� Sun Java System Instant Messaging ���������һ��ϴ�� Instant Messaging Ⱥ�塣���ڷ���Ȩ�ޣ�4�Բ�ͬ������������û����Ա˴�ͨ�ţ�ʹ���������ϵĻ����ң���Ԥ��Զ�̷������ϵ�����Ƶ�!�

�� Identity �����У����� Sun Java System Instant Messaging ���������פ�ж��������Խ�������ָ��Ϊ Sun Java System Instant Messaging ������ʵ���ȱʡ����ͬһ�������йܵIJ�ͬ���е������û����ܱ˴˽�������j�϶�� Sun Java System Instant Messaging ����ʱ��ȱʡ���е������û����Կ�������Զ�� Sun Java System Instant Messaging �������ȱʡ���е������û���

Ϊ���ܹ��������еĶ�� Sun Java System Instant Messaging ������֮�����ͨ�ţ�����Ҫ�����Լ��ķ�������ʹ�����е����� Sun Java System Instant Messaging �������ʶ������ݡ�Sun Java System Instant Messaging �����������������Ͷ˿ںš������� ID �������ʶ�䱾�?

�ڷ����������У������Ϊÿ�� Sun Java System Instant Messaging ������ָ��һ��������������ĸ��������ɣ����� IMserver1��


����

����ʹ�� TLS (SSL) ��֤������Է�����ͨ�ŵİ�ȫ������}�������֮�佻�����ʱ����Ҫʹ��������ֹ����İ�ȫ�ֺ�����}�������֮���t��ʹ�ù�����j��ʱ���͸����Ҫ���ַ7������밴������˵������ Instant Messaging ������֮��� SSL��


���� Instant Messaging ������֮���ͨ��

����̽�˵�������}�� Instant Messaging ������iim.company22.com �� iim.i-zed.com��֮��ʵ��ͨ�š�

  1. �ռ��� 2-3 ���г��������Ϣ��
  2. �� 2-3 �г��� iim.conf �ļ������ڽ��з�����Է�����ͨ�ŵIJ����Լ��� Instant Messaging ������iim.company22.com �� iim.i-zed.com.������Щ�����ֵ��

    �� 2-3 ������Է�����ͨ�ŵ�������Ϣ

    �� iim.conf �ļ��еIJ���

    ������ iim.company22.com �е�ֵ

    ������ iim.i-zed.com �е�ֵ

    iim_server.serverid

    Iamcompany22

    Iami-zed

    iim_server.password

    secretforcompany22

    secret4i-zed

    iim_server.coservers

    coserver1

    coserver1

    iim_server.coserver1.host

    iim.i-zed.com:9919

    iim.company22.com:9919

    iim_server.coserver1.serverid

    Iami-zed

    Iamcompany22

    iim_server.coserver1.password

    secret4i-zed

    secretforcompany22

    �й����ò������ϸ��Ϣ������� Instant Messaging ���ò�����


    ע��

    ����������Լ��ķ������Ա�ͬ���� Instant Messaging ������ͨ�š�ÿ�� Instant Messaging ���������������ƽ��б�ʶ��������ķ����ᱻ��ӵ� iim.conf �ļ��ڵ� iim_server.coservers �����С��˲����ж��ֵ�����ֵ֮���Զ������


  3. �л��������� iim.company22.com �е� config Ŀ¼�����磬�� Solaris �ϣ�
  4. cd /etc/opt/SUNWiim/default/config

  5. �༭ iim.conf �ļ������磺
  6. vi iim.conf


    ע��

    iim.conf �ļ�Ӧ���û��ڰ�װ����д����� Instant Messaging �������ʻ����С���� Instant Messaging �������ʻ����ܶ�ȡ iim.conf �ļ����� Instant Messaging ������Ͷ�·�������޷���ȡ���á����⣬������޷��༭ iim.conf �ļ���


    ������ʾ�� iim.company22.com ���������Է�����ͨ�����Ӧ�IJ��� iim.conf �ļ����û��ɶ�������޸ģ�

    iim_server.serverid=Iamcompany22

    iim_server.password=secretforcompany22

    iim_server.coservers=coserver1

    iim_server.coserver1.host=iim.i-zed.com:9919

    iim_server.coserver1.serverid=Iami-zed

    iim_server.coserver1.password=secret4i-zed

  7. ���ڷ����� iim.i-zed.com �ϵ� iim.conf �ļ�����ִ������ 2 ������ 3 �еIJ���
  8. ������ʾ�� iim.i-zed.com ���������Է�����ͨ�����Ӧ�IJ��� iim.conf �ļ����û��ɶ�������޸ģ�

    iim_server.serverid=Iami-zed

    iim_server.password=secret4i-zed

    iim_server.coservers=coserver1

    iim_server.coserver1.host=iim.company22.com:9919

    iim_server.coserver1.serverid=Iamcompany22

    iim_server.coserver1.password=secretforcompany22

  9. �����IJ�ˢ��}��������ϵ����á�


�� Instant Messaging ��ʹ�� SSL

Instant Messaging ֧�֡���ȫ�׽��ֲ� (SSL)��Э�飬�Խ��м���ͨ�źͻ���֤��� Instant Messaging ��������֤��Instant Messaging ������֧�� SSL 3.0 �档

Sun Java System Instant Messaging ��·������� Instant Messenger Ҳ֧�� SSL�����ڿͻ���Ͷ�·������֮����м���ͨ�š�

�й� SSL ����ϸ��Ϣ������� Console and Administration Server 2004Q2 Server Management Guide �еġ�Appendix B����¼ B������

��� Instant Messaging ����������� SSL �����������������

  1. ��ȡ����װ���� Instant Messaging �������֤�飬�� Instant Messaging ����������Ϊ���Ρ�֤��䷢����֤�顣
  2. ȷ��ÿ̨��Ҫʹ�� SSL ����ķ��������ͨ�ŵ� Instant Messaging ��������ȡ����װ֤�顣
  3. �ڷ������ iim.conf �ļ��������ʵ��IJ���Ӷ�� SSL��

�ڶ�·������� Sun Java System Instant Messenger ֮������ SSL �����������������


    ע��

    �йع���֤�����ϸ��Ϣ���������Sun Java System Web Server ����Աָ������


��֤��䷢������֤��

Ҫ�� Instant Messenger �Ͷ�·������֮������ SSL����Ҫ��װ֤�鲢�������ڰ�ȫͨ�ŵ���ݿ⡣�����ʹ�� Web Server ����Ͱ�װ֤�顣

ʹ�� Web Server ����Ͱ�װ֤�飺

  1. ��������� URL ���������������������
  2. http://hostname.domain-name:administration_port

    Web Server �����ʾһ��ڣ���ʾ�������û�������롣

  3. ��������� Web Server ��װ�����ָ���Ĺ����û�������롣
  4. Web Server ��ʾ�����������ҳ�档

  5. �������5� Web Server ʵ���йذ�װ��������ʵ�����ϸ��Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Installing Multiple Instances of the Server����
  6. http://docs.sun.com/source/816-5682-10/esgstart.htm#1003083

  7. ����������ݿ��Դ洢���ú�ר����Կ������Ϊ��Կ���ļ�����Կ���ļ����� SSL ���ܡ�
  8. �йش���������ݿ����Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Creating a Trust Database����

    http://docs.sun.com/source/816-5682-10/esecurty.htm#1004127

  9. ��֤��䷢������֤�顣
  10. �й�����֤�����ϸ��Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Requesting and Installing Other Server Certificates�����벢��װ���������֤�飩����

    http://docs.sun.com/source/816-5682-10/esecurty.htm#1004981

��װ֤��

�ӡ�֤��䷢���յ�������֤�����Ҫ��װ֤�顣

��װ֤�飺

  1. ��������� URL ���������������������
  2. http://hostname.domain-name:administration_port

    Web Server �����ʾһ��ڣ���ʾ�������û�������롣

  3. ��������� Web Server ��װ�����ָ���Ĺ����û�������롣
  4. Web Server ��ʾ�����������ҳ�档

  5. ��װ������֤�顣
  6. �йذ�װ֤�����ϸ��Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Requesting and Installing Other Server Certificates�����벢��װ���������֤�飩����

    http://docs.sun.com/source/816-5682-10/esgstart.htm#1003083

  7. �л��� Web Server alias Ŀ¼��
  8. ����ݿ��ļ��� Web Server alias Ŀ¼���Ƶ� Instant Messenger config Ŀ¼��
  9. Ҫ����ݿ��ļ��� Web Server alias Ŀ¼���Ƶ� Instant Messenger config Ŀ¼��������������

    cp https-serverid-hostname-cert7.db /etc/opt/SUNWiim/default/config/cert7.db

    cp https-serverid-hostname-key3.db /etc/opt/SUNWiim/default/config/key3.db

    cp secmod.db /etc/opt/SUNWiim/default/config/secmod.db


    ע��

    Instant Messaging ����������ʱ����������û��� cert7.db��key3.db �� secmod.db �ļ�Ӧ���ж�Ȩ�ޡ�


  10. �л��� Instant Messaging config Ŀ¼��
  11. cd /etc/opt/SUNWiim/default/config

  12. ʹ����ѡ��ı༭��� sslpassword.conf �ļ������磬����Լ��룺
  13. vi sslpassword.conf

  14. �����������뵽 sslpassword.conf �ļ���
  15. Internal (software) Token:password

    Password:�ڴ���������ݿ��ڼ�ָ�������롣

  16. �����ļ���

    ע��

    ���� Instant Messenger �����û�Ӧ��ӵ�� sslpassword.conf �ļ��� Ownership �� Read Ȩ����


  17. ����֤ SSL �Ĺ���״����Թ���Ա��ݵ�¼ Web Server ��ɾ��������֤��ʱ������ web server ʵ��

�ڶ�·������� Instant Messenger ֮������ SSL

�� 2-4 �г��� iim.conf �ļ��������� Instant Messenger �Ͷ�·������֮������ SSL �IJ������л�����Щ�����˵���ȱʡֵ��

�� 2-4 �� Instant Messenger �Ͷ�·������֮������ SSL ��������Ϣ

����

ȱʡֵ

˵��

iim_mux.usessl

off

����ֵ����Ϊ��on�������·�������ڽ���Ӧ�����֮ǰ��Ҫ��������ܵ�ÿһl�Ӿ���� SSL �źŽ�����

iim_mux.secconfigdir

/etc/opt/SUNWiim/default/config

��Ŀ¼����Կ��֤����ݿ⡣ͨ����ȫģ����ݿ⡣

iim_mux.keydbprefix

��

��ֵ����Կ��ݿ��ļ����ǰ׺����Կ��ݿ��ļ������ʼ���� key3.db ��β��

���磬�����Կ��ݿ��ǰ׺ This-Database-key3.db����˲����ֵΪ This-Database��

iim_mux.certdbprefix

��

��ֵ��֤����ݿ��ļ����ǰ׺��֤����ݿ��ļ������ʼ���� cert7.db ��β��

���磬���֤����ݿ��ǰ׺ Secret-stuff-cert7.db����˲����ֵΪ Secret-stuff��

iim_mux.secmodfile

secmod.db

��ֵ��ȫģ���ļ�����ơ�

iim_mux.certnickname

Server-Cert

��ֵ���ڰ�װ֤��ʱ�����֤����ơ�

֤�������ִ�Сд��

iim_mux.keystorepasswordfile

sslpassword.conf

��ֵ�������Կ��ݿ�������ļ������·������ơ����ļ��������У�

Internal (software) Token:password

���� password �DZ�����Կ��ݿ�����롣

�� Instant Messenger �Ͷ�·������֮������ SSL��
  1. �л��� config Ŀ¼�����磬�� Solaris �ϣ�
  2. cd /etc/opt/SUNWiim/default/config

  3. �༭ iim.conf �ļ������磺
  4. vi iim.conf

  5. ���� 2-4 ���ἰ��ֵ��ӵ���·���������ò����С�
  6. ������һ����·���������ò���� iim.conf �ļ�ʾ��

    ! IIM multiplexor configuration

    ! =============================

    !

    ! Multiplexor specific options

     

    ! IP address and listening port for the multiplexor.

    ! WARNING: If this value is changed, the port value of ’-server’ argument

    ! in the client’s im.html and im.jnlp files should also be changed to match th

    is.

    iim_mux.listenport = "siroe.com:49909"

     

    ! The IM server and port the multiplexor talks to.

    iim_mux.serverport = "siroe.com:49999"

     

    ! Number of instances of the multiplexor.

    iim_mux.numinstances = "1"

     

    ! Maximum number of threads per instance

    iim_mux.maxthreads = "10"

     

    ! Maximum number of concurrent connections per multiplexor process

    iim_mux.maxsessions = "1000"

     

    iim_mux.usessl = "on"

    iim_mux.secconfigdir = "/etc/opt/SUNWiim/default/config"

    iim_mux.keydbprefix = "This-Database"

    iim_mux.certdbprefix = "Secret-stuff"

    iim_mux.secmodfile = "secmod.db"

    iim_mux.certnickname = "Server_Cert"

    iim_mux.keystorepasswordfile = "sslpassword.conf"

���� Instant Messenger �İ�ȫ�汾

ͨ���������� imssl.html �ļ��� imssl.jnlp �ļ����Ե��� Instant Messenger �İ�ȫ�汾����Щ�ļ�λ����ԴĿ¼�£���ԴĿ¼�Ǵ洢���� Sun Java System Instant Messenger ��Դ�Ļ�Ŀ¼��

Ҳ�ɽ�ָ����Щ applet ������ļ���t����ӵ� index.html �ļ��С�

���� SSL �Խ��з������ͨ��

��ǰ�������ڼ��� SSL ֮ǰ�����봴��֤����ݿ⡢��ò���װ������֤�顢���� CA��֤��䷢����֤�顣

  1. �������� iim.conf ����
    • iim_server.usesslport=true
    • iim_server.sslport=9910
    • ��Щ����Ӧ������ iim.conf �ļ��С�

  2. ��j�϶�� Instant Messaging ������IJ������������÷�����Է��������ã�Ȼ��������в���
    • iim_server.coserver1.usessl=true
    • �������Ķ˿ںţ�

    • iim_server.coserver1.host=hostname:9910
    • �˿ں�ӦΪ���������� SSL �˿ڡ�

      �����ǰ����� SSL ���õIJ��� iim.conf �ļ���

      ! Server to server communication port.

      iim_server.port = "49919��

      ! Should the server listen on the server to server communication port

      iim_server.useport = "True��

      ! Should this server listen for server-to-server communication using ssl port

      iim_server.usesslport = "True��

      iim_server.sslport=49910

      iim_server.coservers=coserver1

      iim_server.coserver1.serverid=Iamcompany22

      iim_server.coserver1.password=secretforcompany22

      iim_server.coserver1.usessl=true

      iim_server.coserver1.host=iim.i-zed.com:49910

      iim_server.serverid=Iami-zed

      iim_server.password=secret4i-zed

      iim_server.secconfigdir = "/etc/opt/SUNWiim/default/config"

      iim_server.keydbprefix = "This-Database"

      iim_server.certdbprefix = "Secret-stuff"

      iim_server.secmodfile = "secmod.db"

      iim_server.certnickname = "Server_Cert"

      iim_server.keystorepasswordfile = "sslpassword.conf"

��}�������֮������ SSL

�� 2-5 �г� iim.conf �ļ���������}�� Instant Messaging ������֮������ SSL �IJ������л�����Щ�����˵���ȱʡֵ��

�� 2-5 ��}�� Instant Messaging ������֮������ SSL ��������Ϣ

����

ȱʡֵ

˵��

iim_server.secconfigdir

/etc/opt/SUNWiim/default/config

��Ŀ¼����Կ��֤����ݿ⡣ͨ����ȫģ����ݿ⡣

iim_server.keydbprefix

��

��ֵ����Կ��ݿ��ļ����ǰ׺����Կ��ݿ��ļ������ʼ���� key3.db ��β��

���磬�����Կ��ݿ��ǰ׺ This-Database-key3.db����˲����ֵΪ This-Database��

iim_server.certdbprefix

��

��ֵ��֤����ݿ��ļ����ǰ׺��֤����ݿ��ļ������ʼ���� cert7.db ��β��

���磬���֤����ݿ��ǰ׺ Secret-stuff-cert7.db����˲����ֵΪ Secret-stuff��

iim_server.secmodfile

secmod.db

��ֵ��ȫģ���ļ�����ơ�

iim_server.certnickname

Server-Cert

��ֵ���ڰ�װ֤��ʱ�����֤����ơ�

֤�������ִ�Сд��

iim_server.keystorepasswordfile

sslpassword.conf

��ֵ�������Կ��ݿ�������ļ������·������ơ����ļ��������У�

Internal (software) Token:password

���� password �DZ�����Կ��ݿ�����롣

iim_server.trust_all_cert

false

����ֵΪ true�����������������֤�飬���һ������֤����Ϣ����־�ļ��С�


���� Instant Messaging �� LDAP ����

Sun Java System Instant Messaging ������Ľ� LDAP ������ҪĿ¼�������ڽ� LDAP �����У�Instant Messaging ������ʹ��Ŀ¼������ִ�������û���֤�����������û���

�� Identity �����У�Sun Java System Instant Messaging ������ʹ�� Sun Java System Portal Server ���õ�Ŀ¼���� Identity ���𻷾��а�װ��Sun Java System Instant Messaging ������ʹ�� Sun Java System Identity Server ���õ�Ŀ¼���������û�����������ִ�������û���֤���� Identity �����У� Sun Java System Identity Server ִ����֤��

�����ʹ�� LDAP Ŀ¼ά���û���ƿռ䣬��ȱʡ���ý��ʹ�Ŀ¼���÷��������¼��裺

�����ͨ��༭ iim.conf �ļ������Щȱʡ���á�

��Ϊ�����û�����Ŀ¼

Instant Messaging ��Ҫ�ܹ�����Ŀ¼�����������Ŀ¼����Ϊ���������û�����Instant Messaging �Ϳ�������Ŀ¼�����Ŀ¼�����������û���ȡ��������ȡ���Ӳ��������ض��û� ID������ӵ�д�Ŀ¼�Ķ�ȡ����Ȩ�ޣ���֤��4���� iim.conf �ļ���

��Щ֤�������и�����ɣ�

ʹ���������Ϊָ���������û�ִ��Ŀ¼����

  1. ȷ�� iim.conf �ļ������в����ֵ��
    • iim_ldap.usergroupbinddn - ָ�����ڰ󶨵�Ŀ¼�Ա��������ı�ʶ�� (dn)��
    • iim_ldap.usergroupbindcred - ָ�����ʶ�� (dn) һ��ʹ�õ�����
    • ���磺

      iim_ldap.usergroupbinddn="cn=iim server,o=i-zed.com"

      iim_ldap.usergroupbindcred=secret


      ע��

      ����ʹ�þ���д�뼶����Ȩ�޵Ĺ���Ա��֤�飬��Ϊ���б�Ҫ�����ݾ��Ƕ�����Ķ�ȡ����Ȩ�ޡ���ˣ������ھ��ж�ȡ������Ȩ�޵� LDAP �û�����ʹ�ô��û���֤�顣����һ���ȫ�ı�ѡ��������Ϊ��ǿ���û�ɢ������Ա��֤�顣


  2. �� Identity �����У�Ŀ¼ͨ�������������û������� Identity �����У��뽫 iim_ldap.useidentityadmin ���ò�������Ϊ true����Ҳ����ɾ����ע�������ò���
    • iim_ldap.usergroupbinddn
    • iim_ldap.usergroupbindcred.
  3. �༭ iim.conf �ļ���
  4. �йر༭ iim.conf �ļ���˵�������������ò�����

    ��� iim_ldap.usergroupbinddn �� iim_ldap.usergroupbindcred ����δ������ iim.conf �ļ��У�����Խ�����ӵ��ļ��ڵ�����λ�á�

���ö�̬ LDAP ��������

�ڡ�LDAP �������У���̬����������û��� DN 4�������ǣ��������(�ڵ������С���̬���� Directory Server �б�����Ϊ groupOfUrls �����ࡣ

Ϊʹ�����û��ܹ����������в鿴��̬�鲢����̬����ӵ���jϵ���б��У�����Ҫ�� groupOfUrls �����(���������С�

��Ҫ�Է����������ļ� iim.conf ���������޸ģ�

  1. �л��� config Ŀ¼�����磬�� Solaris �ϣ�
  2. cd /etc/opt/SUNWiim/default/config

  3. �༭ iim.conf �ļ������磺
  4. vi iim.conf

  5. ��������Ϣ��ӵ� iim.conf �ļ���

    iim_ldap.usergroupbynamesearchfilter=(|(&(|(objectclass=groupofuniquenames)(objectclass=groupofurls)))(cn={0}))(&(objectclass=inetorgperson)(cn={0})))

    iim_ldap.groupbrowsefilter=(|(objectclass=groupofuniquenames)(objectclass=groupofurls))

     

    iim_ldap.groupclass=groupOfUniqueNames,groupOfURLs

���ԺͶ���������ǿ������õġ�ȱʡ����£����� memberOfUrls ������̬��ij�Ա���ԡ������Ҫʹ�ò�ͬ�� memberOfUrls ��������ƣ��뽫 iim_ldap.groupmemberurlattr ѡ������Ϊ��Ҫʹ�õ�������ơ�


���� Instant Messaging ���

Instant Messaging �������κι��ϻָ����ߡ���ʹ��վ��ı���ϵͳ���ڱ������ú���ݿ�Ŀ¼��

������Ϣ

��Ҫ���ݵ� Instant Messaging ��Ϣ��(�������ͣ�

������Ϣ�� Instant Messaging ����Ŀ¼�еĴ洢��ʽ���£�

Sun Java System Instant Messaging �����û���ݴ洢��������ݿ�Ŀ¼�У�

����Ѿ����� Instant Messenger�������Դ������뱸����Щ��Դ��Instant Messenger ��Դ��λ���ڰ�װ������ṩ��

ִ�б���

��Ȼ������Ϣ��������ģ��� Instant Messaging �����û���ݻ�Ѹ�ٵظ�ģ�Ϊ��ֹ��ʧ�κ������û���ݣ��������ڱ��� Instant Messaging �����û���ݡ�������Ҫ�����а�װ�����ж�س���֮ǰִ�С�

Ҫ���������û���ݺ�������Ϣ������ֹͣ Instant Messaging ��������Ϊ�����ɷ�������Ĵ����ύ���Զ�ִ�С�

�ָ�������Ϣ

�����ִ��̹��ϲ������������û���ݺ�������Ϣ��ʧʱ����Ҫ�ָ������û���ݺ�������Ϣ�ı��ݡ�

�ָ����ݵ������û���ݣ�

  1. �л�������ʱĿ¼�����磺
  2. cd runtime-directory

  3. ��ֻ��Ȩ������ instant-messaging-database Ŀ¼������룺
  4. chmod -R 400 db

  5. ֹͣ Instant Messaging ����������룺
  6. imadmin stop

  7. ������Է����������û��������û�����ļ��� Write Ȩ�ޣ�����룺
  8. chmod -R 600 runtime-directory/db/��

  9. Ҫ�ָ���ݣ��뽫���ݵ���ݸ��Ƶ� instant- messaging-database Ŀ¼��
  10. �� Instant Messaging ����������룺
  11. imadmin start



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


��Ȩ���� 2004 Sun Microsystems, Inc. ��������Ȩ��