Sample LDAP Command To Delete An Acid From the CA Top Secret Security File?

Document ID : KB000053607
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

Trying to delete an acid from CA Top Secret Security File using LDAP, but receiving the following error message:

Delete Result:

Invalid DN syntax (34)

Following is the ldapdelete script I have tried that caused the above error:

ldapdelete -x -D cn=c744614 -W -H ldaps://mvst.principal.com:636 -f
/MVST/tmp/tss.del

The contents of the tss.del file is:

tssacid=s027922,host=tsst,dc=principal,dc=com

Obviously my syntax is incorrect somewhere. Do you have an example?

Solution

The contents of tss.del file should contain the following:

tssacid=xxxxxxxx,tssadmingrp=acids,host=yyyyyyyy,o=zzzzzzzz,c=us
xxxxxxx - acid
yyyyyyy- host name
zzzzzzzz- company name