Page 1 of 1

LDAP: error code 49 - Invalid Credentials

Posted: Thu Feb 09, 2006 2:19 am
by toddkrein
OK, I've installed the comminuty version, and backed ajva from 1.5 to 1.4.2 (I *SO* hate Java...)

Now, I get the following error:

2006-02-08 22:13:20,698 ERROR [RbacAuthorizationHelper.authenticateUser:81] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.authenticateUser(RbacAuthorizationHelper.java:52)



I don't think I'm using LDAP anywhere...


Help?

Posted: Thu Feb 09, 2006 2:15 pm
by ScalixSupport
Hi Todd,

Scalix includes an LDAP server for directory lookups and authentication. You didn't mention which app you're trying to logon to, so I'm assuming it's SAC. What user are you trying to logon as? What is the name you're entering? Have you renamed your server or changed it's IP address since installing Scalix?

Thanks,
Rachel

Posted: Thu Feb 09, 2006 7:36 pm
by toddkrein
Logging in as sxadmin.
I haven't changed the IP address, but now that you ask, I will be moving it to a new subnet as soon as I have it working. Is there something I need to flush?

Thanks!

Posted: Thu Feb 09, 2006 7:44 pm
by ScalixSupport
Hi Todd,

What are you entering for the login ID? You need to enter the authid for the user, so if you type:

Code: Select all

omshowu -n sxadmin


look for the Authentication ID: field and enter exactly what's in the that field, keeping in mind it's case-sensitive.

Thanks,
Rachel