[imp] horde/imp+... with multidomain ldap setup

Edwin Culp eculp at viviendaatualcance.com.mx
Wed Apr 7 10:05:12 PDT 2004


Quoting Timo Boettcher <spida at gmx.net>:

>>    Do you use virtual hosts?
> I have just one horde-installation for all domains

I have the same.

>>    Do your users login with UID at somedomain1.tld
> they log in with just their UID (which has to be unique for ALL
> domains, of course)

I'm assuming that you only have one url for all domains.  Is
that correct?

If it is and the UID is unique you really don't need the
dc=somedomain1 to search, I would think.  Why would the
following configuration example not work for you?
(correcting the values of course:)

$conf['auth']['driver'] = 'ldap';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['basedn'] = $basedn;
$conf['auth']['params']['binddn'] = 'cn=manager,' . $basedn;
$conf['auth']['params']['password'] = 'mysecretpassword';
$conf['auth']['params']['uid'] = 'uid';
$conf['auth']['params']['objectclass'] = array('person');

The above config is for horde/conf.php but if it works,
others would be similar, prefs, turba, etc.


More information about the imp mailing list