AnsweredAssumed Answered

"Bad net path Error" when you synchronize admin account with windows proxy agent

Question asked by JulianRiano on Aug 15, 2018
Latest reply on Oct 19, 2018 by JulianRiano
Hi Community

I'm doing the registration and synchronization process for administrator accounts in endpoint windows, but for some the "PAM CM-1119: Error"error is generated, reviewing the tomcat log trace the following information WindowsAgent: Error: 4678 : 53-ERROR_BAD_NETPATH
Aug 15, 2018 2:59:14 PM com.cloakware.cspm.server.app.impl.la c
SEVERE: UpdateTargetAccountCmd.invoke 4678: 53-ERROR_BAD_NETPATH
null
Aug 15, 2018 2:59:14 PM com.cloakware.cspm.server.app.impl.la c
SEVERE: UpdateTargetAccountCmd.invoke Error
com.cloakware.cspm.server.app.ApplicationException: UpdateTargetAccountCmd.invoke Failed to synchronize password with target
    at com.cloakware.cspm.server.app.impl.la.c(SourceFile:965)
    at com.cloakware.cspm.server.app.impl.aa.invokeCommand(SourceFile:263)
    at com.cloakware.cspm.server.app.impl.aa.invokeCommand(SourceFile:122)
    at com.cloakware.cspm.server.app.impl.aa.invokeCommand(SourceFile:114)
    at com.cloakware.cspm.server.app.impl.aa.invokeCommand(SourceFile:110)
    at com.ca.pam.rest.TargetAccountService.update(SourceFile:361)
    at sun.reflect.GeneratedMethodAccessor499.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
    at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.filters.ExpiresFilter.doFilter(ExpiresFilter.java:1179)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.ca.pam.RestAuthenticationFilter.doFilter(SourceFile:259)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.ca.pam.AuthFilter.doFilter(SourceFile:102)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.ca.pam.CSRFFilter.doFilter(SourceFile:89)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at com.ca.pam.EncodingFilter.doFilter(SourceFile:18)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2476)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2465)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)

Aug 15, 2018 2:59:14 PM com.ca.pam.rest.PAUtil generateExceptionFromAppCtx
SEVERE: UpdateTargetAccountCmd.invoke Failed to synchronize password with target
Time = Tue Jul 24 15:05:21 UTC 2018
Time = Tue Jul 24 15:25:49 UTC 2018
Time = Tue Jul 24 15:27:32 UTC 2018
Time = Tue Jul 24 15:29:13 UTC 2018
WindowsAgent: Error: 4678 : 53-ERROR_BAD_NETPATH
Aug 15, 2018 3:34:36 PM com.cloakware.cspm.server.app.impl.la c
SEVERE: UpdateTargetAccountCmd.invoke 4678: 53-ERROR_BAD_NETPATH
null
When reviewing the agent's log the following information is displayed

Client Daemon Event Log:
WARNING: mié agosto 15 09:57:34.739 COT 2018 ClientDaemonManager::main. Cache file: C:\cspm\cloakware\cspmclient\config\data\.cspmclient.dat does not exist
WARNING: mié agosto 15 09:59:12.973 COT 2018 CSPMAgentService::verifyWindowsAccountPassword. Operation not successful, message: 53-ERROR_BAD_NETPATH
WARNING: mié agosto 15 10:34:34.493 COT 2018 CSPMAgentService::verifyWindowsAccountPassword. Operation not successful, message: 53-ERROR_BAD_NETPATH
WARNING: mié agosto 15 10:39:05.338 COT 2018 CSPMAgentService::listAccounts. End of operation, message: 172.19.3.64 : -2147023174-RPC_S_SERVER_UNAVAILABLE

Outcomes