Updated wiki.in (added mail notification, spectre acls).
authorZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Mon, 25 Mar 2024 11:57:48 +0000 (12:57 +0100)
committerZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Mon, 25 Mar 2024 11:57:48 +0000 (12:57 +0100)
sources/wiki.in/c3d/firstboot/scripts/01_setupnetworking.sh
sources/wiki.in/c3d/mode.txt
sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/acl.auth.php [new file with mode: 0644]
sources/wiki.in/c3d/postinstall/install-data/etc/dokuwiki/local.php

index f039fc1d554257ff739dd5f1ad8f62ea52f5faf2..1f560e0c3c9e97c86fb1c3d7e0e4becf463ea344 100755 (executable)
@@ -81,5 +81,5 @@ nmcli connection add \
 
 nmcli connection show
 
-hostnamectl hostname sns.in.useribm.hu
+hostnamectl hostname wiki.in.useribm.hu
 hostnamectl
index f6932c937eae2efe64548403269123d1fcea6a66..d0ff0b1f50393f067b973375cf3575504bf4b2e0 100644 (file)
@@ -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 (file)
index 0000000..1c65748
--- /dev/null
@@ -0,0 +1,23 @@
+# acl.auth.php
+# <?php exit()?>
+# 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
index cf26e27390de2f33f8e1f44150408be14ac0bda9..a03b6b76148a7ebee7a6fafa179ebe54f5e9dcbb 100644 (file)
@@ -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;