For me this configurations works. Follow seettings as described by michael or simply look at the Nethserves Webinterface @ “Account Provider”. There you do find all required information.
I do run the following externenal devices:
My router (VPN), my DMS and MadSonic Music server. You can find the correct parameters also within the admin panel of nextcloud (if installed)
Do not forget to put in the correct IP of the LDAP (not of the nethserver). This was in most cases my initial error. Also UID is critical and dependes on the implementation of the LDAP client. Some clients destinguish between AD and LDAP. In my experience it is easier to use LDAP instead of AD as the nomenclature is different. Dependend on that e.g. the authenficiaon wors with different UID types and consequently different user logins.
“Old fashion AD” uses sAMAaccountName -> username
“New fashion AD” uses UserPrincipalName -> username@ad.mydomain.tld
“LDAP in general” cn -> username
Another tip is to start with simple filters such as
ObjectCategories=person
Good luck and best regards
Thorsten