Public bug reported:

When I go to the section Replication and TLS

"3.  On the Consumer,

Configure TLS for Consumer-side replication. Modify the existing
olcSyncrepl attribute by tacking on some TLS options. In so doing, we
will see, for the first time, how to change an attribute's value(s).

Create the file consumer_sync_tls.ldif with the following contents: "

and try to copy and paste the following into a ldif text file:

dn: olcDatabase={1}hdb,cn=config
replace: olcSyncRepl
olcSyncRepl: rid=0 provider=ldap://ldap01.example.com bindmethod=simple
 binddn="cn=admin,dc=example,dc=com" credentials=secret 
searchbase="dc=example,dc=com"
 logbase="cn=accesslog" 
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
 schemachecking=on type=refreshAndPersist retry="60 +" syncdata=accesslog
 starttls=critical tls_reqcert=demand

It adds addtional characters and ajust spacing because of the html
formatting in the last line.  When you try to import it into the
database, you will get a syntax error and it won't work.  I monkey'd
with this file for over and hour and finally ended up typing it out by
hand and referenced the top replication section which worked.  It
appears it needs a space at the end of each line in order to be imported
properly.

I am using ubuntu 12.04 LTS.  I expected to copy and paste and import
just like the rest of the doc.  Everything else worked great.  This will
hinder people from getting the TLS to work, since it will concatenate
the accesslog and starttls together with no whitespace.

Best Regards,

Collin Hayden

** Affects: ubuntu-docs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1200816

Title:
  ldap server guide has issue when copying and pasting Replication and
  TLS section step 3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1200816/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to