From 545a915c2e0e27a15e321f1156eb34fb8d74ed24 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 4 Sep 2001 02:41:53 +0000 Subject: [PATCH] Use RFC 2253 DNs --- doc/man/man1/ldapdelete.1 | 7 ++----- doc/man/man1/ldapmodify.1 | 8 +++----- doc/man/man1/ldapmodrdn.1 | 4 +--- doc/man/man1/ldapsearch.1 | 18 +++++++++--------- 4 files changed, 15 insertions(+), 22 deletions(-) diff --git a/doc/man/man1/ldapdelete.1 b/doc/man/man1/ldapdelete.1 index 1e5192ddb5..dcf6b49156 100644 --- a/doc/man/man1/ldapdelete.1 +++ b/doc/man/man1/ldapdelete.1 @@ -185,11 +185,10 @@ Issue StartTLS (Transport Layer Security) extended operation. If you use 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 @@ -203,8 +202,6 @@ status and a diagnostic message being written to standard error. .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 .SH ACKNOWLEDGEMENTS diff --git a/doc/man/man1/ldapmodify.1 b/doc/man/man1/ldapmodify.1 index 66ae6eb7b8..61f303b353 100644 --- a/doc/man/man1/ldapmodify.1 +++ b/doc/man/man1/ldapmodify.1 @@ -274,7 +274,7 @@ Assuming that the file 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 @@ -311,7 +311,7 @@ Assuming that the file 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 @@ -335,7 +335,7 @@ Assuming that the file 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: @@ -360,8 +360,6 @@ exit status and a diagnostic message being written to standard error. .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 .SH ACKNOWLEDGEMENTS diff --git a/doc/man/man1/ldapmodrdn.1 b/doc/man/man1/ldapmodrdn.1 index 1b28939693..4deb4202fc 100644 --- a/doc/man/man1/ldapmodrdn.1 +++ b/doc/man/man1/ldapmodrdn.1 @@ -197,7 +197,7 @@ Assuming that the file exists and has the contents: .LP .nf - cn=Modify Me, dc=example, dc=com + cn=Modify Me,dc=example,dc=com cn=The New Me .fi .LP @@ -221,8 +221,6 @@ status and a diagnostic message being written to standard error. .BR ldap.conf (5), .BR ldap (3), .BR ldap_modrdn2 (3) -.SH BUGS -There is no interactive mode, but there probably should be. .SH AUTHOR The OpenLDAP Project .SH ACKNOWLEDGEMENTS diff --git a/doc/man/man1/ldapsearch.1 b/doc/man/man1/ldapsearch.1 index f6555caa53..9946d42804 100644 --- a/doc/man/man1/ldapsearch.1 +++ b/doc/man/man1/ldapsearch.1 @@ -277,7 +277,7 @@ output in LDAP Data Interchange Format or 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 @@ -305,7 +305,7 @@ standard output. 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 @@ -313,7 +313,7 @@ The output might look something like this if two entries are found: 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 @@ -336,7 +336,7 @@ output might look like this if one entry with one value for each of the 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 @@ -354,29 +354,29 @@ The organization name and description attribute values will be retrieved 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. -- 2.39.5