Special characters do not seem to work with CLI

Solution Verified - Updated -

Issue

  • When running the below command to create an outbound-ldap connection the Swedish characters get replaced with "?"
[bkundal@localhost bin]$ ./jboss-cli.sh --connect
[standalone@localhost:9999 /] /core-service=management/ldap-connection=ldap_connection/:add(search-credential=jboss@123,url=ldap://10.10.10.10:389,search-dn="cn=swedish,ou=åöäÅÖÄ,dc=mydomain,dc=com")
{"outcome" => "success"}

The following entries get updated in the standalone.xml file

<outbound-connections>
            <ldap name="ldap_connection" url="ldap://10.10.10.10:389" search-dn="cn=swedish,ou=??????,dc=mydomain,dc=com" search-credential="jboss@123"/>
        </outbound-connections>

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.