How to debug LDAP authentication config file "webapps_authn.json" on webapp server

I tried to enable LDAP authentication for my webapp server, but after modified config file ”webapps_ authn.json" many rounds, it keeps reporting different LDAP error codes from the log, like 0x50, 0x21 or 0x31 etc.
So far I could only search the LDAP error code, guess what might be the root cause, then make adjustment half-blind, then try to login with my username & password from browser, but how to debug it more efficiently?
Can someone help to disclose the exact function or call so we could supervise the login process step by step?
Appreciate any clue about how to verify "webapps_authn.json" explicitly, like "call by LdapSearch or JNDI (Java naming Directory Interface)" etc. will be great

产品

版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by