LDAP server configuration interface.
ServerType
LDAP server type.
@ ACTIVE_DIRECTORY
Active directory.
SecurityProtocol
LDAP server type.
@ SEC_PROTO_NONE
no security protocol
@ SEC_PROTO_STARTTLS
use STARTTLS
constant int ERR_NO_KNOWN_ROLES
No known rules are defined for the user.
constant int ERR_NO_ROLES
No roles are defined for the user.
constant int ERR_SERVER_UNREACHABLE
LDAP server could not be contacted.
int setLdapServers(in vector< ServerSettings > serverList)
Sets a list of LDAP servers.
int testLdapServer(in string username, in string password, in ServerSettings settings, out string diagMsg)
Tests an LDAP server configuration.
constant int ERR_SERVER_UNSPECIFIED
Unspecified error.
constant int ERR_CYCLIC_DEP
Cyclic dependency in server list (not used anymore)
constant int ERR_INVALID_CFG
The server configuration is invalid.
constant int ERR_AUTHENTICATION_FAILED
User could not be authenticated.
vector< ServerSettings > getLdapServers()
Get a list of LDAP server settings.
Local and Remote Authentication Management.
ServerType type
Type of LDAP server.
string groupSearchFilter
Group search subfilter.
string groupMemberAttr
Group member attribute.
boolean supportNestedGroups
Support nested groups (only if groupInfoInUserEntry is true)
boolean forceTrustedCert
Enforce trusted certificates.
string userSearchFilter
User search subfilter.
string server
IP or name of ldap server.
string certificate
Certificates.
boolean groupInfoInUserEntry
Group membership info in user entry.
string groupEntryObjClass
Group entry object class.
int port
Server port (only for SEC_PROT_NONE and SEC_PROT_STARTTLS)
boolean allowOffTimeRangeCerts
allow expired and not yet valid certificates
int sslPort
SSL port (only for SEC_PROT_SSL)
string loginNameAttr
Login name attribute.
string bindPwd
Bind password.
string adsDomain
ADS domain.
string userEntryObjClass
User entry object class.
boolean useAnonymousBind
use anonymous bind
string searchBaseDN
Base DN for search.
SecurityProtocol secProto
Security protocol.