by Leon Stringer.
To answer the question "Is it necessary to add users to moodle database first": no it isn't. If the user doesn't already exist in the Moodle database it will be created on first login if successfully authenticated by AD.
The bind user does not have to be a domain admin.
Some things to check:
- Have you got Search subcontexts set to "yes"? This may be the problem if the elearn user isn't in the top of the context specified in Contexts.
- Is User type set to MS ActiveDirectory?
- Is the LDAPserver plugin actually enabled under Site administration→ Plugins→ Authentication→ Manage authentication? (You can configure and test LDAP without having actually enabled this).