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

ePO Scripting Drive Encryption Failed

Jump to solution

Hi,

I tried my best to get the curl script command for assignments in Drive Encryption right, but I always get the OK: Failed message.

My syntax in cmd.exe is like this:

curl -k -u epouser:pw https://servername:8443/remote/eeadmin.assignUser?systemNode=True^&nodeId=computername^&dn="CN=User,CN=Users,DC=domain.local"^&ldapServerName=servername

 

I just want to assign a user from LDAP to a system (computer). What I am doing wrong?

 

Thank you!

 

2 Solutions

Accepted Solutions
JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 5 of 7

Re: ePO Scripting Drive Encryption Failed

Jump to solution

Apologies for the late reply.  I spoke to a colleague with MDE experience and we believe the problem might be the way that you're defining the computer. Are you specifying it by name? If so that would explain it - the nodeId value needs to be an integer, which corresponds to the leafnode ID of the machine in question.

You can find the correct ID using the system.find command, and then use this value in the eeadmin.assignUser command.

View solution in original post

Re: ePO Scripting Drive Encryption Failed

Jump to solution
Thanks you for the helpfull answer! You were absolutely right, I used the system.find command and used the int value from "System Location", then it worked. Seems it wont work with the system name in ePO, you have to use the int number.

View solution in original post

6 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 7

Re: ePO Scripting Drive Encryption Failed

Jump to solution

Re: ePO Scripting Drive Encryption Failed

Jump to solution

This link has nothing in common with the topic..?

Former Member
Not applicable
Report Inappropriate Content
Message 4 of 7

Re: ePO Scripting Drive Encryption Failed

Jump to solution

Apologies , That was for another thread.

Yes this is not related with the topic.

JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 5 of 7

Re: ePO Scripting Drive Encryption Failed

Jump to solution

Apologies for the late reply.  I spoke to a colleague with MDE experience and we believe the problem might be the way that you're defining the computer. Are you specifying it by name? If so that would explain it - the nodeId value needs to be an integer, which corresponds to the leafnode ID of the machine in question.

You can find the correct ID using the system.find command, and then use this value in the eeadmin.assignUser command.

View solution in original post

Re: ePO Scripting Drive Encryption Failed

Jump to solution
Thanks you for the helpfull answer! You were absolutely right, I used the system.find command and used the int value from "System Location", then it worked. Seems it wont work with the system name in ePO, you have to use the int number.

View solution in original post

JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 7 of 7

Re: ePO Scripting Drive Encryption Failed

Jump to solution

Excellent, glad it's working for you now 🙂

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community