- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
08-04-2019 10:14 PM
I wanted to understand how CPM handles this on the back end . Does CPM elevate the account access by adding it to the Admin group or does it provision a new temporary account. I could not find a clear explanation for the same in any of the documents.
08-05-2019 01:15 AM
Hi @Himmat Bindra , CPM adds the currently logged on AD user to the local Administrators group of the target machine. In the end, the AD account you use to access CyberArk is added onto the target machine and you can connect directly to it with your own username+password.
Description and configuration of the feature is described here: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/adhoc_access_admin.htm...
08-05-2019 01:15 AM
Hi @Himmat Bindra , CPM adds the currently logged on AD user to the local Administrators group of the target machine. In the end, the AD account you use to access CyberArk is added onto the target machine and you can connect directly to it with your own username+password.
Description and configuration of the feature is described here: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/adhoc_access_admin.htm...
08-05-2019 11:58 PM
Thank you for the clear explanation!
12-03-2019 04:05 AM
@hbind would you able to configure the JIT and is it working. i find the step 3, 4 and 5 in the above link very confusing.
Would you mind spread some light with examples.
01-08-2020 07:02 AM
ssiegl (CyberArk) - Which Version(s) of CyberArk support this? Is it 11.x only or does 10.x support this JIT configuration?
01-09-2020 06:41 AM
It came out with PAS v10.6. You will need Vault+CPM+PVWA in 10.6+ to benefit from this feature.
01-19-2020 03:30 AM
Hi ssigel,
In the documentation it is mentionned:
"Define a Domain Admin account as the reconciliation account on the platform level"
Must the reconciliation account be a domain admin account or it can be a domain account with admin privileges on the target machine ?
I'm using domain account with saml and MFA, LDAP auth is disabled. Can I even be able to use JIT access or do I need to enable LDAP authentication and use ad account with its password ?
Thanks in advance.
01-20-2020 01:28 AM
Hi @Mustapha EL HACHIMI, I think the documentation is not very clear but I would suggest to try your second option: domain account with administrative privileges on the target server.
Also, authentication on PVWA does not matter. If you are logged in as "MEH" on the PVWA, the CPM Scanner will add the domain account "MEH" in the local Administrators group of the target server you've requested the ad hoc access to. You will be fine with SAML.
01-20-2020 02:41 AM
Hi,
Thanks a lot for your time and answer.
I did configuration as mentionned in the documentation.
I'm experiencing this error in the cpmscanner log file.
"System.Runtime.InteropServices.COMException (0x80070005): Access is denied."
Full error is:
20/01/2020 11:37:14.179 | tid=9402 | user=CACPMScanner | AdHocAddUserTaskHandler | ExecutePluginAction | InProcess | Exception - System.Runtime.InteropServices.COMException (0x80070005): Access is denied.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
at AdHocAccess.MachineGroupManagement.RunMachineGroupActionAsUser(String targetMachine, String targetMachineLocalAdminName, SecureString targetMachineLocalAdminPass, Boolean isDomainAccount, String domain, Action`1 action)
at CyberArk.CPMScanner.EPVTasks.AdHoc.AdHocAddUserTaskHandler.ExecutePluginAction()
Thanks.
Mustapha.
01-21-2020 05:31 AM
Has anyone tried this solution for JIT admin access on workstations?
01-29-2020 01:25 PM
Hi,
JITA works when everything is in the same domain and when you are using ldap authentication with samaccountname or UPN. TCP 445 must be enabled from the CPM to the targert server or workstation and the CPM scanner mut be running and able to post API request to the pvwa webservice.
The reconcile account must be in the same domain as the target machine and the user requesting the access.
If you run tests in a simple domain it will work for you. But if you have a forest and the user is in a domain different from the one of the target or the reconcile account, you will be facing issues.
Or if you are using MFA with saml or radius you may also be facing some issues.
Kind regards.
06-24-2020 09:57 AM
If JIT plants the currently logged on PVWA user to a server, wouldn't that propagate password hashes of workstation accounts to servers? Is there an option to create a temporary account with a strong password that is purged after JIT expires?
05-18-2022 08:22 AM
What kind of issues do you mean in combination with SAML ?
05-19-2022 01:31 AM
Did you find the problem ?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

