Policy Server Guides › Policy Server Administration Guide › Policy Server Tools › Manage an LDAP Policy Store Using 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 commandline 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
- 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
- Remove the SiteMinder schema by executing the following command:
smldapsetup ldmod -fldif