I’m having a problem with the Openfire configuration. The account is associated with Active Directory, but when I run the test, it can’t reach LDAP and generates the following error:
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09055B, comment: AcceptSecurityContext error, data 52e, v65f4]
This error usually looks like a connectivity issue at first glance, but it’s actually not.
LDAP error code 49 with data 52e from Active Directory specifically means invalid credentials. So Openfire is reaching LDAP - the bind is just failing.
A few things you should check:
- Bind DN / username format
Try different formats:- Full DN like
CN=User Name,OU=Users,DC=domain,DC=local user@domain.localDOMAIN\user
- Full DN like
- Password
Double-check it carefully (watch for special characters or accidental spaces) - Account status
Make sure the account:- isn’t locked
- isn’t disabled
- doesn’t have an expired password
- Test outside Openfire
Try logging in with the same account on a Windows machine or via another LDAP tool to confirm the credentials work