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
�������ֹͣ�����������õķ������/���·�����������
���б�Ҫ�������ֻ�Զ�·������ִ��ֹͣ�����ˢ�²����ֻ�Է�����ִ����Щ�����ؿ��������������õ������Ϊ�ˣ����� 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 ���ò�����
�������
- �л��� config Ŀ¼�����磬�� Solaris �ϣ����룺
cd /etc/opt/SUNWiim/default/config
- �༭ iim.conf �ļ������磺
vi iim.conf
- �����ġ�
- ˢ�����á�
����
����Ķ�·����������˿� (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 ��������ȼ���һ���Ӽ���
����ѡ�����ض��ļ�¼�ȼ�����¼��õȼ����Ӧ���¼����Լ��������ȼ���ߡ���ϸ�ȸ�͵ĵȼ����¼���
NOTICE �Ƿ�����Ͷ�·��������־�ļ���ȱʡ�ȼ���
������־�ļ��ȼ�
��־�ļ��ȼ��� iim.conf �ļ������á�������}����־�ļ���¼�ȼ�ѡ�
�й����� Instant Messaging ����ϸ��Ϣ�������������ò�����
���������û�Ȩ������Ա����ͨ���������������û���Ȩ��4���������û��� Instant Messaging ��Ϣ�ķ���Ȩ�ޡ���ЩȨ�������û��Ƿ������Ӻ�ɾ������Ƶ�!����ͱ��������ö����������û��ļ��ӡ���Щ���ܿ�ʹ�����û����� Instant Messaging �е����蹦�ܺ���ͼ������ Instant Messaging ���ܾ���Ȩ��ϵͳ���ƣ���ϵͳ�������û����� Instant Messaging �ϲ鿴�����ݻ�ִ�еIJ���
Instant Messaging �ṩ�����з��ʿ��ƻ��ƣ�
�����Һ�����Ƶ�7��ʿ���
����ÿ������ҡ��͡�����Ƶ�!�������Զ��������û���ӵ�е�ȱʡ����Ȩ�ޡ������û���ӵ����������ڡ������ҡ��͡�����Ƶ�!��ķ���Ȩ�ޣ�
���� MANAGE Ȩ�������û�����Ϊ�������������û�����ȱʡ��Ȩ�������ǻ����Զ�����������Ա㽫��ͬ��ȱʡ���ʼ���ķ��ʼ��������ض��������û����顣
�����Һ�����Ƶ��Ȩ��ͨ�� 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��
�û�������
�����ָ�����������û��Ƿ���Կ����������״̬��ȱʡ����£����������û������Կ����������״̬����Ҳ����������������Ծܾ�˷���Ȩ�������ض������û����顣
������Ѿܾ����������û������������״̬������Щ�����û�������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��֮��ʵ��ͨ�š�
- �ռ��� 2-3 ���г��������Ϣ��
�� 2-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.coservers=coserver1
iim_server.coserver1.host=iim.company22.com:9919
iim_server.coserver1.serverid=Iamcompany22
iim_server.coserver1.password=secretforcompany22
- �����IJ�ˢ��}��������ϵ����á�
�� Instant Messaging ��ʹ�� SSLInstant 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 �����������������
�ڶ�·������� Sun Java System Instant Messenger ֮������ SSL �����������������
��֤��䷢������֤��
Ҫ�� Instant Messenger �Ͷ�·������֮������ SSL����Ҫ��װ֤�鲢�������ڰ�ȫͨ�ŵ���ݿ⡣�����ʹ�� Web Server ����Ͱ�װ֤�顣
ʹ�� Web Server ����Ͱ�װ֤�飺
- ��������� URL ���������������������
http://hostname.domain-name:administration_port
Web Server �����ʾһ��ڣ���ʾ�������û�������롣
- ��������� Web Server ��װ�����ָ���Ĺ����û�������롣
Web Server ��ʾ�����������ҳ�档
- �������5� Web Server ʵ���йذ�װ��������ʵ�����ϸ��Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Installing Multiple Instances of the Server����
http://docs.sun.com/source/816-5682-10/esgstart.htm#1003083
- ����������ݿ��Դ洢���ú�ר����Կ������Ϊ��Կ���ļ�����Կ���ļ����� SSL ���ܡ�
�йش���������ݿ����Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Creating a Trust Database����
http://docs.sun.com/source/816-5682-10/esecurty.htm#1004127
- ��֤��䷢������֤�顣
�й�����֤�����ϸ��Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Requesting and Installing Other Server Certificates�����벢��װ���������֤�飩����
��װ֤��
�ӡ�֤��䷢���յ�������֤�����Ҫ��װ֤�顣
��װ֤�飺
- ��������� URL ���������������������
http://hostname.domain-name:administration_port
Web Server �����ʾһ��ڣ���ʾ�������û�������롣
- ��������� Web Server ��װ�����ָ���Ĺ����û�������롣
Web Server ��ʾ�����������ҳ�档
- ��װ������֤�顣
�йذ�װ֤�����ϸ��Ϣ�������λ�����е�ַ�� Web Server, Enterprise Edition Administrator's Guide �еġ�Requesting and Installing Other Server Certificates�����벢��װ���������֤�飩����
http://docs.sun.com/source/816-5682-10/esgstart.htm#1003083
- �л��� Web Server alias Ŀ¼��
- ����ݿ��ļ��� Web Server alias Ŀ¼���Ƶ� Instant Messenger config Ŀ¼��
Ҫ����ݿ��ļ��� 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 config Ŀ¼��
cd /etc/opt/SUNWiim/default/config
- ʹ����ѡ��ı༭��� sslpassword.conf �ļ������磬����Լ��룺
vi sslpassword.conf
- �����������뵽 sslpassword.conf �ļ���
Internal (software) Token:password
Password:�ڴ���������ݿ��ڼ�ָ�������롣
- ����֤ 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��
- �л��� config Ŀ¼�����磬�� Solaris �ϣ�
cd /etc/opt/SUNWiim/default/config
- �༭ iim.conf �ļ������磺
vi iim.conf
- ���� 2-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: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��֤��䷢����֤�顣
- �������� iim.conf ����
- ��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 �ļ���
��Щ֤�������и�����ɣ�
ʹ���������Ϊָ���������û�ִ��Ŀ¼����
- ȷ�� iim.conf �ļ������в����ֵ��
- �� Identity �����У�Ŀ¼ͨ�������������û������� Identity �����У��뽫 iim_ldap.useidentityadmin ���ò�������Ϊ true����Ҳ����ɾ����ע�������ò���
- �༭ iim.conf �ļ���
�йر༭ iim.conf �ļ���˵�������������ò�����
��� iim_ldap.usergroupbinddn �� iim_ldap.usergroupbindcred ����δ������ iim.conf �ļ��У�����Խ�����ӵ��ļ��ڵ�����λ�á�
���ö�̬ LDAP ��������
�ڡ�LDAP �������У���̬����������û��� DN 4�������ǣ��������(�ڵ������С���̬���� Directory Server �б�����Ϊ groupOfUrls �����ࡣ
Ϊʹ�����û��ܹ����������в鿴��̬�鲢����̬����ӵ���jϵ���б��У�����Ҫ�� groupOfUrls �����(���������С�
��Ҫ�Է����������ļ� iim.conf ���������ģ�
���ԺͶ���������ǿ������õġ�ȱʡ����£����� memberOfUrls ������̬��ij�Ա���ԡ������Ҫʹ�ò�ͬ�� memberOfUrls ��������ƣ��뽫 iim_ldap.groupmemberurlattr ѡ������Ϊ��Ҫʹ�õ�������ơ�
���� Instant Messaging ���Instant Messaging �������κι��ϻָ����ߡ���ʹ��վ��ı���ϵͳ���ڱ������ú���ݿ�Ŀ¼��
������Ϣ
��Ҫ���ݵ� Instant Messaging ��Ϣ��(�������ͣ�
������Ϣ�� Instant Messaging ����Ŀ¼�еĴ洢��ʽ���£�
- Solaris��/etc/opt/SUNWiim/default/config
- Linux��/etc/opt/soim/default/config
- Windows��instant-messaging-installation-directory\config
- ����ѡ��������������� Sun Java System Instant Messenger ���ᵽ���κ��ļ��������ԴĿ¼������Щ�ļ���
Sun Java System Instant Messaging �����û���ݴ洢��������ݿ�Ŀ¼�У�
����Ѿ����� Instant Messenger�������Դ������뱸����Щ��Դ��Instant Messenger ��Դ��λ���ڰ�װ������ṩ��
ִ�б���
��Ȼ������Ϣ��������ģ��� Instant Messaging �����û���ݻ�Ѹ�ٵظ�ģ�Ϊ��ֹ��ʧ�κ������û���ݣ��������ڱ��� Instant Messaging �����û���ݡ�������Ҫ�����а�װ�����ж�س���֮ǰִ�С�
Ҫ���������û���ݺ�������Ϣ������ֹͣ Instant Messaging ��������Ϊ�����ɷ�������Ĵ����ύ���Զ�ִ�С�
�ָ�������Ϣ
�����ִ��̹��ϲ������������û���ݺ�������Ϣ��ʧʱ����Ҫ�ָ������û���ݺ�������Ϣ�ı��ݡ�
�ָ����ݵ������û���ݣ�
- �л�������ʱĿ¼�����磺
cd runtime-directory
- ��ֻ��Ȩ������ instant-messaging-database Ŀ¼������룺
chmod -R 400 db
- ֹͣ Instant Messaging ����������룺
imadmin stop
- ������Է����������û��������û�����ļ��� Write Ȩ�ޣ�����룺
chmod -R 600 runtime-directory/db/��
- Ҫ�ָ���ݣ��뽫���ݵ���ݸ��Ƶ� instant- messaging-database Ŀ¼��
- �� Instant Messaging ����������룺
imadmin start