How to configure LDAP server for Frappe / ERPNext

To use LDAP settings of already existing server,

LDAP Server URL : ldap://
if ERPNext is installed on same server as yunohost use localhost and no need to configure firewall.
if ERPNext is on different server, yunohost port must be accessible. (yunohost/admin > Tools > Firewall and open port 389)

Organizational Unit : ou=users,dc=yunohost,dc=org

Base Distinguished Name (DN) : cn=admin,dc=yunohost,dc=org

Password for Base DN : yunohost admin password

LDAP Search String : (&(objectClass=mailAccount)(uid={}))

LDAP Search String : uid={0}
Updated: 2020-03-20

LDAP First Name Field : givenName

LDAP Email Field : mail

LDAP Username Field : uid