2N/A<?
xml version="1.0" encoding="UTF-8"?>
2N/A ! The contents of this file are subject to the terms of the 2N/A ! Common Development and Distribution License, Version 1.0 only 2N/A ! (the "License"). You may not use this file except in compliance 2N/A ! See the License for the specific language governing permissions 2N/A ! and limitations under the License. 2N/A ! When distributing Covered Code, include this CDDL HEADER in each 2N/A ! If applicable, add the following below this CDDL HEADER, with the 2N/A ! fields enclosed by brackets "[]" replaced with your own identifying 2N/A ! Portions Copyright [yyyy] [name of copyright owner] 2N/A ! Copyright 2015 ForgeRock AS. 2N/A version="5.0" xml:
lang="en" 2N/A <
title>Examples</
title>
2N/A The following command deletes a user entry from the directory.
2N/A$ <
userinput>ldapdelete -p 1389 -D "cn=Directory Manager" -w password \
2N/A uid=bjensen,ou=people,dc=example,dc=com</
userinput>
2N/A<
computeroutput>Processing DELETE request for uid=bjensen,ou=people,dc=example,dc=com
2N/ADELETE operation successful for DN uid=bjensen,ou=people,dc=example,dc=com</
computeroutput>
2N/A The following command deletes the <
literal>ou=Groups</
literal> entry
2N/A and all entries underneath <
literal>ou=Groups</
literal>.
2N/A$ <
userinput>ldapdelete -p 1389 -D "cn=Directory Manager" -w password -x \
2N/A ou=groups,dc=example,dc=com</
userinput>
<
computeroutput>Processing DELETE request for ou=groups,dc=example,dc=com
DELETE operation successful for DN ou=groups,dc=example,dc=com</
computeroutput>