From bf14858204352c58d5bee93697dee91119f42333 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 05 Jul 2011 16:26:18 +0000
Subject: [PATCH] Attempt to make the PDF output easier to read, and eliminate need for width="80" on monospace verbatim blocks.
---
opendj3/src/main/docbkx/admin-guide/chap-schema.xml | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opendj3/src/main/docbkx/admin-guide/chap-schema.xml b/opendj3/src/main/docbkx/admin-guide/chap-schema.xml
index 1c3b996..6187e98 100644
--- a/opendj3/src/main/docbkx/admin-guide/chap-schema.xml
+++ b/opendj3/src/main/docbkx/admin-guide/chap-schema.xml
@@ -63,7 +63,7 @@
of directory entries, such as <literal>givenName</literal> or
<literal>mail</literal>.</para>
<para>Here is an example of an attribute type definition.</para>
- <programlisting language="ldif" width="80"># Attribute type definition
+ <programlisting language="ldif"># Attribute type definition
attributeTypes: ( 0.9.2342.19200300.100.1.3 NAME ( 'mail' 'rfc822Mailbox' )
EQUALITY caseIgnoreIA5Match SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} X-ORIGIN 'RFC 4524' )</programlisting>
@@ -82,7 +82,7 @@
object classes include <literal>person</literal> and
<literal>organizationalUnit</literal>.</para>
<para>Here is an example of an object class definition.</para>
- <programlisting language="ldif" width="80"># Object class definition
+ <programlisting language="ldif"># Object class definition
objectClasses: ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description )
X-ORIGIN 'RFC 4519' )</programlisting>
@@ -160,7 +160,7 @@
production by adapting the content for use with the
<command>ldapmodify</command> command, for example.</para>
- <screen width="80">$ cat config/schema/99-user.ldif
+ <screen>$ cat config/schema/99-user.ldif
dn: cn=schema
objectClass: top
objectClass: ldapSubentry
@@ -178,7 +178,7 @@
<para>To test your schema definition, add the object class and attribute
to an entry.</para>
- <screen width="80">$ cat custom-attr.ldif
+ <screen>$ cat custom-attr.ldif
dn: uid=bjensen,ou=People,dc=example,dc=com
changetype: modify
add: objectClass
@@ -209,14 +209,14 @@
classes defined per entry, you can relax schema checking to warn rather
than reject entries having this issue.</para>
- <screen width="80">$ dsconfig -h `hostname` -p 4444 -D "cn=Directory Manager" -w password \
+ <screen>$ dsconfig -h `hostname` -p 4444 -D "cn=Directory Manager" -w password \
> set-global-configuration-prop
--set single-structural-objectclass-behavior:warn -X -n</screen>
<para>You can allow attribute values that do not respect the defined syntax
with the <command>dsconfig</command> command as well.</para>
- <screen width="80">$ dsconfig -h `hostname` -p 4444 -D "cn=Directory Manager" -w password \
+ <screen>$ dsconfig -h `hostname` -p 4444 -D "cn=Directory Manager" -w password \
> set-global-configuration-prop
--set invalid-attribute-syntax-behavior:warn -X -n</screen>
@@ -226,7 +226,7 @@
you simply want to turn off schema checking temporarily to speed up import
processing.</para>
- <screen width="80">$ dsconfig -h `hostname` -p 4444 -D "cn=Directory Manager" -w password \
+ <screen>$ dsconfig -h `hostname` -p 4444 -D "cn=Directory Manager" -w password \
> set-global-configuration-prop --set check-schema:false -X -n</screen>
</section>
--
Gitblit v1.10.0