Connection Nextcloud,LDAP,ActiveDirectory

I cannot reconnect nextcloud (27.1.4) to the active directory server. Nextcloud was already connected to the active directory but it was slow, so for testing purposes I removed the nextcloud connection to the active directory. It turned out that the slow operation is due to the fact that there are two IP addresses under one active directory domain name, which require separate bandwidths. Unfortunately, now I can’t connect nextcloud to the active directory. I’m using old login details that previously worked. error “No LDAP Login Filter given!”,“userAgent” “login filter does not contain %uid place holder.”,“userAgent”"

And your Login Filter is… ?

https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/user_auth_ldap.html#login-attributes-tab