| 12345678910111213141516 |
- #pragma once
- #include <string>
- #define LDAP_URI "ldap://localhost:389"
- #define LDAP_ATTRIBUTE "uid"
- #define LDAP_BASEDN "ou=users,dc=example,dc=org"
- #define LDAP_FILTER ""
- class IMySQLLDAPAuthModule
- {
- public:
- virtual ~IMySQLLDAPAuthModule() {};
- virtual bool Authenticate(const std::string& username, const std::string& password) =0;
- };
|