Sun Java System Instant Messaging 7 2005Q1 ����ָ�� |
�� 4 ��
���� Instant Messaging �������˵����ι��� Instant Messaging ������������·��������������ͼ��ӳ���ִ��������������������ò��������־��¼��
���°����¼��ڣ��ֱ������ Instant Messaging �еĸ��ֹ�������
���������û�Instant Messaging �еĹ�����������һ�����г���ҽ��ڱ���ʣ��ƪ���н���������ע���ñ����������û��ķ���������������
Instant Messaging ���ṩ���û��ñ����ߡ���Ҫʹ��Ŀ¼���ñ������ñ���� Instant Messaging �����û���Ĭ������£�Instant Messaging ���ṩ��ӡ��Ļ�ɾ�� Instant Messaging �����û��ľ���������ǣ������Զ��� Instant Messenger �������û����Լ���ӵ�Ŀ¼�С��й���Ϣ���μ�ע�����û���
���ڽ� LDAP ������һ��������ֹ�����û�ʹ�� Instant Messenger���ڽ� LDAP �����У���ֹ�����û�ʹ�� Instant Messaging ��Ψһ�����Ǵ�Ŀ¼��ɾ�����ǡ���ʹ�� Sun Java System Access Manager �������ԵIJ����У�������ֹ�����û����� Instant Messenger�����ʹ�� Access Manager ���� Instant Messaging����Ӧʹ���� Access Manager �ṩ���ñ����ߣ���Ҫ�����û�ע���Լ���
����Ա����ʹ�á�Instant Messaging ����Ա���ʿ��ơ�����4���� Instant Messaging �����û����йء�Instant Messaging ����Ա���ʿ��ơ��ĸ����Ϣ���μ������ԡ���ȫ�Ժ�վ����Ը��������ʹ�õ��� Sun Java System Access Manager����ʹ�� Access Manager �ñ� Instant Messaging �����û����йظ����Ϣ���μ� Sun Java System Communications Services Deployment Planning Guide��
����
���ͨ��༭ sysWatch.acl �ļ���ʹ�����û���Ȩ��b�����������û��ļ��ӣ��� Instant Messenger ��ڲ������Щ�����û���ʾ������Ϳ���Ч����ֹ�����û�ʹ�������ͼ�ʱ��Ϣ�����ǣ������û���Ȼ�ܹ��鿴����������Ƶ�!�
ע�����û�����ͨ���Զ��� Instant Messenger �������û�ע�ᡣ���û�ע���Instant Messaging ������ʹ��ע��ʱ�ṩ����Ϣִ�� ldapadd ��������Ŀ¼�д����û���Ŀ��
ע
�����ͨ�� Sun Java System Access Manager ʹ�� Instant Messaging����Ӧ�����û�ʹ�ô˷���ע�ᡣ��Ӧʹ���� Access Manager �ṩ���ñ����ߡ�
Ϊ�������û�ע�ᣬ��Ҫ�� im.jnlp.template �� im.html.template �ļ������һ��������� configure ʵ�ó���Ȼ�������Ҫ�����²�����Դ�ļ���
����˵��
�й��Զ�����Դ�ļ��ĸ����Ϣ���μ��� 5 �¡����� Instant Messenger����
�Զ��� Instant Messenger ���������û�ע��
���Զ�����Դ�ļ����������û�ע��ʱ������¼���Ի����л����һ���°�ť���û�����˰�ť���Է��ʡ����û�ע�ᡱ�Ի���ͨ��öԻ����û����Խ���ע�ᡣ���û�ע������ǵ���Ϣ����ӵ� LDAP Ŀ¼�С�
�Զ��� Instant Messenger ���������û�ע��
- ���ı��༭���д� im.jnlp.template �ļ���
Ĭ������£����ļ��洢�� im_svr_base/html �С�
- �����������
<application-desc main-class="com.iplanet.im.client.iIM">
- �����в�����ӵ��ò���ĩβ��
<argument>register=true</argument>
- ���沢�ر� im.jnlp.template �ļ���
- �� im.html.template �ظ����� 1 �� 4��
- ���� configure ʵ�ó����ҽ���ʾ��ָ��Ҫ���õ����ʱ����ѡ��Messenger ��Դ�����й�˵��μ���װ��������� Instant Messaging��
- ���ʹ�õ��� Sun Java System Access Manager �� Sun Java System Web Server���밴���²�����Դ�ļ��е�˵�����²�����Դ�ļ���
- �� Instant Messenger��
����¼���Ի����н����֡��������û�����ť��
ע�����û�
�������û�ע�������ӵ� im.jnlp �� im.html �ļ��У��������²�����Դ�ļ����û��Ϳ���ע���Լ��ˡ�
ע��Ϊ���û�
ֹͣ�����ˢ�� Instant Messaging ���ʹ�� imadmin ������ԣ�
imadmin ������ʵ�ó������ɳ����û�������� Instant Messaging ������Ͷ�·�������ϵͳӵ�й���Ȩ���û�ִ�С��������û�ͨ������4���з�������Ǹ���ݣ����ڰ�װ�ڼ�ָ����
imadmin ������ʵ�ó���λ������Ŀ¼�У�
im_svr_base/sbin
�� Instant Messaging �������ʹ Instant Messenger l�ӵ��÷������ϡ�ֹͣ Instant Messaging ��������ֹ����l�ӣ����Ͽ������� Instant Messenger �ͻ���֮���l�ӡ�
�� Instant Messaging ���
����һ�������������Ҳ���Էֱ�����������
ʹ�� imadmin ��������� Instant Messaging �������·��������������ͼ��ӳ�����ȡ���������õ������
���������
��������
ֹͣ Instant Messaging ���
����һ��ֹͣ���������Ҳ���Էֱ�ֹͣ���������
ʹ�� imadmin �������ֹͣ Instant Messaging �������·��������������ͼ��ӳ�����ȡ���������õ������
ֹͣ�������
ֹͣ�������
ˢ���������
ʹ�ô��� refresh ����� imadmin �������ֹͣ����������� Instant Messaging �������ˢ�¸���������á�
����һ��ˢ�����������Ҳ���Էֱ�ˢ�µ��������
���ۺ�ʱ�� iim.conf �ļ��и�����ò��������ˢ�����á�
ˢ���������
ˢ�µ������
��� Instant Messaging �����״̬
����ʹ�� imadmin ����һ��������������״̬����ֱ��鵥�������״̬��
������������״̬
��鵥�������״̬
��� Instant Messaging ������Ͷ�·���������ò���Instant Messaging �����ò���洢�� iim.conf �ļ��С��й����ò���������б?�μ� Instant Messaging ���ò�����
Ҫ������ò������ֶ��༭ iim.conf �ļ��е����ò�����ֵ��Ȼ��ˢ�� Instant Messaging ���������á�����Ķ�·�����������ֻ��ʹ������ imadmin ����ˢ�¶�·������
imadmin refresh multiplexor
�йز�����ֵ�������б?�μ� Instant Messaging ���ò�����
�������
- ת�� config Ŀ¼�����磬�� Solaris �ϣ����룺
cd etc/opt/SUNWiim/default/config
- �༭ iim.conf �ļ������磺
vi iim.conf
- �����ġ�
- ˢ�����á�
����
����Ķ�·����������˿� (iim_mux.listenport) ���·�������������Ӧ�ظ��� im.html �� im.jnlp �ļ�������ʹ Instant Messenger ��l�ӵ��������йظ����Ϣ���μ����� Instant Messenger �еIJ��֡�
������־��¼Instant Messaging �ᴴ����־�ļ������ڼ�¼�¼������������������״̬��ϵͳ�����Լ��������·��������������ͼ��ӳ���������档ͨ��鿴��־�ļ������ԴӶ����Է����������м��ӡ����⣬����������ҪʱΪ Instant Messenger �ռ���־��¼��ݡ����������������ж���־��¼������˵��
��־��¼����
����ͨ���� iim.conf �ļ���ָ���������� Instant Messaging �������·��������������ͼ��ӳ������־��¼�����й��� iim.conf �ļ���������־��¼�������Ϣ���μ���� Instant Messaging ������Ͷ�·���������ò�����
��־�ļ���λ�������� Instant Messaging �����ָ����ͨ������־�ļ��洢�� im_runtime_base/log �С����� im_runtime_base ��Ĭ��ֵ���£�
��Ϊ����ϵͳά����һ���֣�����Ҫ���ڼ���������־�ļ����Է�ֹ��ռ�ù��Ĵ��̿ռ䡣������ִ�д˲���
�� 4-1 �ṩ����־�ļ�������Լ� iim.conf ����������ÿ����־�ļ���־��¼��������ò���
��Щ���ò�����Ծ�������ֵ��
���⣬��ʹ�� Sun Java System Access Manager �IJ����У���־��¼������ com.iplanet.services.debug.level ����ȷ������������ Sun Java System Access Manager ����ϵ� AMConfig.properties �ļ������á�Ĭ������£����ļ���װ������λ�ã�
AM_svr_base/lib/AMConfig.properties
���У�AM_svr_base �����ڰ�װ Access Manager ��Ŀ¼��
�����Կ��ܰ�����ֵ��
Ĭ������£�Sun Java System Portal Server ������־�ļ� (desktop.debug) �鵵��־�ļ���IMArchiveSearch.log �� IMArchiveSubmit.log���洢������λ�ã�
��־��¼����
ά��������־�ļ��ļ�������ȼ���������־�ļ�����ϸ���߳����̶ȡ����ȼ��ϸ߱�ʾ��ϸ��Ϣ���٣���Ϊ����־�ļ��н�ֻ��¼�����ȼ����������ԣ��¼����෴���ϵ͵����ȼ���ζ�Ż��н϶���ϸ��Ϣ����Ϊ����־�ļ��н���¼�϶��¼���
����Ϊ Instant Messaging �������·��������ӳ���͡��������ֱ�������־��¼����
�� 4-2 ˵�����������־��¼������Щ��־��¼������ Unix syslog �������弶���һ���Ӽ���
����ѡ�����ض�����־��¼�������¼��ü������Ӧ���¼����Լ��������ȼ���ߡ���ϸ�ȸ�͵ļ�����¼���
INFO �Ƿ������Ĭ�ϼ���ERROR �Ƕ�·������ͼ��ӳ�����־�ļ���Ĭ�ϼ���
������־����
��ͨ���� iim.conf �ļ��еIJ���������־������ 4-1 ��һ����־�ļ��б����ҪΪÿ��������õIJ���
�йظ�IJ���ĸ����Ϣ���μ���� Instant Messaging ������Ͷ�·���������ò������йؼ��ӳ���ĸ����Ϣ���μ�������ӳ��������йء��������ĸ����Ϣ���μ�ʹ���������ʾ��
����ͻ�����־��¼
Ĭ������£�����¼�ͻ�����ݡ���֧�ֺ���п��ܻ�Ҫ���ռ��ͻ�����ݡ��ڴ�����£���Ҫ��������־��¼�����ܲ鿴�ͻ�����־��ݡ�
Ҫ���ÿͻ�����־��¼����Ҫ������²��裺
���ÿͻ�����־��¼
- �������ڡ�Java Web Start Ӧ�ó���������Java ���������塱��������־��¼���ܡ�
���ͻ���ʹ�ú��н���汾 JDK �� Java ����������С�Java ���������塱���й�������־��¼��˵��μ�Java ���������塱��j�����
���ͻ���ʹ�� Java Web Start ��ʹ�ú��� JDK 5.0 �IJ���������С�Java Web Start Ӧ�ó���������Ȼ��
- ���ı��༭���д� im.jnlp��
- �����������
<application-desc main-class="com.iplanet.im.client.iIM">
- �����в�����ӵ��ò���ĩβ��
<argument>debug=true</argument>
- ���沢�ر� im.jnlp �ļ���
- ���ʹ�õ��� Sun Java System Access Manager �� Sun Java System Web Server���밴���²�����Դ�ļ��е�˵�����²�����Դ�ļ���
- ������ Instant Messenger��
��� Instant Messaging �������j�ϲ����ڽ� LDAP �����У����j�϶�� Instant Messaging ���𣬽����һ����� Instant Messaging ���塣4�Բ�ͬ������������û����Ի��ڷ���Ȩ�ޱ˴�ͨ�š�ʹ���������ϵĻ����ң��Լ�����Զ�̷������ϵ�����Ƶ�!�
��ʹ�� Sun Java System Access Manager �IJ����У����� Instant Messaging ���������פ�ж�����Խ�������ָ��Ϊ Instant Messaging ������ʵ���Ĭ������ͬһ�������йܵIJ�ͬ���е������û����ܱ˴˽�������j�϶�� Instant Messaging ����ʱ��Ĭ�����е������û����Կ�������Զ�� Instant Messaging �������Ĭ�����е������û���
Ϊ�����������еĶ�� Instant Messaging ������֮��ͨ�ţ���Ҫ������ķ�������ʹ�����е����� Instant Messaging �������ʶ��÷��������ݡ�Instant Messaging ������ͨ�����������Ͷ˿ںš������� ID �Ϳ����ʶ�Լ���
�ڽ� LDAP �����У�}�������Ӧλ�ڲ�ͬ����
�ڷ����������У�����Ϊÿ�� Instant Messaging ������ָ��һ��������������ĸ��������ɣ����� IMserver1��
����
����ʹ�� TLS (SSL) ��֤������Է�����ͨ�ŵİ�ȫ������}�������֮�佻�����ʱ����Ҫʹ��������ֹ����İ�ȫ�ֺ�����}�������֮���t��ʹ�ù�����j��ʱ�������Ҫ���ַ7������밴������˵������ Instant Messaging ������֮��� SSL��
���� Instant Messaging ������֮���ͨ��
����̽�˵�������}�� Instant Messaging ������iim.company22.com �� iim.i-zed.com��֮��ʵ��ͨ�š�
����}�������֮���ͨ��
- �ռ��� 4-3 ���г��������Ϣ��
�� 4-3 �г��� iim.conf �ļ������ڽ��з�����Է�����ͨ�ŵIJ����Լ��� Instant Messaging ������iim.company22.com �� iim.i-zed.com.������Щ�����ֵ��
�й����ò���ĸ����Ϣ���μ� Instant Messaging ���ò�����
ע
����������Լ��ķ������Ա�ͬ���� Instant Messaging ������ͨ�š�ÿ�� Instant Messaging ���������������ƽ��б�ʶ��������ķ����ᱻ��ӵ� iim.conf �ļ��ڵ� iim_server.coservers �����С��˲����ж��ֵ�����ֵ֮���Զ������
- ת�������� iim.company22.com �е� config Ŀ¼�����磬�� Solaris �ϣ�
cd /etc/opt/SUNWiim/default/config
- �༭ iim.conf �ļ������磺
vi iim.conf
ע
iim.conf �ļ�Ӧ���û��ڰ�װ����д����� Instant Messaging �������ʻ����С���� Instant Messaging �������ʻ����ܶ�ȡ iim.conf �ļ����� Instant Messaging ������Ͷ�·����������ȡ���á����⣬��������༭ iim.conf �ļ���
������ʾ�� iim.company22.com ���������Է�����ͨ�����Ӧ�IJ��� iim.conf �ļ����û��ɶ�������ģ�
������ʾ�� iim.i-zed.com ���������Է�����ͨ�����Ӧ�IJ��� iim.conf �ļ����û��ɶ�������ģ�
iim_server.serverid=Iami-zed
iim_server.password=secret4i-zed
iim_server.domain=iim.i-zed.com
iim_server.coservers=coserver1
iim_server.coserver1.host=iim.company22.com:9919
iim_server.coserver1.serverid=Iamcompany22
iim_server.coserver1.password=secretforcompany22
iim_server.coserver1.domain=company22.com
- �����IJ�ˢ��}��������ϵ����á�
�� Instant Messaging ��ʹ�� SSLInstant Messaging ֧�֡���ȫ���ֲ� (SSL)��Э�飬�Խ��м���ͨ�źͻ���֤��� Instant Messaging ��������֤��Instant Messaging ������֧�� SSL 3.0 �档
Instant Messaging ��·������� Instant Messenger Ҳ֧�� SSL�����ڿͻ���Ͷ�·������֮����м���ͨ�š�
Ϊ Instant Messaging ���������� SSL �����������������
�ڶ�·������� Instant Messenger ֮������ SSL �����������������
�йع���֤��ĸ����Ϣ���μ�λ�� http://docs.sun.com �� Web Server �� Application Server ��Ʒ�ĵ���
��֤��䷢������֤��
Ҫ�� Instant Messenger �Ͷ�·������֮������ SSL����Ҫ��װ֤�鲢�������ڰ�ȫͨ�ŵ���ݿ⡣����ʹ�� Web Server �� Application Server ����Ͱ�װ֤�顣
����Ͱ�װ֤��
- ��������� URL ���������������������
http://hostname.domain-name:administration_port
����һ��ڣ���ʾ�������û���Ϳ��
- �����ڰ�װ Web Server �� Application Server ʱָ���Ĺ����û���Ϳ��
���֡����������ҳ�档
- �������5� Web Server �� Application Server ʵ���йذ�װ��������ʵ��ĸ����Ϣ���μ�λ������λ�õIJ�Ʒ�ĵ���
- ����������ݿ��Դ洢���ú�ר����Կ������Ϊ��Կ���ļ�����Կ���ļ����� SSL ���ܡ�
�йش���������ݿ����Ϣ���μ�λ������λ�õ� Web Server �� Application Server ��Ʒ�ĵ���
- ��֤��䷢������֤�顣
�й�����֤��ĸ����Ϣ���μ�λ������λ�õ� Web Server �� Application Server ��Ʒ�ĵ���
��װ֤��
�ӡ�֤��䷢���յ�������֤�����Ҫ��װ֤�顣
��װ֤��
- ��������� URL ���������������������
http://hostname.domain-name:administration_port
����һ��ڣ���ʾ�������û���Ϳ��
- �����ڰ�װ Web Server �� Application Server ʱָ���Ĺ����û���Ϳ��
���֡����������ҳ�档
- ��װ������֤�顣
�йذ�װ֤��ĸ����Ϣ���μ�λ������λ�õ� Web Server �� Application Server ��Ʒ�ĵ���
- ת�� Web Server �� Application Server �� alias Ŀ¼��
- ����ݿ��ļ��� alias Ŀ¼���Ƶ� Instant Messenger config Ŀ¼��
Ҫ����ݿ��ļ��� alias Ŀ¼���Ƶ� Instant Messenger config Ŀ¼��������������
cp https-serverid-hostname-cert8.db /etc/opt/SUNWiim/default/config/cert8.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 im_cfg_base Ŀ¼�����磬�� Solaris �ϣ�
cd /etc/opt/SUNWiim/default/config
- ʹ����ѡ��ı༭��� sslpassword.conf �ļ������磬����Լ��룺
vi sslpassword.conf
- �����������뵽 sslpassword.conf �ļ���
Internal (Software) Token:password
Password���ڴ���������ݿ��ڼ�ָ���Ŀ��
- �����ļ���
- �ڼ��� SSL �Ĺ���״����Թ���Ա��ݵ�¼ Web Server �� Application Server����ɾ��������֤��ʱ�����ķ�����ʵ��
�ڶ�·������� Instant Messenger ֮������ SSL
�� 4-4 �г��� iim.conf �ļ��������� Instant Messenger �Ͷ�·������֮������ SSL �IJ������л�����Щ�����˵���Ĭ��ֵ��
�� 4-4 Instant Messenger �Ͷ�·������ SSL ����
����
Ĭ��ֵ
˵��
iim_mux.usessl
off
����ֵ����Ϊ "on"�����·�������ڽ���Ӧ�����֮ǰ��Ҫ��������ܵ�ÿһl�Ӿ���� SSL �źŽ�����
iim_mux.secconfigdir
Solaris��/etc/opt/SUNWiim/default/config
Linux��/etc/opt/sun/im/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
- ת�� im_cfg_base Ŀ¼�����磬�� Solaris �ϣ�
cd /etc/opt/SUNWiim/default/config
- �༭ iim.conf �ļ������磺
vi iim.conf
- ���� 4-4 ���ἰ��ֵ��ӵ���·���������ò����С�
������һ����·���������ò���� 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:5222"
! The IM server and port the multiplexor talks to.
iim_mux.serverport = "siroe.com:45222"
! 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 �İ�ȫ�汾����Щ�ļ�λ����ԴĿ¼�£���ԴĿ¼�Ǵ洢���� Instant Messenger ��Դ�Ļ�Ŀ¼��
Ҳ�ɽ�ָ����Щ applet ������ļ���t����ӵ� index.html �ļ��С�
���� SSL �Խ��з�����䰲ȫͨ��
��ǰ�������ڼ��� SSL ֮ǰ�����봴��֤����ݿ⡢��ȡ����װ������֤�顢���� CA��֤��䷢����֤�顣
���� SSL
- �������� iim.conf ����
- ����� Instant Messaging �������j�ϲ������������÷�����Է��������ã�Ȼ��������в���
- iim_server.coserver1.usessl=true
�������Ķ˿ںţ�
- iim_server.coserver1.host=hostname:5223
�˿ں�ӦΪ���������� SSL �˿ڡ�
�����ǰ����� SSL ���õIJ��� iim.conf �ļ���
! Server to server communication port.
iim_server.port = "5269��
! 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=5223
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:5223
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
�� 4-5 �г� iim.conf �ļ���������}�� Instant Messaging ������֮������ SSL �IJ������л�����Щ�����˵���Ĭ��ֵ��
�� 4-5 ������Է������ SSL ���ò���
����
Ĭ��ֵ
˵��
iim_server.secconfigdir
Solaris��/etc/opt/SUNWiim/default/config
Linux��/etc/opt/sun/im/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.
keystorepasswordfilesslpassword.conf
��ֵ�������Կ��ݿ������ļ������·������ơ����ļ��������У�
Internal (Software) Token:password
���� password �DZ�����Կ��ݿ�Ŀ��
iim_server.trust_all_cert
false
����ֵΪ true�����������������֤�飬���һ������֤����Ϣ����־�ļ��С�
���� Instant Messaging �� LDAP ��������Instant Messaging ������Ľ� LDAP ������Ҫһ��Ŀ¼�������ڽ� LDAP �����У�Instant Messaging ������ʹ��Ŀ¼������ִ�������û���֤�����������û���
��ʹ�� Sun Java System Access Manager �IJ����У�Instant Messaging ������ʹ�� Sun Java System Portal Server ���õ�Ŀ¼���� Access Manager �����а�װ��Instant Messaging ������ʹ�� Access Manager ���õ�Ŀ¼���������û�����������ִ�������û���֤���� Access Manager �����У�Access Manager ִ����֤��
�����ʹ�� LDAP Ŀ¼ά���û���ƿռ䣬��Ĭ�����ý��ʹ�Ŀ¼����ģʽ�����¼��裺
�����ͨ��༭ iim.conf �ļ������ЩĬ�����á��йظ����Ϣ���μ�ʹ�� iim.conf �ļ���
��Ϊ�����û�����Ŀ¼
Instant Messaging ��Ҫ�ܹ�����Ŀ¼�����������Ŀ¼����Ϊ���������û�����Instant Messaging �Ϳ�������Ŀ¼�����Ŀ¼�����������û���ȡ�����������ͨ��ִ�и��Ӳ��裬ʹ������ӵ�д�Ŀ¼��ȡ����Ȩ���û� ID ��֤��4���� iim.conf �ļ���
��Щ֤�������и�����ɣ�
ʹ���������Ϊָ���������û�ִ��Ŀ¼����
- ȷ�� iim.conf �ļ������в����ֵ��
- ��ʹ�� Access Manager �IJ����У�Ŀ¼ͨ�������������û������ڴ�����£�Ӧ�� iim_ldap.useidentityadmin ���ò�������Ϊ true����Ҳ����ɾ���ע�͵��������ò���
- �༭ iim.conf �ļ���
�йر༭ iim.conf �ļ���˵��μ���� Instant Messaging ������Ͷ�·���������ò�����
��� iim_ldap.usergroupbinddn �� iim_ldap.usergroupbindcred ����δ������ iim.conf �ļ��У�����Խ�����ӵ��ļ��ڵ�����λ�á�
���ö�̬ LDAP ��������
�ڡ�LDAP �������У���̬����������û��ı�ʶ��4�������ǣ��������(�ڵ������С���̬���� Directory Server �б�����Ϊ groupOfUrls �����ࡣ
Ϊʹ�����û��ܹ����������в鿴��̬�鲢����̬����ӵ���jϵ���б��У�����Ҫ�� groupOfUrls �����(���������С�
��Ҫ�Է����������ļ� iim.conf ���������ģ�
���ԺͶ���������ǿ������õġ�Ĭ������£����� memberOfUrls ������̬��ij�Ա���ԡ������Ҫʹ�ò�ͬ�� memberOfUrls ��������ƣ��뽫 iim_ldap.groupmemberurlattr ѡ������Ϊ��Ҫʹ�õ�������ơ�
���� Instant Messaging ���Instant Messaging �������κι��ϻָ����ߡ���ʹ��վ��ı���ϵͳ���ڱ������ú���ݿ�Ŀ¼��
������Ϣ
��Ҫ���ݵ� Instant Messaging ��Ϣ��(�������ͣ�
������Ϣ�洢������Ŀ¼ (im_cfg_base) �С�Ĭ��·�����£�
- Solaris��/etc/opt/SUNWiim/default/config
- Linux��/etc/opt/sun/im/default/config
- ����ѡ��������Զ������Զ��� Instant Messenger ���ᵽ���κ��ļ��������ԴĿ¼������Щ�ļ���
Instant Messaging ��ݴ洢����ݿ�Ŀ¼ (im_db_base) �С�im_db_base ��Ĭ��ֵ���£�
����Ѿ��Զ��� Instant Messenger ��Դ������뱸����Щ��Դ��Instant Messenger ��Դ��λ���ڰ�װ������ṩ��
ִ�б���
��Ȼ������Ϣ���ᾭ����ģ��� Instant Messaging �����û������ȴ����Ƶ������ˣ�Ϊ���������û���ݵĶ�ʧ��Ӧ�ö��ڱ��� Instant Messaging �����û���ݡ�������Ҫ�����а�װ�����ж�س���֮ǰִ�С�
Ҫ���������û���ݺ�������Ϣ������ֹͣ Instant Messaging ��������Ϊ�����ɷ�������Ĵ����ύ���Զ�ִ�С�
�ָ�������Ϣ
�����ִ��̹��ϲ������������û���ݺ�������Ϣ��ʧʱ����Ҫ�ָ������û���ݺ�������Ϣ�ı��ݡ�
�ӱ��ݻָ������û����
- ת������ʱĿ¼��
���磺
cd im_runtime_base
im_runtime_base ��Ĭ��ֵ���£�
Solaris��/var/opt/SUNWiim/default
Linux��/var/opt/sun/im/
- ֹͣ Instant Messaging ����������룺
imadmin stop
- ��������ݸ��Ƶ� im_db_base Ŀ¼��ȷ�����ֱ�����ݵ�Ŀ¼�ṹ��
- �����»ָ���ݵ�Ȩ�������ߡ�
��Щ�ļ�Ӧ���� Instant Messaging ϵͳ�û�ӵ�С��йش��û�����Ϣ���μ����� UNIX ϵͳ�û�������Ӧ��������Ȩ�ޣ�
- �� Instant Messaging ������
imadmin start