Anope IRC Services
Version 2.0
|
#include <ldap.h>
Public Member Functions | |
LDAPProvider (Module *c, const Anope::string &n) | |
virtual LDAPQuery | BindAsAdmin (LDAPInterface *i)=0 |
virtual LDAPQuery | Bind (LDAPInterface *i, const Anope::string &who, const Anope::string &pass)=0 |
virtual LDAPQuery | Search (LDAPInterface *i, const Anope::string &base, const Anope::string &filter)=0 |
virtual LDAPQuery | Add (LDAPInterface *i, const Anope::string &dn, LDAPMods &attributes)=0 |
virtual LDAPQuery | Del (LDAPInterface *i, const Anope::string &dn)=0 |
virtual LDAPQuery | Modify (LDAPInterface *i, const Anope::string &base, LDAPMods &attributes)=0 |
![]() | |
Service (Module *o, const Anope::string &t, const Anope::string &n) | |
virtual | ~Service () |
void | Register () |
void | Unregister () |
![]() | |
Base () | |
virtual | ~Base () |
void | AddReference (ReferenceBase *r) |
void | DelReference (ReferenceBase *r) |
Additional Inherited Members | |
![]() | |
static Service * | FindService (const Anope::string &t, const Anope::string &n) |
static std::vector< Anope::string > | GetServiceKeys (const Anope::string &t) |
static void | AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v) |
static void | DelAlias (const Anope::string &t, const Anope::string &n) |
![]() | |
Module * | owner |
Anope::string | type |
Anope::string | name |
|
inline |
|
pure virtual |
Add an entry to LDAP
i | The LDAPInterface the result is sent to |
dn | The dn of the entry to add |
attributes | The attributes |
Implemented in LDAPService.
|
pure virtual |
Bind to LDAP
i | The LDAPInterface the result is sent to |
who | The binddn |
pass | The password |
Implemented in LDAPService.
|
pure virtual |
Attempt to bind to the LDAP server as an admin
i | The LDAPInterface the result is sent to |
Implemented in LDAPService.
|
pure virtual |
Delete an entry from LDAP
i | The LDAPInterface the result is sent to |
dn | The dn of the entry to delete |
Implemented in LDAPService.
|
pure virtual |
Modify an existing entry in LDAP
i | The LDAPInterface the result is sent to |
base | The base DN to modify |
attributes | The attributes to modify |
Implemented in LDAPService.
|
pure virtual |
Search ldap for the specified filter
i | The LDAPInterface the result is sent to |
base | The base DN to search |
filter | The filter to apply |
Implemented in LDAPService.