From: Zoltán Felleg Date: Mon, 25 Mar 2024 11:57:48 +0000 (+0100) Subject: Updated wiki.in (added mail notification, spectre acls). X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=c39fd0a404fafb28cdb62d37f594688793677c6d;p=user-lxc.git Updated wiki.in (added mail notification, spectre acls). --- diff --git a/sources/wiki.in/c3d/firstboot/scripts/01_setupnetworking.sh b/sources/wiki.in/c3d/firstboot/scripts/01_setupnetworking.sh index f039fc1..1f560e0 100755 --- a/sources/wiki.in/c3d/firstboot/scripts/01_setupnetworking.sh +++ b/sources/wiki.in/c3d/firstboot/scripts/01_setupnetworking.sh @@ -81,5 +81,5 @@ nmcli connection add \ nmcli connection show -hostnamectl hostname sns.in.useribm.hu +hostnamectl hostname wiki.in.useribm.hu hostnamectl diff --git a/sources/wiki.in/c3d/mode.txt b/sources/wiki.in/c3d/mode.txt index f6932c9..d0ff0b1 100644 --- a/sources/wiki.in/c3d/mode.txt +++ b/sources/wiki.in/c3d/mode.txt @@ -1,4 +1,3 @@ # mode file (relative to /c3d) 755 firstboot/scripts/*.sh 755 postinstall/scripts/*.sh - diff --git a/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/acl.auth.php b/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/acl.auth.php new file mode 100644 index 0000000..1c65748 --- /dev/null +++ b/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/acl.auth.php @@ -0,0 +1,23 @@ +# acl.auth.php +# +# Don't modify the lines above +# +# Access Control Lists +# +# Editing this file by hand shouldn't be necessary. Use the ACL +# Manager interface instead. +# +# If your auth backend allows special char like spaces in groups +# or user names you need to urlencode them (only chars <128, leave +# UTF-8 multibyte chars as is) +# +# none 0 +# read 1 +# edit 2 +# create 4 +# upload 8 +# delete 16 +* @ALL 1 +user:spectre @ALL 0 +user:spectre mszabo 1 +user:spectre zfelleg 1 diff --git a/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/local.php b/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/local.php index cf26e27..a03b6b7 100644 --- a/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/local.php +++ b/sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/local.php @@ -16,6 +16,10 @@ $conf['savedir'] = '/data/dokuwiki/data'; // where to store all the files $conf['useacl'] = 1; // use Access Control Lists to restrict access $conf['superuser'] = 'zfelleg'; +$conf['subscribers'] = 1; + +$conf['updatecheck'] = 0; + $conf['authtype'] = 'authldap'; $conf['plugin']['authldap']['server'] = 'ldap://fds.useribm.hu:389'; @@ -25,3 +29,6 @@ $conf['plugin']['authldap']['userfilter'] = '(&(uid=%{user})(objectClass=posixAc $conf['plugin']['authldap']['groupfilter'] = '(&(member=%{dn})(objectClass=posixGroup))'; $conf['plugin']['authldap']['version'] = 3; $conf['plugin']['authldap']['attributes'] = array(); + +$conf['plugin']['smtp']['smtp_host'] = 'mx.in.useribm.hu'; +$conf['plugin']['smtp']['smtp_port'] = 587;