00001 /* 00002 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00003 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00004 */ 00005 00006 #ifndef LDAP_REBIND_H 00007 #define LDAP_REBIND_H 00008 00009 #include <string> 00010 #include <LDAPRebindAuth.h> 00011 00019 class LDAPRebind{ 00020 public: 00021 virtual ~LDAPRebind() {} 00022 virtual LDAPRebindAuth* getRebindAuth(const std::string& hostname, 00023 int port) const = 0; 00024 }; 00025 #endif //LDAP_REBIND_H 00026