Previous Topic: Make an Alias Point To a Different Entry

Next Topic: read-req Command—Read an Entry

rem-entry-req Command—Delete an Entry

Use the rem-entry-req command to remove a leaf entry from the directory.

If the leaf entry is an alias, the alias is removed.

If the DSA has alias integrity enabled, when you delete an entry all aliases of the entry are also deleted.

You can delete a subtree by deleting leaves recursively, or by using another tool, such as the DXmodify tool.

The command has the following format:

rem-entry-req 
	entry = DN 
	[common-args] 
	;
entry=DN

Defines the distinguished name of the entry. DN is expressed in X.500 format.

common-args = {common-args}

See the description of common -args in read-req Command.

Example: Remove Service for Organizational Unit

To remove the organizational unit Sales from the organization Democorp:

rem-entry-req
	entry =	<countryName "AU">
		<organizationName "Democorp">
		<organizationalUnitName "Sales">;

Example: Delete an Alias That Points to an Entry

rem-entry-req
	entry = <countryName "AU">
		<organizationName "Democorp">
		<commonName "Brendan Randall">;

More Information:

set alias-integrity Command—Set the DSA to Manage the Integrity of Aliases