[imp] Installing / Bootstrapping LDAP+Horde+IMP (+Turba eventually)

andrew at interworx.com andrew at interworx.com
Wed Jul 2 11:03:22 PDT 2003


Hi,

I'm try to get a quick-and-dirty install of imp running, but seem to have 
run into some problems with the LDAP preferences driver. 

I have added the schema in my slapd.conf, and "slapcat" confirms it is 
there. I manually added my user with an ldif like this:

	dn: mail=andrew,dc=hoag,dc=tv
	mail: andrew
	objectClass: hordePerson

and have been tweaking the write-permissions in my slapd.conf to be 
wide-open:

# logging
loglevel 256

# Basic ACL
access to attr=userPassword
        by self write
        by anonymous auth
        by dn="uid=root,ou=People,dc=hoag,dc=tv" write
        by * none

access to *
        by * write
        by dn="mail=andrew,dc=hoag,dc=tv" write
        by dn="uid=root,ou=People,dc=hoag,dc=tv" write


just trying to get something to work. But I continue to have Warnings from 
ldap_search in ldap.php (recently on line 341) No such object, etc. 

My logs show the following:


Jul  2 16:56:39 cayenne slapd[19126]: daemon: conn=0 fd=10 connection from 
IP=12
7.0.0.1:33537 (IP=0.0.0.0:389) accepted.
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=0 BIND 
dn="MAIL=ANDREW,DC=HOAG,D
C=TV" method=128
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=0 RESULT tag=97 err=48 
text=
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=1 SRCH 
base="dc=hoag,dc=tv" scop
e=2 filter="(mail=andrew)"
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=1 RESULT tag=101 err=32 
text=
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=2 MOD 
dn="mail=andrew,dc=hoag,dc
=tv"
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=2 RESULT tag=103 err=0 
text=
Jul  2 16:56:39 cayenne slapd[19140]: conn=0 op=3 UNBIND
Jul  2 16:56:39 cayenne slapd[19140]: conn=-1 fd=10 closed


and in the syslog from HORDE:

Jul  2 10:56:39 cayenne HORDE[18623]: [imp] Bind to server localhost:389 
with DN
 mail=andrew,dc=hoag,dc=tv failed: [48] Inappropriate authentication [on 
line 18
2 of "/var/www/html/horde/lib/Prefs/ldap.php"]
Jul  2 10:56:39 cayenne HORDE[18623]: [imp] Failed to connect to LDAP 
preference
s server. [on line 345 of "/var/www/html/horde/lib/Prefs/ldap.php"]
Jul  2 10:56:39 cayenne HORDE[18623]: [imp] No preferences were retrieved. 
[on l
ine 401 of "/var/www/html/horde/lib/Prefs/ldap.php"]
Jul  2 10:56:39 cayenne HORDE[18623]: [imp] Login success for andrew 
[81.19.196.
7] to {localhost:143} [on line 83 of 
"/var/www/html/horde/imp-3.2.1/redirect.php
"]


which, based on "Login success" seems to be a good thing. Why the errors? 
Is there an IMP-Turba-LDAP how-to somewhere? or sample LDIF & schema files 
to get the thing bootstrapped? The ldap server is tertiary to what I 
wanted to do, so I haven't really dove in for a proper set-up; I just want 
it to store preferences at this point. 

I'm using Courier-IMAP and the authentication seems to be working. In fact 
I was able to log in to IMP once, but now I'm having trouble again, after 
being unable to create a new folder (it hung and seemed to be on the LDAP 
MOD command)....  

Any thoughts / help would be appreciated. I searched the archives but 
didn't find a problem that matched exactly. 

Thanks in advance,
Andrew



More information about the imp mailing list