[imp] Re: LDAP is mocking me - update

Brett Charbeneau brett@wrl.org
Wed, 25 Sep 2002 14:59:42 -0400 (EDT)


	Progress!
	With the things I did in my previous post I now see

		LDAP Support: Yes

	in my test.php file.
	Now I get the IMP login screen but after entering username and
password it keeps returning me to the login screen. With this message at
the top:

Warning: LDAP: Unable to perform the search: No such object in
/var/www/html/horde/lib/Prefs/ldap.php on line 292

	I suspect something is awry in my hoard.php file?
	How's it look folks?

// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', and 'ftp'.
//$conf['auth']['driver'] = '';

// An array holding any parameters that the Auth object will need to
// function correctly.
//$conf['auth']['params'] = array();

$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = '209.96.177.123';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=wrl,dc=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=root,dc=wrl,dc=org';
$conf['prefs']['params']['username'] = 'root';
$conf['prefs']['params']['password'] = '*****';



Brett Charbeneau, Network Administrator         Tel: 757-259-7750
Williamsburg Regional Library                   FAX: 757-259-7798
7770 Croaker Road                               brett@wrl.org
Williamsburg, VA 23188-7064                     http://www.wrl.org