Configuring Authentication Providers
Choose where people's first factor is checked: the built-in Zetect Store, an LDAP directory, or an external identity provider over SAML. A provider does nothing on its own. Pick it as the 1st Factor in an auth rule to use it.
Providers – View in an administrator group to see providers, and Providers – Add, Edit or Delete to change them.
The Zetect Store is the default provider and can't be deleted. An external IdP signs in only users who already exist in Zetect.
Adding an LDAP provider
LDAP sign-in is checked through your tenant's agent, so deploy an agent that can reach the directory first.
To add an LDAP provider:
- Go to Authentication → Providers.
- Select Add Provider.
- Choose LDAP.
- Enter a Name and an optional Description, and leave Enabled on.
- Under Server, enter the Host and Port, and turn on Use SSL or Use StartTLS for an encrypted connection.
- Under Bind Credentials, enter the Bind DN and Bind Password.
- Under Directory, enter the Base DN, and optionally a User Search Filter and User Search Base.
- Under Attribute Mapping, enter the Username Attribute and Email Attribute.
- Select Add Provider.
The provider appears in the list. Next, pick it as the 1st Factor in an auth rule.
Adding an external identity provider
To add an external identity provider:
- Go to Authentication → Providers.
- Select Add Provider.
- Choose External IDP.
- Enter a Name and an optional Description, and leave Enabled on.
- Under Identity Provider (IdP), enter the IdP Entity ID, IdP SSO URL and IdP Certificate.
- Under Service Provider (SP), copy the SP Entity ID and SP ACS URL into your IdP.
- Under Settings, choose the Name ID Format, and turn Sign Requests and Want Assertions Signed on or off.
- Under User Matching, choose the identity attribute that NameID maps to.
- Select Add Provider.
Users matched by a rule that uses this provider are redirected to the IdP to sign in. Zetect finds the user by matching the returned NameID against the chosen attribute. No account is created through SAML.
Provider fields
| Field | Description |
|---|---|
| Zetect Store | The built-in identity store. It checks passwords against Zetect. It is the Default provider. |
| Host / Port | LDAP server address and port. Host is required. |
| Bind DN / Bind Password | The service account used to search the directory. |
| Base DN | Where the directory search starts. Required. |
| User Search Filter / User Search Base | How and where users are found in the directory. |
| Username Attribute / Email Attribute | The directory attributes that hold the username and email. |
| Connection Timeout / Read Timeout (ms) | Under Advanced. How long to wait for the directory. |
| IdP Entity ID / IdP SSO URL | The external IdP's identifier and sign-in URL. Both are required. |
| IdP Certificate | The IdP's signing certificate, used to verify its responses. |
| SP Entity ID / SP ACS URL | Generated from your Zetect URL. Configure these values in your IdP. |
| Name ID Format | Email Address, Persistent, Transient or Unspecified. |
| Sign Requests / Want Assertions Signed | Sign outgoing requests with the tenant certificate from Configuration → Certificate, and require signed assertions from the IdP. See SAML Signing Certificate. |
| NameID maps to | The Zetect identity attribute matched against the NameID to find the user. Required. |
Example — Corporate directory
| Name | Corporate AD |
| Type | LDAP |
| Host / Port | dc01.corp.example.com / 636, Use SSL |
| Base DN | DC=corp,DC=example,DC=com |
| Username Attribute | sAMAccountName |
Editing, disabling and deleting a provider
To change a provider:
- Go to Authentication → Providers.
- To change its settings, select Edit on the provider, change it and save.
- To disable, enable or delete it, open the row menu and choose the action.
Troubleshooting
LDAP users can't sign in. Check that an agent is registered and online on Agents. Zetect waits up to 30 seconds for the agent's answer.
SAML sign-in returns an error about the user. The NameID must match a value of the NameID maps to attribute on an existing Zetect identity.
