Use the new prop for LL::NG auth (Authentication=LemonLDAP instead of LemonLDAP=enabled)

This commit is contained in:
Daniel Berteaud 2013-10-10 16:37:10 +02:00
parent 7087242beb
commit aef96ff0b1
1 changed files with 32 additions and 32 deletions

View File

@ -34,14 +34,14 @@ $vhost = $d->get("upload.$domain");
if (!$vhost){
$d->new_record("upload.$domain",{
type => 'domain',
Content => 'Primary',
Description => "OpenUpload",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/openupload/www',
Removable => 'yes',
LemonLDAP => 'enabled'
type => 'domain',
Content => 'Primary',
Description => "OpenUpload",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/openupload/www',
Removable => 'yes',
Authentication => 'LemonLDAP'
});
unless ( system("/sbin/e-smith/signal-event", "domain-create", "upload.$domain") == 0 ){
@ -53,14 +53,14 @@ $vhost = $d->get("rss.$domain");
if (!$vhost){
$d->new_record("rss.$domain",{
type => 'domain',
Content => 'Primary',
Description => "Tiny Tiny RSS",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/tt-rss',
Removable => 'yes',
LemonLDAP => 'enabled'
type => 'domain',
Content => 'Primary',
Description => "Tiny Tiny RSS",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/tt-rss',
Removable => 'yes',
Authentication => 'LemonLDAP'
});
unless ( system("/sbin/e-smith/signal-event", "domain-create", "rss.$domain") == 0 ){
@ -72,14 +72,14 @@ $vhost = $d->get("echange.$domain");
if (!$vhost){
$d->new_record("echange.$domain",{
type => 'domain',
Content => 'Primary',
Description => "Ajaxplorer",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/ajaxplorer',
Removable => 'yes',
LemonLDAP => 'enabled'
type => 'domain',
Content => 'Primary',
Description => "Ajaxplorer",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/ajaxplorer',
Removable => 'yes',
Authentication => 'LemonLDAP'
});
unless ( system("/sbin/e-smith/signal-event", "domain-create", "echange.$domain") == 0 ){
@ -92,14 +92,14 @@ $vhost = $d->get("wiki.$domain");
if (!$vhost){
$d->new_record("wiki.$domain",{
type => 'domain',
Content => 'Primary',
Description => "Dokuwiki",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/dokuwiki',
Removable => 'yes',
LemonLDAP => 'enabled'
type => 'domain',
Content => 'Primary',
Description => "Dokuwiki",
Nameservers => 'internet',
TemplatePath => 'WebAppVirtualHost',
DocumentRoot => '/usr/share/dokuwiki',
Removable => 'yes',
Authentication => 'LemonLDAP'
});
unless ( system("/sbin/e-smith/signal-event", "domain-create", "wiki.$domain") == 0 ){