public LdapServer(string hostName, int hostPort, string dirRoot, string serverType) { conn = new LdapConnection(); host = hostName; port = hostPort; rootDN = dirRoot; sType = serverType; adInfo = new ActiveDirectoryInfo(); SetServerType(); }
public LdapServer(string hostName, int hostPort, string serverType) { conn = new LdapConnection(); host = hostName; port = hostPort; sType = serverType; rootDN = null; encryption = EncryptionType.None; adInfo = new ActiveDirectoryInfo(); SetServerType(); }
public LdapServer(ConnectionData connectionData) { conn = new LdapConnection(); host = connectionData.Host; port = connectionData.Port; sType = Util.GetServerType(connectionData.ServerType); encryption = connectionData.Encryption; if (connectionData.DirectoryRoot != "") { rootDN = connectionData.DirectoryRoot; } profileName = connectionData.Name; adInfo = new ActiveDirectoryInfo(); SetServerType(); }
public LdapServer(ConnectionData connectionData) { conn = new LdapConnection (); host = connectionData.Host; port = connectionData.Port; sType = Util.GetServerType (connectionData.ServerType); encryption = connectionData.Encryption; if (connectionData.DirectoryRoot != "") rootDN = connectionData.DirectoryRoot; profileName = connectionData.Name; adInfo = new ActiveDirectoryInfo (); SetServerType (); }
public LdapServer(string hostName, int hostPort, string dirRoot, string serverType) { conn = new LdapConnection (); host = hostName; port = hostPort; rootDN = dirRoot; sType = serverType; adInfo = new ActiveDirectoryInfo (); SetServerType (); }
public LdapServer(string hostName, int hostPort, string serverType) { conn = new LdapConnection (); host = hostName; port = hostPort; sType = serverType; rootDN = null; encryption = EncryptionType.None; adInfo = new ActiveDirectoryInfo (); SetServerType (); }