Jump to: navigation, search
MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > Jabberd (chat) is not working after changing the admin authentication password
Troubleshooting Icon.png
Troubleshooting
Product ConnectXf
Version All
Applies to Administrators
Level Advanced



Jabberd (chat) is not working after changing the admin authentication password

Symptoms

1: Chat Client, which was working fine, is now unable to authenticate with the server.

Diagnosis

1: Client is using ADS authentication for Chat.

2: The Admin authentication password was recently changed.

3: The changed Admin password was updated properly in the Jabberd configuration /mcsdata/usr/local/etc/jabberd/c2s.xml. The Jabberd service was restarted.

4: If the passwords updated on ADS and in the Jabberd configuration file match, possibly there could be some special characters in the password which are not supported by the Jabberd authentication mechanism.

5. Review the password and confirm that it doesn't have any special characters shown below

? & < > " ' \ # % ^ * ( ) [ ] + _ { } ´ ` ~ = |"

cat /mcsdata/usr/local/etc/jabberd/c2s.xml | grep bindpw
<bindpw>&*3d1W@l1R@m</bindpw>

Cause

In this case, it is observed that the password has the '&' character.

Jabber configuration files are xml files which do not allow few special characters in it.Following is the list of special characters which are not allowed to be the part of LDAP authentication password

? & < > " ' \ # % ^ * ( ) [ ] + _ { } ´ ` ~ = |"

For reference Click here

Solution

1: Change the password on ADS and replace the special characters with valid/allowed characters 2: Follow these steps to change the password in the Jabber configuration

    • Take a backup of /mcsdata/usr/local/etc/jabberd/c2s.xml .
cp /mcsdata/usr/local/etc/jabberd/c2s.xml /mcsdata/usr/local/etc/jabberd/c2s.xml.orig
    • Open file and search for binddn and bindpw.
DN to bind as for searches. If unspecified, the searches will be done anonymously. 
<binddn>CN=Administrator,CN=Users,DC=care,DC=intra</binddn>
<bindpw>New Password</bindpw>

3: Restart the service.

/etc/init.d/jabberd restart