Saltar al contenido principal
El archivo principal de configuración del AD/LDAP Connector es config.json. Puede modificar este archivo para realizar cambios que no están disponibles en la Connector Admin Console de AD/LDAP. También puede consultar este archivo para determinar qué inquilino usa un Connector específico. El archivo se encuentra en el directorio de instalación del AD/LDAP Connector, que (en Windows) suele ubicarse en C:\Program Files (x86)\Auth0\AD LDAP Connector. Este archivo admite la siguiente configuración:
ConfiguraciónDescripciónValor predeterminado
AD_HUBThe Auth0 endpoint to which the connector will connect. This value is maintained by the connector.
CA_CERTAn authority certificate or array of authority certificates to check the remote host against.
CLIENT_CERT_AUTHSpecifies if Client Certificate Authentication is enabled or not. This value is configured in Auth0 and maintained by the connector.
CONNECTIONThe name of the connection in Auth0 which is linked to this instance of the connector. This value is maintained by the connector.
CONNECTIONS_API_V2_KEYA Management API token used to call the Get a connection endpoint. Set this when you need to troubleshoot the connector. This compares the local certificate to the one configured in Auth0 and detects a possible mismatch.
FIREWALL_RULE_CREATEDSet to true once the Firewall rule has been created for the Kerberos Server (only when Kerberos is enabled).
GROUPSInclude the user’s groups when enriching the profile.true
GROUP_PROPERTYThe attribute of the group object used when adding the groups to a user.cn
GROUPS_CACHE_SECONDSTotal time in seconds to cache a user’s groups.600 seconds.
GROUPS_TIMEOUT_SECONDSThe timeout in seconds for searching all groups a user belongs to.20 seconds
HTTP_PROXYThe proxy server URL if one is required to connect from the AD/LDAP Connector to Auth0.
KERBEROS_AUTHSet if Kerberos Authentication is enabled or not. This value is configured in Auth0 and maintained by the connector.
LAST_SENT_THUMBPRINTThumbprint of the last certificate which was sent to Auth0.
LDAP_BASEDefines the location in the directory where the LDAP search begins. For example: DC=fabrikam,DC=local.
LDAP_BASE_GROUPSDefines the location in the directory where the LDAP groups search begins.
LDAP_BIND_PASSWORDThe password of the LDAP user. This setting is automatically removed after the connector initializes.
LDAP_BIND_CREDENTIALSThe encrypted password of the LDAP user. This setting is automatically added after the connector initializes.
LDAP_BIND_USERThe user for binding a connection to LDAP.
LDAP_HEARTBEAT_SEARCH_QUERYThe LDAP search query used for heartbeat checks.(&(objectclass=user)(|(sAMAccountName=foo)(UserPrincipalName=foo)))
LDAP_HEARTBEAT_SECONDSTime in seconds to keep the LDAP connection open.
LDAP_SEARCH_ALL_QUERYThe LDAP query used to list all users in the LDAP store.(objectCategory=person)
LDAP_SEARCH_GROUPSThe LDAP query used to find groups in the LDAP store. For example: (&(objectCategory=group)(member={0}))(member:1.2.840.113556.1.4.1941:={0})
LDAP_SEARCH_QUERYThe LDAP query used to find users in the LDAP store. This query requires filters for the search to work correctly. If you do not configure filters, Auth0 does not send blocked account notification emails.(&(objectCategory=person)(anr={0}))
LDAP_USER_BY_NAMEThe LDAP query used to find the user during authentication. This setting lets you specify which attribute is considered the user’s username. For example, like the common name: the sAMAccountName, UPN, et cetera. This setting also supports multiple values for an OR search, for example: (|(sAMAccountName={0})(userPrincipalName={0}))(sAMAccountName={0})
LDAP_URLThe LDAP connection string. For example: ldap://fabrikam-dc.fabrikam.local.
PORTThe port the server runs on when Kerberos or Client Certificate Authentication is enabled.
PROVISIONING_TICKETThe Auth0 provisioning ticket used to communicate with Auth0.
REALMThe Auth0 realm, for example: urn:auth0:fabrikam. This value is maintained by the connector.
SERVER_URLThe default connector URL will be server-name:port, but this setting allows you to overwrite this. For example: connector.mycompany.com.
SESSION_SECRETThe session secret used to encrypt the session cookie.
SITE_NAMECuando la autenticación con certificado de cliente está habilitada, pero no puede realizarse, AD Connector mostrará una página de inicio de sesión alternativa. Esta configuración le permite especificar el título que se mostrará en la parte superior de la página.Nombre de la conexión de AD.
SSL_CA_PATHRuta absoluta del directorio base donde se encuentran los archivos de certificado de la CA.
SSL_KEY_PASSWORDLa contraseña del certificado SSL.
SSL_PFXCertificado codificado en Base64 que se usará para SSL.
TENANT_SIGNING_KEYLa clave de firma de su inquilino de Auth0 que se utiliza para verificar JWT.
WSFED_ISSUEREl emisor que se establece en las respuestas de WS-Federation. Si una conexión está configurada con dominios de correo electrónico, el primer dominio de correo electrónico configurado en Auth0 se usará como emisor.urn:auth0
Consulte Active Directory: filtros de sintaxis LDAP para obtener más información sobre las consultas LDAP.