I set up a CAS server on a virtual machine with 8 cores and 16 GB of RAM.
Our company has approximately 8,000 users in the AD domain.
I deployed CAS 5.3 on Tomcat 9.0 and completed the basic configuration to connect to the AD domain.
When using the authentication page to log in with users from the AD domain, it succeeds, but it takes 2-3 minutes to log in.

I checked the logs and noticed that the two lines in the blue box take 2 minutes.

However, if I enter incorrect credentials, the prompt for authentication failure is very quick.
Please help me resolve this issue!
You don't often get email from 4672...@qq.com. Learn why this is important