Installation and Upgrade Guides › Policy Server Installation Guide › Policy Server Tools › smldapsetup › Remove the SiteMinder Policy Store using smldapsetup
Remove the SiteMinder Policy Store using smldapsetup
To remove the SiteMinder policy store data and schema from an LDAP directory, you must first delete the data, then remove the schema.
Important!
- Before removing the SiteMinder policy store data, be sure that the Policy Server is pointing to the policy store that contains the data you want to delete. smldapsetup will remove the data from the policy store to which the Policy Server is pointing. Additionally, export the policy store data to an output file and create a backup of the file before removing the data.
- If you are running a SiteMinder utility or executable on Windows Server 2008, be sure to open the command–line window with Administrator permissions, even if you are logged into the system as an Administrator. For more information, see the release notes for your SiteMinder component.
To remove the policy store using smldapsetup
- Navigate to the following location:
- (Windows) siteminder_home\bin
- (UNIX) siteminder_home/bin
- siteminder_home
-
Specifies the installed location of SiteMinder.
- Remove the policy store data by entering the following command:
smldapsetup remove -hLDAP_IP_Address -pLDAP_Port
-d LDAP_Admin -wLDAP_Admin_Password -rLDAP_Base_DN
-v
Example: smldapsetup remove -h192.169.125.32 -p552 -d"cn=directory manager" -wfirewall -rdc=ad,dc=test,dc=com -v
Note: Removing the policy store data may take a few moments.
- Generate the LDIF file you will use to delete the schema by entering the following:
smldapsetup ldgen -e -fldif
- ldif
-
Specifies the name of the LDIF file you are generating.
Example: smldapsetup ldgen -e -fdelete.ldif
- Remove the SiteMinder schema by executing the following command:
smldapsetup ldmod -fldif
- ldif
-
Specifies the name of the LDIF file you generated using smldapsetup ldgen
-e.
Example: smldapsetup ldmod -fdelete.ldif
More Information:
Export Policy Data Using smobjexport