mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Use example.com in examples
This commit is contained in:
parent
d95e350832
commit
52223bd699
@ -178,11 +178,11 @@ Issue StartTLS (Transport Layer Security) extended operation. If you use
|
|||||||
The following command:
|
The following command:
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
ldapdelete "cn=Delete Me, dc=OpenLDAP, dc=org"
|
ldapdelete "cn=Delete Me, dc=example, dc=com"
|
||||||
.fi
|
.fi
|
||||||
.LP
|
.LP
|
||||||
will attempt to delete the entry named with commonName "Delete Me"
|
will attempt to delete the entry named with commonName "Delete Me"
|
||||||
directly below the "dc=OpenLDAP, dc=org" entry. Of
|
directly below the "dc=example, dc=com" entry. Of
|
||||||
course it would probably be necessary to supply a \fIbinddn\fP and
|
course it would probably be necessary to supply a \fIbinddn\fP and
|
||||||
\fIpasswd\fP for deletion to be allowed (see the -D and -w options).
|
\fIpasswd\fP for deletion to be allowed (see the -D and -w options).
|
||||||
.SH DIAGNOSTICS
|
.SH DIAGNOSTICS
|
||||||
|
@ -312,7 +312,7 @@ Assuming that the file
|
|||||||
exists and has the contents:
|
exists and has the contents:
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
dn: cn=Modify Me, dc=OpenLDAP, dc=Org
|
dn: cn=Modify Me, dc=example, dc=com
|
||||||
changetype: modify
|
changetype: modify
|
||||||
replace: mail
|
replace: mail
|
||||||
mail: modme@OpenLDAP.org
|
mail: modme@OpenLDAP.org
|
||||||
@ -335,7 +335,7 @@ the command:
|
|||||||
.LP
|
.LP
|
||||||
will replace the contents of the "Modify Me" entry's
|
will replace the contents of the "Modify Me" entry's
|
||||||
.I mail
|
.I mail
|
||||||
attribute with the value "modme@OpenLDAP.org", add a
|
attribute with the value "modme@example.com", add a
|
||||||
.I title
|
.I title
|
||||||
of "Grand Poobah", and the contents of the file "/tmp/modme.jpeg"
|
of "Grand Poobah", and the contents of the file "/tmp/modme.jpeg"
|
||||||
as a
|
as a
|
||||||
@ -345,11 +345,11 @@ and completely remove the
|
|||||||
attribute.
|
attribute.
|
||||||
The same modifications as above can be performed using the older
|
The same modifications as above can be performed using the older
|
||||||
.I ldapmodify
|
.I ldapmodify
|
||||||
inout format:
|
input format:
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
cn=Modify Me, dc=OpenLDAP, dc=org
|
cn=Modify Me, dc=example, dc=com
|
||||||
mail=modme@OpenLDAP.org
|
mail=modme@example.com
|
||||||
+title=Grand Poobah
|
+title=Grand Poobah
|
||||||
+jpegPhoto=/tmp/modme.jpeg
|
+jpegPhoto=/tmp/modme.jpeg
|
||||||
-description
|
-description
|
||||||
@ -366,13 +366,13 @@ Assuming that the file
|
|||||||
exists and has the contents:
|
exists and has the contents:
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
dn: cn=Barbara Jensen, dc=OpenLDAP, dc=org
|
dn: cn=Barbara Jensen, dc=example, dc=com
|
||||||
objectClass: person
|
objectClass: person
|
||||||
cn: Barbara Jensen
|
cn: Barbara Jensen
|
||||||
cn: Babs Jensen
|
cn: Babs Jensen
|
||||||
sn: Jensen
|
sn: Jensen
|
||||||
title: the world's most famous mythical manager
|
title: the world's most famous mythical manager
|
||||||
mail: bjensen@OpenLDAP.org
|
mail: bjensen@example.com
|
||||||
uid: bjensen
|
uid: bjensen
|
||||||
.LP
|
.LP
|
||||||
the command:
|
the command:
|
||||||
@ -390,7 +390,7 @@ Assuming that the file
|
|||||||
exists and has the contents:
|
exists and has the contents:
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
dn: cn=Barbara Jensen, dc=OpenLDAP, dc=org
|
dn: cn=Barbara Jensen, dc=example, dc=com
|
||||||
changetype: delete
|
changetype: delete
|
||||||
.LP
|
.LP
|
||||||
the command:
|
the command:
|
||||||
@ -401,8 +401,8 @@ the command:
|
|||||||
.LP
|
.LP
|
||||||
will remove Babs Jensen's entry.
|
will remove Babs Jensen's entry.
|
||||||
.SH DIAGNOSTICS
|
.SH DIAGNOSTICS
|
||||||
Exit status is 0 if no errors occur. Errors result in a non-zero exit
|
Exit status is zero if no errors occur. Errors result in a non-zero
|
||||||
status and a diagnostic message being written to standard error.
|
exit status and a diagnostic message being written to standard error.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR ldapadd (1),
|
.BR ldapadd (1),
|
||||||
.BR ldapdelete (1),
|
.BR ldapdelete (1),
|
||||||
|
@ -190,7 +190,7 @@ Assuming that the file
|
|||||||
exists and has the contents:
|
exists and has the contents:
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
cn=Modify Me, dc=OpenLDAP, dc=org
|
cn=Modify Me, dc=example, dc=com
|
||||||
cn=The New Me
|
cn=The New Me
|
||||||
.fi
|
.fi
|
||||||
.LP
|
.LP
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
|
||||||
database shell
|
database shell
|
||||||
suffix "dc=openldap,dc=org"
|
suffix "dc=example,dc=com"
|
||||||
search /usr/local/etc/searchexample.sh
|
search /usr/local/etc/searchexample.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user