summaryrefslogtreecommitdiffstats
path: root/www/horde2/files/patch-ab
blob: 1743baa81004c714f83e174d5f69c563b3b8dbd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
--- config/horde.php.dist.orig	Tue Oct 29 22:21:36 2002
+++ config/horde.php.dist	Thu Jan  9 21:37:31 2003
@@ -86,7 +86,7 @@
 
 // What backend should we use for authenticating users to Horde? Valid
 // options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp' and 'krb5'.
-$conf['auth']['driver'] = '';
+$conf['auth']['driver'] = 'imap';
 
 // An array holding any parameters that the Auth object will need to
 // function correctly.
@@ -145,7 +145,7 @@
 // (meaning use system defaults and don't save any user preferences),
 // 'session' (preferences only persist during the login), 'ldap',
 // and 'sql'.
-$conf['prefs']['driver'] = 'none';
+$conf['prefs']['driver'] = 'sql';
 
 // Any parameters that the preferences driver needs. This includes
 // database or ldap server, username/password to connect with, etc.
@@ -154,12 +154,12 @@
 // This is an example configuration for a MySQL preference backend.
 // The SQL script to setup the preference database is placed in
 // horde/scripts/db/prefs.sql.
-// $conf['prefs']['params']['phptype'] = 'mysql';
-// $conf['prefs']['params']['hostspec'] = 'localhost';
-// $conf['prefs']['params']['username'] = 'horde';
-// $conf['prefs']['params']['password'] = '*****';
-// $conf['prefs']['params']['database'] = 'horde';
-// $conf['prefs']['params']['table'] = 'horde_prefs';
+$conf['prefs']['params']['phptype'] = 'mysql';
+$conf['prefs']['params']['hostspec'] = 'localhost';
+$conf['prefs']['params']['username'] = 'hordemgr';
+$conf['prefs']['params']['password'] = 'hordemgr';
+$conf['prefs']['params']['database'] = 'horde';
+$conf['prefs']['params']['table'] = 'horde_prefs';
 
 // This is an example configuration for an LDAP preference backend.
 // The schemas needed for ldap are in horde/scripts/ldap.  For more
@@ -209,7 +209,7 @@
 // SMTP authentication can be enabled by setting the 'auth' parameter
 // to true.
 $conf['mailer']['params'] = array();
-// $conf['mailer']['params'] = array('sendmail_path' => '/usr/lib/sendmail');
+// $conf['mailer']['params'] = array('sendmail_path' => '/usr/sbin/sendmail');
 // $conf['mailer']['params'] = array('host' => 'smtp.example.com');
 
 
@@ -267,3 +267,9 @@
 // Should we use DHTML to display a floating menu of Horde appliation
 // links, instead of a frame?
 $conf['menu']['floating_bar'] = false;
+
+/* Which users should be treated as administrators (root, super-user)
+ * by Horde? Example: $conf['auth']['admins'] = array('admin', 'john');
+ * N.B.: 'admin' is used by Jonah to fetch the news.
+ */
+$conf['auth']['admins'] = array('admin');
OpenPOWER on IntegriCloud