Nethserver 8 - I am not able to log into Nextcloud with any email address, but I can log in with same email addresses into Webtop

If you click on “Edit LDAP Query”

the query changes to

It could be a bug.

This one should be a working LDAP filter:

(&(&(|(objectclass=person)))(|(samaccountname=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))