2023-05-28T12:01:12.003Z ERROR websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.idm.server.IdentityManager]
Failed to authenticate principal [test-sso@vsphere.local] for tenant [vsphere.local] javax.security.auth.login.LoginException: Login failed
:
2023-05-28T12:01:12.017Z INFO websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.diagnostics.VmEventAppender] EventLog: source=[VMware Identity Server], tenant=[vsphere.local], eventid=[USER_NAME_PWD_AUTH_FAILED], level=[ERROR], category=[VMEVENT_CATEGORY_STS], text=[ParameterizedMessage[messagePattern=Failed to authenticate principal [{}]. User account locked., stringArgs=[test-sso@vsphere.local], throwable=null]], detailText=[null], corelationId=[c55692bf-76fe-421d-ab5f-9947c32ddf9c], timestamp=[1685275272017]
2023-05-28T12:01:12.017Z ERROR websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.idm.server.IdentityManager] Failed to authenticate principal [test-sso@vsphere.local]. User account locked.
2023-05-28T12:01:12.017Z INFO websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.idm.server.IdentityManager] Authentication failed for user [test-sso@vsphere.local] in tenant [vsphere.local] in [43] milliseconds with provider [vsphere.local] of type [com.vmware.identity.idm.server.provider.vmwdirectory.VMwareDirectoryProvider]
2023-05-28T12:01:12.017Z ERROR websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.idm.server.ServerUtils] Exception 'com.vmware.identity.idm.UserAccountLockedException: User account locked: {Name: test-sso, Domain: vsphere.local}'
com.vmware.identity.idm.UserAccountLockedException: User account locked: {Name: test-sso, Domain: vsphere.local}
:
2023-05-28T12:01:12.024Z ERROR websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.samlservice.impl.CasIdmAccessor] Caught exception.
com.vmware.identity.idm.UserAccountLockedException: User account locked: {Name: test-sso, Domain: vsphere.local}
:
2023-05-28T12:01:12.030Z INFO websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [auditlogger] {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:01:12 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:01:12.030Z ERROR websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.samlservice.AuthnRequestState] Caught Exception from authenticate com.vmware.identity.samlservice.SamlServiceException
2023-05-28T12:01:12.030Z INFO websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.samlservice.impl.SAMLAuthnResponseSender] Responded with ERROR 401 message 無効な認証情報
2023-05-28T12:01:12.030Z INFO websso[40:tomcat-http--3] [CorId=c55692bf-76fe-421d-ab5f-9947c32ddf9c] [com.vmware.identity.BaseSsoController] End processing SP-Initiated SSO response. Session not created.
以下のログからは、”192.168.0.11″ の IP アドレスを持つ、端末から ログインに失敗しているということが分かります。
2023-05-28T12:00:39.319Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:39 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:41.163Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:41 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:42.628Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:42 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:44.153Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:44 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:45.323Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:45 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in: Forbidden","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:56.290Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:56 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:58.139Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:58 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:00:59.720Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:00:59 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-05-28T12:01:12.030Z {"user":"test-sso@vsphere.local","client":"192.168.0.11","timestamp":"05/28/2023 12:01:12 GMT","description":"User test-sso@vsphere.local@192.168.0.11 failed to log in with response code 401","eventSeverity":"INFO","type":"com.vmware.sso.LoginFailure"}
2023-06-04T15:25:04.394: INFO AuthenticationResult = { authenticated=True, userid=False username=root, role=superAdministrator, renew=False, auth_method=LOCAL }
2023-06-04T15:25:06.542: INFO User Password Authentication request for user : root
2023-06-04T15:25:10.529: ERROR Authentication Status : Failed
2023-06-04T15:25:44.202: INFO User Password Authentication request for user : root
2023-06-04T15:25:47.284: ERROR Authentication Status : Failed
2023-06-04T15:25:48.749: INFO User Password Authentication request for user : root
2023-06-04T15:25:52.927: ERROR Authentication Status : Failed
2023-06-04T15:25:54.292: INFO User Password Authentication request for user : root
2023-06-04T15:25:59.451: ERROR Authentication Status : Failed
2023-06-04T15:26:00.996: INFO User Password Authentication request for user : root
2023-06-04T15:26:05.132: ERROR Authentication Status : Failed
2023-06-04T15:26:06.773: INFO User Password Authentication request for user : root
2023-06-04T15:26:11.230: ERROR Authentication Status : Failed
2023-06-04T15:26:12.708: INFO User Password Authentication request for user : root
2023-06-04T15:26:18.149: ERROR Authentication Status : Failed
SS@MacBookPro ~ % ssh administrator@vsphere.local@192.168.0.181
VMware vCenter Server 7.0.3.01000
Type: vCenter Server with an embedded Platform Services Controller
(administrator@vsphere.local@192.168.0.181) Password:
Last login: Sun Jun 4 15:45:58 2023 from 192.168.0.11
Connected to service
* List APIs: "help api list"
* List Plugins: "help pi list"
* Launch BASH: "shell"
Command> shell.set --enabled true
Command> shell
---------- !!!! WARNING WARNING WARNING !!!! ----------
Your use of "pi shell" has been logged!
The "pi shell" is intended for advanced troubleshooting operations and while
supported in this release, is a deprecated interface, and may be removed in a
future version of the product. For alternative commands, exit the "pi shell"
and run the "help" command.
The "pi shell" command launches a root bash shell. Commands within the shell
are not audited, and improper use of this command can severely harm the
system.
Help us improve the product! If your scenario requires "pi shell," please
submit a Service Request, or post your scenario to the
Resetting root password in vCenter Server Appliance 6.5 / 6.7 / 7.x / 8.x (2147144) https://kb.vmware.com/s/article/2147144 -> Changes in 8.0 U2 and above versions: