Incorrect LDAP credentials - error code 49
Problem
An application prints the following error while starting: LDAP: error code 49
Possible causes
The LDAP credentials are wrong in the
jndi.propertiesfile because secrets.ldif has not been imported in LDAP after running setup.The ADAM user account is disabled. This can be identified from the error:
LDAP: error code 49 - 8009030C: LdapErr: DSID-0C090336, comment: AcceptSecurityContext error, data 533, veceA Ubisecure SSO application user object (e.g.,
cn=Server,ou=System,cn=Ubisecure,dc=localhost) has themsDS-UserAccountDisabledattribute set toTRUE
Solution
Import ubisecure/ldap/secrets.ldif using the import script of your directory server. For detailed instructions, see Ubisecure SSO Installation and Upgrade manual.
After import run tomcat/update.cmd.
2. If the ADAM user account is disabled, change the msDS-UserAccountDisabled attribute value to FALSE