[Date Prev][Date Next] [Chronological] [Thread] [Top]

Doc, "A Quick-Start Guide", cut-and-paste (ITS#740)

Full_Name: Walter Thyselius
Version: HEAD branch 2hr ago
OS: Linus RedHat 6.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

In http://www.openldap.org/doc/admin/quickstart.html the text reads:

  "If you cut and paste, be sure to trim any leading
   whitespace from the example"

Some browsers (at least IE5.5) insert trailing spaces on each line.
Those spaces must be removed before running the ldapadd example.
(Example of shell output is included below.)

A clarification like "trim any leading _and_trailing_ whitespace"
should be helpful. (Those spaces are hard to se... :-)

(Or is this a bug in ldapadd?)

Best regards,



Shell output using cut-and-paste *with* trailing spaces:

# ldapadd -x -D "cn=Manager, dc=example, dc=com" -W -f example.ldif
Enter LDAP Password:
adding new entry "dc=example, dc=com "
                                    ^ space!
ldap_add: No such object

ldif_record() = 32