2014-06-29 22:23:27 +02: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 = "soap_configuration_backend" > SOAP configuration backend< / h1 >
2014-06-29 22:23:27 +02:00
< div class = "level1" >
< p >
2015-06-08 16:57:58 +02:00
You can share your configuration over the network using SOAP proxy system.
2014-06-29 22:23:27 +02:00
< / p >
< p >
2015-06-08 16:57:58 +02:00
< p > < div class = "notetip" > Note that SOAP is not a real configuration backend, but just a proxy system to access to your configuration over the network
2014-06-29 22:23:27 +02:00
< / div > < / p >
< / p >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT1 SECTION "SOAP configuration backend" [1 - 261] -->
< h2 class = "sectionedit2" id = "configuration" > Configuration< / h2 >
2014-06-29 22:23:27 +02:00
< div class = "level2" >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT2 SECTION "Configuration" [262 - 288] -->
< h3 class = "sectionedit3" id = "first_configure_your_real_backend" > First, configure your real backend< / h3 >
2014-06-29 22:23:27 +02:00
< div class = "level3" >
< ul >
< li class = "level1" > < div class = "li" > On your main server, configure a < a href = "../../documentation/1.0/fileconfbackend.html" class = "wikilink1" title = "documentation:1.0:fileconfbackend" > File< / a > , < a href = "../../documentation/1.0/sqlconfbackend.html" class = "wikilink1" title = "documentation:1.0:sqlconfbackend" > SQL< / a > or < a href = "../../documentation/1.0/ldapconfbackend.html" class = "wikilink1" title = "documentation:1.0:ldapconfbackend" > LDAP< / a > backend< / div >
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > Set SOAP parameter to true in the configuration using the manager: the portal will become a SOAP server< / div >
2014-06-29 22:23:27 +02:00
< / li >
2015-06-08 16:57:58 +02:00
< li class = "level1" > < div class = "li" > Configure Apache to allow remote access: in < code > portal-apache2.conf< / code > , remote SOAP access is disabled by default. Change it:< / div >
2014-06-29 22:23:27 +02:00
< / li >
< / ul >
< pre class = "code apache" > < span class = "co1" > # SOAP functions for configuration access (disabled by default)< / span >
< < span class = "kw3" > Location< / span > /index.pl/config>
< span class = "kw1" > Order< / span > < span class = "kw1" > deny< / span > ,< span class = "kw1" > allow< / span >
< span class = "kw1" > Deny< / span > from < span class = "kw2" > all< / span >
2015-06-08 16:57:58 +02:00
< span class = "kw1" > Allow< / span > from 192.168.2.0/< span class = "nu0" > 24< / span >
2014-06-29 22:23:27 +02:00
< /< span class = "kw3" > Location< / span > > < / pre >
< / div >
2015-06-08 16:57:58 +02:00
<!-- EDIT3 SECTION "First, configure your real backend" [289 - 941] -->
< h3 class = "sectionedit4" id = "next_configure_soap_for_your_remote_servers" > Next, configure SOAP for your remote servers< / h3 >
2014-06-29 22:23:27 +02:00
< div class = "level3" >
< p >
Change configuration in lemonldap-ng.ini :
< / p >
< pre class = "code file ini" > < span class = "re1" > type< / span > < span class = "sy0" > =< / span > < span class = "re2" > SOAP< / span >
< span class = "re1" > proxy< / span > < span class = "sy0" > =< / span > < span class = "re2" > https://auth.example.com/index.pl/config< / span > < / pre >
< p >
You can also add some other parameters
< / p >
< pre class = "code file ini" > < span class = "re1" > User< / span > < span class = "sy0" > =< / span > < span class = "re2" > lemonldap< / span >
< span class = "re1" > Password< / span > < span class = "sy0" > =< / span > < span class = "re2" > mypassword< / span >
# LWP::UserAgent parameters
2015-06-08 16:57:58 +02:00
< span class = "re1" > proxyOptions< / span > < span class = "sy0" > =< / span > < span class = "re2" > < span class = "br0" > { < / span > timeout < span class = "sy0" > =< / span > > 5 < span class = "br0" > } < / span > < / span > < / pre >
2014-06-29 22:23:27 +02:00
< / div >
2015-06-08 16:57:58 +02:00
< / div > <!-- closes <div class="dokuwiki export"> -->