LDAP preferences
eculp@encontacto.net
eculp@encontacto.net
Sat, 16 Mar 2002 14:55:54 -0800
I just switched from mysql to ldap for preferences. I thought that
there was an example in horde.php but there wasn't so I have attached
a patch for horde.php that might make it easier to configure the
first time, if there is enough interest to make it worthwhile and
assuming that I understood Prefs/ldap.php.
ed
Index: horde.php.dist
===================================================================
RCS file: /repository/horde/config/horde.php.dist,v
retrieving revision 1.60
diff -u -r1.60 horde.php.dist
--- horde.php.dist 10 Mar 2002 04:28:15 -0000 1.60
+++ horde.php.dist 16 Mar 2002 22:51:28 -0000
@@ -153,6 +153,21 @@
// $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
+// information see sources and comments in horde/lib/Prefs/ldap.php
+//$conf['prefs']['driver'] = 'ldap';
+//$conf['prefs']['params']['hostspec'] = 'localhost';
+//$conf['prefs']['params']['port'] = '389';
+//$conf['prefs']['params']['basedn'] = 'ou=people,o=worldinternet.org';
+//$conf['prefs']['params']['uid'] = 'mail';
+/*
+ * The following is valid but would only be necessary if users
+ * do NOT have permission to modify their own ldap accounts.
+$conf['prefs']['params']['rootdn'] = 'cn=Manager,o=worldinternet.org';
+$conf['prefs']['params']['username'] = 'Manager';
+$conf['prefs']['params']['password'] = 'password';
+*/
/**
** Category System Settings
-------------------------------------------------