search cancel

Spectrum CABI url via LDAP gives 404 error

book

Article ID: 256199

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

CABI and OC were integrated successfully but after enabling LDAP on CABI we cannot access the CABI page and get a 404 error. 

 

 

Environment

Release : 21.2

Cause

catalina.out on CABI shows:

Failed to instantiate [com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource]: Constructor threw exception; nested exception is org.springframework.ldap.InvalidNameException: Invalid name: LDAPS://xxxxx:3269

the ldap url needs to be in lower case

Resolution

we verified that LDAP url was changed to lower case in both locations i.e.

applicationContext-externalAuth-template-mt.xml 

and js.externalAuth.properties

and now we are able to access Jasper from url so LDAP has been configured on CABI. 

Additional Information

also removed spaces in external.ldap.Url and external.ldapDn