Skip to content
Snippets Groups Projects
Commit 545a915c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use RFC 2253 DNs

parent 65686b72
No related branches found
No related tags found
No related merge requests found
......@@ -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 <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
......
......@@ -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 <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
......
......@@ -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 <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment