2012-02-25 23:45:20 +01:00
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "en"
lang="en" dir="ltr">
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > < / title >
<!-- metadata -->
< meta name = "generator" content = "Offline" / >
< meta name = "version" content = "Offline 0.1" / >
<!-- style sheet links -->
< link rel = "stylesheet" media = "all" type = "text/css" href = "../../../css/all.css" / >
< link rel = "stylesheet" media = "screen" type = "text/css" href = "../../../css/screen.css" / >
< link rel = "stylesheet" media = "print" type = "text/css" href = "../../../css/print.css" / >
< / head >
< body >
< div class = "dokuwiki export" >
2015-06-08 16:57:58 +02:00
< h1 class = "sectionedit1" id = "how_to_change_configuration_backend" > How to change configuration backend< / h1 >
2012-02-25 23:45:20 +01:00
< div class = "level1" >
< p >
LemonLDAP::NG provides a script to change configuration backend easily keeping history. It is set in LemonLDAP::NG utilities directory (< code > convertConfig< / code > ).
< / p >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT1 SECTION "How to change configuration backend" [1 - 208] -->
< h2 class = "sectionedit2" id = "how_it_works" > How it works< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< p >
2015-06-08 16:57:58 +02:00
The < code > convertConfig< / code > utility reads 2 < abbr title = "LemonLDAP::NG" > LL::NG< / abbr > configuration files (< code > lemonldap-ng.ini< / code > ):
2012-02-25 23:45:20 +01:00
< / p >
< ul >
< li class = "level1" > < div class = "li" > < strong > Current< / strong > : to extract all configuration history< / div >
< / li >
< li class = "level1" > < div class = "li" > < strong > New< / strong > : to write all configuration history< / div >
< / li >
< / ul >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT2 SECTION "How it works" [209 - 426] -->
< h2 class = "sectionedit3" id = "let_s_go" > Let' s go< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< ul >
< li class = "level1" > < div class = "li" > Prepare your new lemonldap-ng.ini file< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > Configure your new backend (create SQL database,…)< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Launch that:< / div >
< / li >
< / ul >
< pre class = "code shell" > convertConfig --current=/etc/lemonldap-ng/lemonldap-ng.ini --new=/new/lemonldap-ng.ini< / pre >
< ul >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > Install the new lemonldap-ng.ini file at the place of the old file in all < abbr title = "LemonLDAP::NG" > LL::NG< / abbr > servers< / div >
2012-02-25 23:45:20 +01:00
< / li >
< li class = "level1" > < div class = "li" > Restart all your Apache servers< / div >
< / li >
< / ul >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT3 SECTION "Let's go" [427 - 803] -->
< h2 class = "sectionedit4" id = "see_also" > See also< / h2 >
2012-02-25 23:45:20 +01:00
< div class = "level2" >
< p >
Documentation is available for configuration backends :
< / p >
< ul >
2016-03-22 12:19:17 +01:00
< li class = "level1" > < div class = "li" > < a href = "../../documentation/2.0/sqlconfbackend.html" class = "wikilink1" title = "documentation:2.0:sqlconfbackend" > SQL< / a > < / div >
2012-02-25 23:45:20 +01:00
< / li >
2016-03-22 12:19:17 +01:00
< li class = "level1" > < div class = "li" > < a href = "../../documentation/2.0/fileconfbackend.html" class = "wikilink1" title = "documentation:2.0:fileconfbackend" > File< / a > < / div >
2012-02-25 23:45:20 +01:00
< / li >
2016-03-22 12:19:17 +01:00
< li class = "level1" > < div class = "li" > < a href = "../../documentation/2.0/ldapconfbackend.html" class = "wikilink1" title = "documentation:2.0:ldapconfbackend" > LDAP< / a > < / div >
2012-02-25 23:45:20 +01:00
< / li >
2016-03-22 12:19:17 +01:00
< li class = "level1" > < div class = "li" > < a href = "../../documentation/2.0/soapconfbackend.html" class = "wikilink1" title = "documentation:2.0:soapconfbackend" > SOAP proxy mechanism< / a > < / div >
2012-02-25 23:45:20 +01:00
< / li >
< / ul >
< / div >
2015-06-08 16:57:58 +02:00
< / div > <!-- closes <div class="dokuwiki export"> -->