Commit 15ef9121 authored by bmortier's avatar bmortier
Browse files

Merge branch '5792-remove-the-readme-cnconfig-file' into '1.3-dev'

Resolve "Remove the readme.cnconfig file"

Closes #5792

See merge request fusiondirectory/fd!166
Showing with 0 additions and 57 deletions
+0 -57
Converting .schema to ldif files
--------------------------------
Explanation of the cn=config system
-----------------------------------
Why cn=config system ? Before using cn=config, all configuration was stored in flat file, like schema, special configuration, replication… Now everything is stored inside LDAP tree, it make server replication more efficient and easier to implement. With cn=config you could :
* Replicate schema modification in all LDAP server trough replication system (avoid to copy manually all .schema file on all server)
* Avoid restarting/reloading server for schema management, log management, configuration task
But it's quite more difficult to manage it …
how to insert a schema
----------------------
All the schema for FusionDirectory are provided in .schema.
our tool fusiondirectory-insert-schema is capable or converting and inserting schema in your ldap server automatically
#fusiondirectory-insert-schema -i /usr/share/doc/libapache2-mod-vhost-ldap/mod_vhost_ldap.schema
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
executing 'ldapadd -Y EXTERNAL -H ldapi:/// -f /usr/share/doc/libapache2-mod-vhost-ldap/mod_vhost_ldap.ldif'SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=mod_vhost_ldap,cn=schema,cn=config"
our tool is also capable to update schema in place
#fusiondirectory-insert-schema -m /etc/ldap/schema/fusiondirectory/core-fd-conf.schema
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
executing 'ldapmodify -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/fusiondirectory/core-fd-conf_update.ldif'
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn={6}core-fd-conf,cn=schema,cn=config"
Have fun!
---
* Further information
To improve this piece of software, please report all kind of errors using the bug tracker
on https://gitlab.fusiondirectory.org/
Documentation: http://documentation.fusiondirectory.org/
Mailinglist: http://lists.fusiondirectory.org/
Irc: #fusiondirectory on freenode
---
The FusionDirectory project <contact@fusiondirectory.org>
  • bmortier @bmortier

    mentioned in merge request !167

    By bmortier on 2018-03-17T21:17:47 (imported from GitLab)

    ·

    mentioned in merge request !167

    By bmortier on 2018-03-17T21:17:47 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in commit dbd33b8c

    By bmortier on 2018-03-17T21:17:47 (imported from GitLab)

    ·

    mentioned in commit dbd33b8c

    By bmortier on 2018-03-17T21:17:47 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in commit 70ae9e04

    By bmortier on 2018-03-17T21:17:50 (imported from GitLab)

    ·

    mentioned in commit 70ae9e04

    By bmortier on 2018-03-17T21:17:50 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment