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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content