(minor) errors in OpenLDAP Server guide (14.04)

Bug #1392572 reported by jeroen van gorkum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
New
Undecided
Unassigned

Bug Description

in Ubuntu 14.04: Ubuntu Server Guide: Network Authentication: OpenLDAP Server, section 'Modifying the slapd Configuration Database' (https://help.ubuntu.com/14.04/serverguide/openldap-server.html#openldap-configuration), it says in:

"
3. Determine the index of the schema:

slapcat -f schema_convert.conf -F ldif_output -n 0 | grep corba,cn=schema
"

this command fails; the last line should be:

"sudo slapcat -f schema_convert.conf -F ldif_output -n 0 | grep corba,cn=schema"

(changes: 'sudo' added)

it also says the output will be:

"cn={1}corba,cn=schema,cn=config"

but on a fresh install, with this guide followed from the top to this point, my output is:

"dn: cn={2}corba,cn=schema,cn=config"

(changes: 'dn: ' added at the start of the line; index number is '2', not '1')

following from this, the next step is not:

"
4. Use slapcat to perform the conversion:

slapcat -f schema_convert.conf -F ldif_output -n0 -H \
ldap:///cn={1}corba,cn=schema,cn=config -l cn=corba.ldif
"

but:

"
4. Use slapcat to perform the conversion:

sudo slapcat -f schema_convert.conf -F ldif_output -n0 -H \
ldap:///cn={2}corba,cn=schema,cn=config -l cn=corba.ldif
"

(changes: 'sudo' added; index number changed to '2').

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.