Use the new prop for LL::NG auth (Authentication=LemonLDAP instead of LemonLDAP=enabled)
This commit is contained in:
parent
7087242beb
commit
aef96ff0b1
|
@ -34,14 +34,14 @@ $vhost = $d->get("upload.$domain");
|
||||||
|
|
||||||
if (!$vhost){
|
if (!$vhost){
|
||||||
$d->new_record("upload.$domain",{
|
$d->new_record("upload.$domain",{
|
||||||
type => 'domain',
|
type => 'domain',
|
||||||
Content => 'Primary',
|
Content => 'Primary',
|
||||||
Description => "OpenUpload",
|
Description => "OpenUpload",
|
||||||
Nameservers => 'internet',
|
Nameservers => 'internet',
|
||||||
TemplatePath => 'WebAppVirtualHost',
|
TemplatePath => 'WebAppVirtualHost',
|
||||||
DocumentRoot => '/usr/share/openupload/www',
|
DocumentRoot => '/usr/share/openupload/www',
|
||||||
Removable => 'yes',
|
Removable => 'yes',
|
||||||
LemonLDAP => 'enabled'
|
Authentication => 'LemonLDAP'
|
||||||
});
|
});
|
||||||
|
|
||||||
unless ( system("/sbin/e-smith/signal-event", "domain-create", "upload.$domain") == 0 ){
|
unless ( system("/sbin/e-smith/signal-event", "domain-create", "upload.$domain") == 0 ){
|
||||||
|
@ -53,14 +53,14 @@ $vhost = $d->get("rss.$domain");
|
||||||
|
|
||||||
if (!$vhost){
|
if (!$vhost){
|
||||||
$d->new_record("rss.$domain",{
|
$d->new_record("rss.$domain",{
|
||||||
type => 'domain',
|
type => 'domain',
|
||||||
Content => 'Primary',
|
Content => 'Primary',
|
||||||
Description => "Tiny Tiny RSS",
|
Description => "Tiny Tiny RSS",
|
||||||
Nameservers => 'internet',
|
Nameservers => 'internet',
|
||||||
TemplatePath => 'WebAppVirtualHost',
|
TemplatePath => 'WebAppVirtualHost',
|
||||||
DocumentRoot => '/usr/share/tt-rss',
|
DocumentRoot => '/usr/share/tt-rss',
|
||||||
Removable => 'yes',
|
Removable => 'yes',
|
||||||
LemonLDAP => 'enabled'
|
Authentication => 'LemonLDAP'
|
||||||
});
|
});
|
||||||
|
|
||||||
unless ( system("/sbin/e-smith/signal-event", "domain-create", "rss.$domain") == 0 ){
|
unless ( system("/sbin/e-smith/signal-event", "domain-create", "rss.$domain") == 0 ){
|
||||||
|
@ -72,14 +72,14 @@ $vhost = $d->get("echange.$domain");
|
||||||
|
|
||||||
if (!$vhost){
|
if (!$vhost){
|
||||||
$d->new_record("echange.$domain",{
|
$d->new_record("echange.$domain",{
|
||||||
type => 'domain',
|
type => 'domain',
|
||||||
Content => 'Primary',
|
Content => 'Primary',
|
||||||
Description => "Ajaxplorer",
|
Description => "Ajaxplorer",
|
||||||
Nameservers => 'internet',
|
Nameservers => 'internet',
|
||||||
TemplatePath => 'WebAppVirtualHost',
|
TemplatePath => 'WebAppVirtualHost',
|
||||||
DocumentRoot => '/usr/share/ajaxplorer',
|
DocumentRoot => '/usr/share/ajaxplorer',
|
||||||
Removable => 'yes',
|
Removable => 'yes',
|
||||||
LemonLDAP => 'enabled'
|
Authentication => 'LemonLDAP'
|
||||||
});
|
});
|
||||||
|
|
||||||
unless ( system("/sbin/e-smith/signal-event", "domain-create", "echange.$domain") == 0 ){
|
unless ( system("/sbin/e-smith/signal-event", "domain-create", "echange.$domain") == 0 ){
|
||||||
|
@ -92,14 +92,14 @@ $vhost = $d->get("wiki.$domain");
|
||||||
|
|
||||||
if (!$vhost){
|
if (!$vhost){
|
||||||
$d->new_record("wiki.$domain",{
|
$d->new_record("wiki.$domain",{
|
||||||
type => 'domain',
|
type => 'domain',
|
||||||
Content => 'Primary',
|
Content => 'Primary',
|
||||||
Description => "Dokuwiki",
|
Description => "Dokuwiki",
|
||||||
Nameservers => 'internet',
|
Nameservers => 'internet',
|
||||||
TemplatePath => 'WebAppVirtualHost',
|
TemplatePath => 'WebAppVirtualHost',
|
||||||
DocumentRoot => '/usr/share/dokuwiki',
|
DocumentRoot => '/usr/share/dokuwiki',
|
||||||
Removable => 'yes',
|
Removable => 'yes',
|
||||||
LemonLDAP => 'enabled'
|
Authentication => 'LemonLDAP'
|
||||||
});
|
});
|
||||||
|
|
||||||
unless ( system("/sbin/e-smith/signal-event", "domain-create", "wiki.$domain") == 0 ){
|
unless ( system("/sbin/e-smith/signal-event", "domain-create", "wiki.$domain") == 0 ){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user