Zetect Admin Guide Back to zetect.inSwitch portal ⇄

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.

Required permission

Providers – View in an administrator group to see providers, and Providers – Add, Edit or Delete to change them.

Limits

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

Authentication Providers page

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:

  1. Go to Authentication → Providers.
  2. Select Add Provider.
  3. Choose LDAP.
  4. Enter a Name and an optional Description, and leave Enabled on.
  5. Under Server, enter the Host and Port, and turn on Use SSL or Use StartTLS for an encrypted connection.
  6. Under Bind Credentials, enter the Bind DN and Bind Password.
  7. Under Directory, enter the Base DN, and optionally a User Search Filter and User Search Base.
  8. Under Attribute Mapping, enter the Username Attribute and Email Attribute.
  9. 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:

  1. Go to Authentication → Providers.
  2. Select Add Provider.
  3. Choose External IDP.
  4. Enter a Name and an optional Description, and leave Enabled on.
  5. Under Identity Provider (IdP), enter the IdP Entity ID, IdP SSO URL and IdP Certificate.
  6. Under Service Provider (SP), copy the SP Entity ID and SP ACS URL into your IdP.
  7. Under Settings, choose the Name ID Format, and turn Sign Requests and Want Assertions Signed on or off.
  8. Under User Matching, choose the identity attribute that NameID maps to.
  9. 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

FieldDescription
Zetect StoreThe built-in identity store. It checks passwords against Zetect. It is the Default provider.
Host / PortLDAP server address and port. Host is required.
Bind DN / Bind PasswordThe service account used to search the directory.
Base DNWhere the directory search starts. Required.
User Search Filter / User Search BaseHow and where users are found in the directory.
Username Attribute / Email AttributeThe 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 URLThe external IdP's identifier and sign-in URL. Both are required.
IdP CertificateThe IdP's signing certificate, used to verify its responses.
SP Entity ID / SP ACS URLGenerated from your Zetect URL. Configure these values in your IdP.
Name ID FormatEmail Address, Persistent, Transient or Unspecified.
Sign Requests / Want Assertions SignedSign outgoing requests with the tenant certificate from Configuration → Certificate, and require signed assertions from the IdP. See SAML Signing Certificate.
NameID maps toThe Zetect identity attribute matched against the NameID to find the user. Required.

Example — Corporate directory

NameCorporate AD
TypeLDAP
Host / Portdc01.corp.example.com / 636, Use SSL
Base DNDC=corp,DC=example,DC=com
Username AttributesAMAccountName

Editing, disabling and deleting a provider

To change a provider:

  1. Go to Authentication → Providers.
  2. To change its settings, select Edit on the provider, change it and save.
  3. 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.