6 Replies Latest reply: Oct 27, 2011 2:21 PM by FonzDesselle RSS

    Failing to log in to SUN ONE Instant Messaging

    807574
      Hello,

      I've set-up Sun ONE IM V6.0 and installed Sun One Directory server v5.2

      I have set up a user in Directory Server, but I am unable to log in to IM.

      The error message I get is

      [15/Mar/2004:15:50:15 -0000] ERROR: UID search failed: PHarron javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'o=govern.co.uk'
      [15/Mar/2004:15:50:15 -0000] ERROR: unknown: command: Auth LType=1 PHarron: failed - unknown user

      Do I have to set something else up in the iim.conf file?
      This is what I have set up at the moment

      iim_ldap.searchbase = "o=govern.co.uk"

      I have'nt changed any of the search filters i.e.
      iim_ldap.usergroupbynamesearchfilter = "(|(&(objectclass=groupofuniquenames)(cn={0}))(&(objectclass=inetorgperson)(cn={0})))"

      Can anyone help?

      Thanks
        • 1. Re: Failing to log in to SUN ONE Instant Messaging
          807574
          Hi,
          Does your directory server supports an anonymous bind? If not the add following parameter:
          iim_ldap.usergroupbinddn=<bind dn>
          iim_ldap.usergroupbindcred=<credentials for bind dn>

          -Rahul
          • 2. Re: Failing to log in to SUN ONE Instant Messaging
            807574
            Thanks Rahul, I've tried that but I still get an error

            [15/Mar/2004:16:39:14 -0000] ERROR: UID search failed: PHarron javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name ''govern.co.uk"]
            [15/Mar/2004:16:39:14 -0000] ERROR: unknown: command: Auth LType=1 PHarron: failed - unknown user

            ??
            • 3. Re: Failing to log in to SUN ONE Instant Messaging
              807574
              The user that you have created may not be having the access permisiions. In the sence he cannot be authenticated to the LDAP if he is not having some proper access control instructios set in the LDAP.

              Please do the following things.
              1. Go to the Directory Server admin console
              2. In directory server create a new user.
              3. Right click on the User and click on the set Access Permissions.
              4. click new button in the aci create panel.
              5. Now go to the Rights tab and check the proxy check box.

              This will solve the given problem

              Regards

              MBK
              • 4. Re: Failing to log in to SUN ONE Instant Messaging
                807574
                I have another similar problem, the client cannot authenticate and the error message says that the credential supplied is not correct.

                This is what the log says:
                [26/Nov/2004:03:48:18 +0700] ERROR: unknown: command: Auth LoginType=1 zur: passednetscape.ldap.LDAPException: error result (65); Object class violation
                • 5. Re: Failing to log in to SUN ONE Instant Messaging
                  FonzDesselle
                  Does anyone know what the bind dn would be if set to if I set the following. It should be whatever the default was set to when I ran dssetup

                  Hi,
                  Does your directory server supports an anonymous bind? If not the add following parameter:
                  iim_ldap.usergroupbinddn=<bind dn>
                  iim_ldap.usergroupbindcred=<credentials for bind dn>
                  • 6. Re: Failing to log in to SUN ONE Instant Messaging
                    FonzDesselle
                    Does anyone know what the bind dn would be if set to if I set the following. It should be whatever the default was set to when I ran dssetup

                    Hi,
                    Does your directory server supports an anonymous bind? If not the add following parameter:
                    iim_ldap.usergroupbinddn=<bind dn>
                    iim_ldap.usergroupbindcred=<credentials for bind dn>