Quando si tenta di accedere a Splunk utilizzando un account di Active Directory (ADSI), viene ricevuto il messaggio 'accesso non riuscito'.
Problema di autenticazione con Active Directory.
È possibile eseguire l'accesso utilizzando l'account Splunk Admin locale.
Due server LDAP (Active Directory). I messaggi di errore ricevuti nei file splunkd.log erano i seguenti:
"ldap1" (server LDAP primario)
50814 09/24/2019 18:00:20.835 10/01/2019 09:00:42.171 splunkd ERROR ScopedLDAPConnection 10-01-2019 12:00:42.171 +0300 ERROR ScopedLDAPConnection - strategy="ldap1" Error binding to LDAP. reason="Invalid credentials"1 09/30/2019 05:30:39.009 09/30/2019 05:30:39.009 splunkd WARN ScopedLDAPConnection 09-30-2019 08:30:39.009 +0300 WARN ScopedLDAPConnection - strategy="ldap1" Bind took longer than seems reasonable (15034 milliseconds). Might indicate slow ldap server.Bind took longer than seems reasonable (15034 milliseconds). Might indicate slow ldap server.
"ldap2" (server LDAP secondario)
50814 09/24/2019 18:00:20.841 10/01/2019 09:00:42.175 splunkd ERROR ScopedLDAPConnection 09-29-2019 10:20:29.846 +0300 ERROR ScopedLDAPConnection - strategy="ldap2" Error binding to LDAP. reason="Invalid credentials"
COUNT EARLIEST LATEST SOURCETYPE LOG_LEVEL COMPONENT MESSAGE punct
101628 09/24/2019 18:00:20.835 10/01/2019 09:00:42.175 splunkd ERROR ScopedLDAPConnection 09-29-2019 10:20:29.846 +0300 ERROR ScopedLDAPConnection - strategy="ldap2" Error binding to LDAP. reason="Invalid credentials"163 09/28/2019 00:01:13.334 10/01/2019 09:01:13.093 splunkd WARN SearchOperator:inputcsv 09-29-2019 10:01:14.767 +0300 WARN SearchOperator:inputcsv - sid: The lookup table 'ldap_auto_identities_lookup' is invalid.16 09/25/2019 10:29:32.567 10/01/2019 08:41:47.927 splunkd ERROR UserManagerPro 09-30-2019 09:46:56.503 +0300 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="peter" on any configured servers2 09/30/2019 06:42:04.005 09/30/2019 06:42:04.005 splunkd ERROR UserManagerPro 09-30-2019 09:42:04.005 +0300 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="support" on any configured servers2 09/25/2019 10:30:10.113 09/25/2019 10:30:10.113 splunkd ERROR UserManagerPro 09-25-2019 13:30:10.113 +0300 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="adserver\bob" on any configured servers1 09/30/2019 05:30:39.009 09/30/2019 05:30:39.009 splunkd WARN ScopedLDAPConnection 09-30-2019 08:30:39.009 +0300 WARN ScopedLDAPConnection - strategy="ldap1" Bind took longer than seems reasonable (15034 milliseconds). Might indicate slow ldap server.1 09/25/2019 10:30:20.406 09/25/2019 10:30:20.406 splunkd ERROR UserManagerPro 09-25-2019 13:30:20.406 +0300 ERROR UserManagerPro - LDAP Login failed, could not find a valid user="bob@company.com" on any configured servers
Per quanto riguarda il seguente messaggio di errore, è stato effettuato un tentativo di riautenticare la strategia LDAP/ADSI in Windows per assicurarsi che non fosse stata bloccata e che la password non fosse scaduta.
ERROR ScopedLDAPConnection "Error binding to LDAP. reason="Invalid credentials""
authentication.conf è stato rivisto e bindDN, groupBaseDN, userBaseDN non corrisponde ai valori OU (Organizational Unit) in Active Directory.
I valori dell'unità organizzativa in Active Directory sono stati modificati da un membro del team e non corrispondono più a quelli presenti in authentication.conf.
Dopo aver modificato i valori dell'unità organizzativa nel file authentication.conf in modo che corrispondano a quelli di Active Directory, è possibile eseguire l'accesso con un account utente di Active Directory.
| Revisione | Data di pubblicazione | Commenti |
|---|---|---|
1.0 |
28-Sep-2026
|
Versione iniziale |