[imp] LDAP is mocking me
Brett Charbeneau
brett@wrl.org
Wed, 25 Sep 2002 08:21:58 -0400 (EDT)
Greetings,
Any pointers from you kind folks would be greatly appreciated!
Many, many thanks in advance.
First - THANKS to everyone for making IMP such a cool thing and
for documenting is so thoroughly. Wow.
Second, while not new to Linux, I'm a total newbie to LDAP and PHP
and I wonder now how I made it this far without dealing with them. If
there's a cool LDAP FAQ I'm not able to find, a bump in that direction
would be most appreciated!
I've set up Horde 2.1 and IMP 3.1 on a RH7.1 machine. After
initially getting it up and running, easy because of the killer docs and
FAQs, I am now trying to set up preferences containers via LDAP.
I'm and RPM kinda guy, so that's what I've used (I'll include
a list of them at the bottom of this post). For LDAP I used:
openldap-clients-2.0.21-0.7.1
openldap-2.0.21-0.7.1
openldap-servers-2.0.21-0.7.1
Here's (what I think are) the relevant contents of my horde.php
file:
$conf['auth']['driver'] = 'ldap';
$conf['prefs']['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';
I left this stuff as is 'cause, after all, I'm an LDAP idiot:
//$conf['prefs']['params']['rootdn'] = 'cn=root,dc=wrl,dc=org';
//$conf['prefs']['params']['username'] = 'Manager';
//$conf['prefs']['params']['password'] = 'password';
This could be the key.
Anyway, test.php gives me a definite "LDAP Support: No" so I'm
gobering something up right good.
Any kind soul taking pity on me will get mounds of appreciation
from,
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
Relevant RPM's I installed:
aspell-0.32.6-2.i386.rpm mysql-server-3.23.36-1.i386.rpm
horde-2.1-3.noarch.rpm openldap-clients-2.0.21-0.7.1.i386.rpm
imp-3.1-2.noarch.rpm openldap-servers-2.0.21-0.7.1.i386.rpm
kronolith-1.0-2.noarch.rpm openssl095a-0.9.5a-1.i386.rpm
ldap-3.3-3.src.rpm php-4.1.2-0horde1.i386.rpm
libtool-libs-1.3.5-8.i386.rpm php-imap-4.1.2-0horde1.i386.rpm
libxml2-2.4.10-0.7x.2.i386.rpm php-mysql-4.1.2-0horde1.i386.rpm
mysql-3.23.36-1.i386.rpm pspell-0.11.2-2.i386.rpm
mysqlclient9-3.23.22-4.i386.rpm turba-1.1-2.noarch.rpm