CCP IDM OS Authentication with AD User

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CCP IDM OS Authentication with AD User

L5 Sessionator

I have been reading this 000007353 article (i.e. CCP webservice : authenticate with OS User while running REST API call from Unix host.) It mentions that we can use domain account to authenticate and use in Linux boxes to retrieve the password. Does Linux need to be domain joined or not required? Will it be helpful if Linux box is not domain joined or may be IDM joined? Will it work or webservice will fail?

2 REPLIES 2

L5 Sessionator

@Patrick Booth​  and @Robert Stothard​  My linux is IDM joined not windows domain joined and I tried testing. Got below error. Is it supposed to work this way?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>401 - Unauthorized: Access is denied due to invalid credentials.</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} --> </style> </head> <body> <div id="header"><h1>Server Error</h1></div> <div id="content"> <div class="content-container"><fieldset> <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2> <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3> </fieldset></div> </div> </body> </html>

 

L5 Sessionator

Solutions:

It works with domain user even though Linux Box is not domain Joined and below syntax proper for testing.

 

curl -k "https://Cyberark.whitehouse.edu.np/AIMWebService/api/Accounts?AppID=helloworld&Safe=iamthesafe&Object=testmeidiot" -H 'Content-Type: application/json' --ntlm --user "domain\\dummyuser:p@5swOrD" --http1.1

  • 80 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!