Logo Search packages:      
Sourcecode: lat version File versions  Download package

Public Member Functions | Properties | Private Member Functions | Static Private Member Functions | Private Attributes

lat::LdapServer Class Reference

The main class that encapsulates the connection to a directory server through the Ldap protocol. More...

Collaboration diagram for lat::LdapServer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Add (LdapEntry entry)
void Bind (string userName, string userPass)
 Binds to the directory server with the given user name and password.
void Connect (EncryptionType encryptionType)
 Connects to the directory server.
void Copy (string oldDN, string newRDN, string parentDN)
 Copy a directory entry.
void Delete (string dn)
 Deletes a directory entry.
void Disconnect ()
 Disconnects from a directory server.
LdapSchema GetSchema ()
string GetSchemaDN ()
 LdapServer (string hostName, int hostPort, string serverType)
 LdapServer (ConnectionData connectionData)
 LdapServer (string hostName, int hostPort, string dirRoot, string serverType)
void Modify (string dn, LdapModification[] mods)
 Modifies the specified entry.
void Move (string oldDN, string newRDN, string parentDN)
 Moves the specified entry.
void Rename (string oldDN, string newDN, bool saveOld)
 Renames the specified entry.
LdapEntry[] Search (string searchBase, int searchScope, string searchFilter, string[] searchAttrs)
 Searches the directory.
void StartTLS ()
 Tries to upgrade to an encrypted connection.

Properties

ActiveDirectoryInfo ADInfo [get]
string AuthDN [get]
bool Bound [get]
bool Connected [get]
string DefaultSearchFilter [get]
string DirectoryRoot [get]
EncryptionType Encryption [get, set]
string Host [get]
int Port [get, set]
string ProfileName [get, set]
int Protocol [get]
LdapServerType ServerType [get]
string ServerTypeString [get]
bool UseSSL [get, set]

Private Member Functions

void QueryRootDSE ()
void SetActiveDirectoryInfo (LdapEntry dse)
void SetServerType ()

Static Private Member Functions

static bool SSLHandler (Syscert.X509Certificate certificate, int[] certificateErrors)

Private Attributes

ActiveDirectoryInfo adInfo
LdapConnection conn
string defaultSearchFilter
EncryptionType encryption
string host
LdapServerType ldapServerType
int port
string profileName
string rootDN
string schemaDN
string sType

Detailed Description

The main class that encapsulates the connection to a directory server through the Ldap protocol.

Definition at line 50 of file LdapServer.cs.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index