I was going through this documentation
so i had doubts regarding the username as it asks for :
USERNAME OR DN
The Distinguished Name to bind as (if any), this user will be used to lookup information about other users.
So i wanted to confirm what type of user do we provide here? also if there is any better documentation to enable LDAP?
You need to provide a LDAP user/DN, which has enough permissions to validate the logins.
Since LDAP schemas can be so different, then it's difficult to provide a more precise documentation, since it would likely not fit to how you are running LDAP anyway.
We generally recommend using SAML, which is available in the Enterprise Edition.