LDAP user with pound password fail to login

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

Bamboo is configured to use LDAP server.

Fail to login with the LDAP user that have the pound character "£" in the password.

Diagnosis

Diagnostic Steps

Enabling debug logging for com.atlassian.user.impl.ldap will show the following failed authentication:

1 2 3 4 5 6 7 2017-04-11 11:04:33,770 DEBUG [http-nio-9443-exec-14] [DefaultLDAPAuthenticator] LDAP authentication failed, user: 'user1', constructed DN: 'CN=User Name,DC=hostname,DC=local' javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903D9, comment: AcceptSecurityContext error, data 52e, v2580 ] at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2883) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2797) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)

Cause

Bamboo isn't started with the file encoding UTF-8.

Solution

Resolution

Start Bamboo with the following JVM options:

  • -Dfile.encoding=utf-8

  • -Dsun.jnu.encoding=utf-8

Configuring your system properties

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.