9 #ifndef ROOT_TLDAPServer 10 #define ROOT_TLDAPServer 40 const char *binddn = 0,
const char *password = 0,
41 Int_t version = LDAP_VERSION2);
47 Int_t scope = LDAP_SCOPE_BASE,
48 const char *filter = 0,
TLDAPResult * Search(const char *base="", Int_t scope=LDAP_SCOPE_BASE, const char *filter=0, TList *attrs=0, Bool_t attrsonly=0)
Performs searching at the LDAP directory.
TLDAPResult * GetAttributeTypes()
Calls GetSubschemaSubentry() and performs and LDAPSearch with the attribute "attributeTypes" to be re...
Bool_t IsConnected() const
const char * GetSubschemaSubentry()
Performs an LDAPSearch with the attribute "subschemaSubentry" to be returned with the result...
const char * GetNamingContexts()
Performs an LDAPSearch with the attribute "namingContexts" to be returned with the result...
Int_t RenameEntry(const char *dn, const char *newrdn, Bool_t removeattr=kFALSE)
Renames the entry with specified DN, the entry must be leaf Be sure that you are bound with the write...
TLDAPResult * GetObjectClasses()
Calls GetSubschemaSubentry() and performs and LDAPSearch with the attribute "objectClasses" to be ret...
#define ClassDef(name, id)
Int_t ModifyEntry(TLDAPEntry &entry, Int_t mode=LDAP_MOD_REPLACE)
Modifies specified entry.
Int_t DeleteEntry(const char *dn)
Deletes the entry with specified DN, the base entry must exist.
virtual ~TLDAPServer()
If the object is connected to the server, it disconnects.
TLDAPServer & operator=(const TLDAPServer &)
Equal operator.
void Unbind()
Unbinds from the server with specified binddn and password.
static void DeleteMods(LDAPMod **mods)
Deletes the array of LDAPMod structures and frees its memory.
Mother of all ROOT objects.
Int_t Bind()
Binds to the server with specified binddn and password.
Int_t AddEntry(TLDAPEntry &entry)
Adds entry to the LDAP tree.
TLDAPServer(const TLDAPServer &)
Copy constructor.