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