Hi George, Some time it happen that you have two or more users (cn) whose mailaddress is same, in this case manual ldapsearch will show you result, but if you try with ldaplookup, it will fail. So add one new entry with new mailaddress and try to search first using ldapsearch and then qmail-ldaplookup. Regards, Santosh Pasi
---------------Original Message------------------ Sender: ggal >Date: Wed, 21 Nov 2001 09:41:19 -0500 >From: "George D. Gal" <[EMAIL PROTECTED]> >To: Santosh Pasi <[EMAIL PROTECTED]> >Subject: Re: ldap bind not functioning properly >References: [EMAIL PROTECTED] >Content-Transfer-Encoding: 7bit > >I tried that already, no luck, the qmail-smtpd and other programs >have no problem. Only user lookups have problems, including >qmail-ldaplookup. After adding some debugging to the code it seems >that the control_readline() function never returns anything >usefull. Any ideas?? > >-george > >Santosh Pasi wrote: >> >> Hi, >> >> try /var/qmail/bin/qmail-ldaplookup -m <[EMAIL PROTECTED]> >> >> it will try ldaplookup, and will give you output. >> >> Else check following control files >> 1. ldapserver >> 2. ldaplogin >> 3. ldappassword >> 4. ldapbasedn >> >> Regards, >> Santosh Pasi >> >> >> ---------------Original Message------------------ >> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >> >Sender: ggal >> >Date: Sun, 18 Nov 2001 18:10:19 -0500 >> >From: "George D. Gal" <[EMAIL PROTECTED]> >> >To: [EMAIL PROTECTED] >> >Cc: [EMAIL PROTECTED] >> >Subject: ldap bind not functioning properly >> >Content-Transfer-Encoding: 7bit >> > >> >Hello All, I've been trying to get my qmail-ldap installation working >> now for several>hours and am running into issues with qmail-ldap not looking users up>> properly.> >> >I've patched my qmail-1.03 installation with: >> > >> >qmail-ldap-1.03-20011001a.patch >> >qmail-ldap-control_20011029.patch >> > >> >Qmail runs fine and reads config entries out of LDAP, however when >> attempting>to lookup users it seems that qmail ignores my settings for ldaplogin,>> ldappassword,>ldapbasedn, and therefore finds no users. >> > >> >When I run qmail-showctl all the apropriate values are returned however>> when>I run qmail-ldaplookup -d255 -m [EMAIL PROTECTED] it just tries to bind>> to the>localhost with dn of "" and base of "" >> > >> >Does anyone have any ideas? >> > >> >-thanks >> > George >> > >
