[dev] Using LDAP for preferences

Jon Parise jon@csh.rit.edu
Mon, 29 Jan 2001 20:58:17 -0500


On Mon, Jan 29, 2001 at 09:05:42PM +0100, Atif Ghaffar wrote:

> Can I already use LDAP instead of Mysql to store preferences.
> If yes then what do I have to define in
> $conf['prefs']['params']['phptype']

Here's what I use for my setup:

$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params'] = array();
$conf['prefs']['params']['hostspec'] = 'ldap.rit.edu';
$conf['prefs']['params']['basedn'] = 'o=Rochester Institute of Technology,st=New York,c=US';
$conf['prefs']['params']['uid'] = 'uid';
$conf['prefs']['params']['username'] = '';
$conf['prefs']['params']['password'] = '';

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member