0cd2bc5010
This PR fixes a common user mistake when authenticating with LDAP modules. Now users can specify either the USERNAME (user) and DOMAIN (domain.local) datastore options or the original format of just the USERNAME in the UPN format (user@domain.local). This updates the LDAP library.
This is where all of the libraries and mixins of Metasploit live. Generally speaking any code that will be reused across multiple modules will be placed into a library or mixin which will then be placed under this folder.