Help? Logging in to Sun ONE Instant Messenger problem

Hi all,

I have just install Sun One Web server 6.1, Sun One Directory 5.2 and Sun One Instant Messaging 6.1 together on Win2K advance server. And I have successful launch Sun ONE Instant Messenger.

But I can not know, how to create LDAP user ID and password to Login to Sun ONE Instant Messenger?

Could anyone help me to solve this problem?

I'm looking forward to receive your reply soon.

Thanks

[441 byte] By [anhvt] at [2007-11-25 17:22:14]
# 1
The users have to be populated in the directory server. The IM server contacts the directory server for authentication and user searches. You need to modify the iim.conf to point it to the correct directory server. For more details refer to the IM Admin guide.-Rahul
rl_shah at 2007-7-3 12:58:46 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 2

Thanks for your reply, I've read you suggest. And I also know that, I must do some thing as you talk above. But I'm sorry because, I'm only a beginner of Sun ONE application so I do not know how to step by step to do this. I list content of my iim.conf file below. Could you tell me, how can I create IM user and password on LDAP? and what Configuration Parameters I must change? And what is this value? I hope that you will help me. Im stuck in this problem for five days. And I have know light to solve it.

Here is content of my iim.conf file:

!

! iim.conf : IIM Configuration file

!

!

! General configuration options

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

!

! Options that are common to all modules.

! Modules configured - server & multiplexor or only multiplexor?

iim.comm.modules = "iim_server,iim_mux"

! SMTP server to contact to send email messages.

iim.smtpserver = "VIETTEL.z78.z78.com"

! Instance directory

iim.instancedir = "C:/Program Files/Sun/Instant Messaging"

! Instance directory

iim.instancevardir = "C:/Program Files/Sun/Instant Messaging"

! User the IM processes should run as

iim.user = ""

! Group under which the IM processes should run

iim.group = ""

! config file version

iim.config.version = "1.1"

! Java command

iim.jvm.command = "java/jre/bin/java"

! Policy specific options

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

!

! This section contains options specific to user sources

! and other policy stuff.

! The ldap server name and port.

iim_ldap.host = "VIETTEL.z78.z78.com:389"

! The string to be used as base to do searches on this LDAP server.

iim_ldap.searchbase = "o=z78.z78.com"

! Search filter for user login.

iim_ldap.loginfilter = "(&(objectclass=inetorgperson)(uid={0}))"

!The search filter used to search for users and groups in the directory by id.

iim_ldap.usergroupbyidsearchfilter = "(|(&(objectclass=groupofuniquenames)(dn={0}))(&(objectclass=inetorgper son)(uid={0})))"

!The search filter used to search for users and groups in the directory by name.

iim_ldap.usergroupbynamesearchfilter = "(|(&(objectclass=groupofuniquenames)(cn={0}))(&(objectclass=inetorgper son)(cn={0})))"

! Determine whether wildcard searches should be allowed with uids

iim_ldap.allowwildcardinuid = "False"

! The ldap class that indicates that an entry belongs to a user.

iim_ldap.userclass = "inetOrgPerson"

! The ldap class that indicates that an entry belongs to a group.

iim_ldap.groupclass = "groupOfUniqueNames"

! The search filter used to browse all groups in the directory

! under given base.

iim_ldap.groupbrowsefilter = "(objectclass=groupofuniquenames)"

! Maximum number of entries to be returned by a search.

! 0 indicates unlimited search and -1 disables all search.

iim_ldap.searchlimit = "40"

! Ldap attribute to use for display name of users.

iim_ldap.userdisplay = "cn"

! Ldap attribute to use for display name of groups.

iim_ldap.groupdisplay = "cn"

! Ldap attribute used as user uid.

iim_ldap.useruidattr = "uid"

! Ldap attribute that gives the list of members of a group.

iim_ldap.groupmemberattr = "uniquemember"

! Ldap attribute where user's email address is

iim_ldap.usermailattr = "mail"

! The frequency at which the in memory user and group information

! is updated from LDAP, in minutes.

iim_ldap.resynctime = "720"

! Ldap user id used for binding to the directory server

!*************Tuan Anh change 02/07

!iim_ldap.usergroupbinddn = ""

iim_ldap.usergroupbinddn = <bind dn>

! Ldap password for binding to the directory server

!*************Tuan Anh change 02/07

! iim_ldap.usergroupbindcred = ""

iim_ldap.usergroupbindcred =<credentials for bind dn>

!

! Logging

! =======

!

! Logging configuration for all modules

!

! There are 6 severity levels for logs.

!

!DEBUGdebug/trace information

!

!INFOlog important information not indicative of a problem.

!

!WARNINGuser error. The sofware is behaving properly but is not

!used properly.

!

!NOTICE report status of the various software components.

!

!ERRORrecoverable software or system error. The software or

!system is not behaving as expected, however the error

!can be recovered from.

!

!FATALunrecoverable error forcing the software to

!stop functioning.

!

!

! Log severity for the server component.

iim.log.iim_server.severity = "NOTICE"

! Log severity for the multiplexor component.

iim.log.iim_mux.severity = "ERROR"

! Server log file.

iim.log.iim_server.url = "C:/Program Files/Sun/Instant Messaging/log/server.log"

! Multiplexor log file.

iim.log.iim_mux.url = "C:/Program Files/Sun/Instant Messaging/log/mux.log"

! IIM server configuration

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

!

! IIM server specific configuration options

! Name of the domain supported by this server.

iim_server.domainname = "z78.z78.com"

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

iim_server.useport = "True"

! Server to server communication port.

iim_server.port = "49919"

! Should the server to server ssl communication be enabled?

iim_server.usesslport = "False"

! Should the server be enabled

iim_server.enable = "true"

! Time the server will let a client be idle before disconnecting it,

! in minutes.

iim_server.clienttimeout = "15"

! whether to use SSO

iim_server.usesso = "0"

! user properties storage, can be file or ldap

!iim.userprops.store = "file"

! Tuan Anh change 05/07/2004

iim.userprops.store = "ldap"

! 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 iim.html and iim.jnlp files should also be changed to match this.

iim_mux.listenport = "VIETTEL.z78.z78.com:49909"

! The IIM server and port the multiplexor talks to.

iim_mux.serverport = "VIETTEL.z78.z78.com:49999"

! Should the multiplexor be enabled

iim_mux.enable = "true"

! Number of instances of the multiplexor.

iim_mux.numinstances = "1"

! Maximum number of threads per instance

iim_mux.maxthreads = "20"

! Maximum number of concurrent connections per multiplexor process

iim_mux.maxsessions = "1000"

anhvt at 2007-7-3 12:58:46 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 3
You will have to populate the users in the Directory Server using the Directory server's admin console. For details look at the admin guide of directory server. The IM server just uses these pre populated users in the directory server.Regards,Rahul
rl_shah at 2007-7-3 12:58:46 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 4

Thanks rl_shah,

Thank you for replying me. I've know how to use Directory server's admin console to create user and pass. But some things I not know is that: How to make Instant Messaging and Directory server integrated together? (How to change iim.config file?).

Sorry for such stupid question, now, I trying myself to solve this problem .

Your sincerely,

anhvt at 2007-7-3 12:58:46 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...