The following command:
.LP
.nf
- ldapdelete "cn=Delete Me, dc=example, dc=com"
+ ldapdelete "cn=Delete Me,dc=example,dc=com"
.fi
.LP
-will attempt to delete the entry named with commonName "Delete Me"
-directly below the "dc=example, dc=com" entry.
+will attempt to delete the entry named "cn=Delete Me,dc=example,dc=com".
Of course it would probably be necessary to supply authentication
credentials.
.SH DIAGNOSTICS
.BR ldapsearch (1),
.BR ldap (3),
.BR ldap_delete (3)
-.SH BUGS
-There is no interactive mode, but there probably should be.
.SH AUTHOR
The OpenLDAP Project <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
exists and has the contents:
.LP
.nf
- dn: cn=Modify Me, dc=example, dc=com
+ dn: cn=Modify Me,dc=example,dc=com
changetype: modify
replace: mail
mail: modme@OpenLDAP.org
exists and has the contents:
.LP
.nf
- dn: cn=Barbara Jensen, dc=example, dc=com
+ dn: cn=Barbara Jensen,dc=example,dc=com
objectClass: person
cn: Barbara Jensen
cn: Babs Jensen
exists and has the contents:
.LP
.nf
- dn: cn=Barbara Jensen, dc=example, dc=com
+ dn: cn=Barbara Jensen,dc=example,dc=com
changetype: delete
.LP
the command:
.BR ldap_modify (3),
.BR ldap_modrdn (3),
.BR slapd.replog (5)
-.SH BUGS
-There is no interactive mode, but there probably should be.
.SH AUTHOR
The OpenLDAP Project <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
version: 1
# bjensen, example, net
- dn: uid=bjensen, dc=example, dc=net
+ dn: uid=bjensen,dc=example,dc=net
objectClass: person
objectClass: dcObject
uid: bjensen
The output might look something like this if two entries are found:
.LP
.nf
- dn: uid=jts, dc=example, dc=com
+ dn: uid=jts,dc=example,dc=com
cn: John Smith
cn: John T. Smith
sn: Smith
sn;lang-de: Schmidt
telephoneNumber: 1 555 123-4567
- dn: uid=sss, dc=example, dc=com
+ dn: uid=sss,dc=example,dc=com
cn: Steve Smith
cn: Steve S. Smith
sn: Smith
requested attributes is found:
.LP
.nf
- dn: uid=xyz, dc=example, dc=com
+ dn: uid=xyz,dc=example,dc=com
ufn: xyz, example, com
audio:< file::/tmp/ldapsearch-audio-a19924
jpegPhoto:< file::=/tmp/ldapsearch-jpegPhoto-a19924
and printed to standard output, resulting in output similar to this:
.LP
.nf
- dn: o=University of Alaska Fairbanks, c=US
+ dn: o=University of Alaska Fairbanks,c=US
o: University of Alaska Fairbanks
description: Preparing Alaska for a brave new yesterday
description: leaf node only
- dn: o=University of Colorado at Boulder, c=US
+ dn: o=University of Colorado at Boulder,c=US
o: University of Colorado at Boulder
description: No personnel information
description: Institution of education and research
- dn: o=University of Colorado at Denver, c=US
+ dn: o=University of Colorado at Denver,c=US
o: University of Colorado at Denver
o: UCD
o: CU/Denver
o: CU-Denver
description: Institute for Higher Learning and Research
- dn: o=University of Florida, c=US
+ dn: o=University of Florida,c=US
o: University of Florida
o: UFl
description: Warper of young minds
- etc....
+ ...
.fi
.SH DIAGNOSTICS
Exit status is zero if no errors occur.