Thanks all for the replies, Krisrtof, I applied
the patch and created the file

    "namedvirtualbasedn" with contents

  st.com.sg:o=qmail,dc=MailServer
  test.com.sg:o=qmail,dc=MailServer

in my outlook express side user login=user1
 mail id = [EMAIL PROTECTED]

  then I can see ldap log the search entry(dn) same
as working qmail search string, but still pop3d fails

-----ldap log----
is_object_subclass(1.3.6.1.4.1.7914.1.2.2.1,1.3.6.1.4.1.7914.1.2.2.1)
1
=> send_search_entry:
dn="cn=user1,o=st.com.sg,o=qmail,dc=MailServer"
ber_flush: 247 bytes to sd 9
--------

 what may the reason, am I doing anything wrong??
your help will be greatly appreciated.

thanks,
-bala-





--- Kristof Bajnok <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have a working patch for 20040101 which makes it
> possible to define ldap 
> search base depending on POP3 IP address or pop3
> login name. Should be 
> updated to the upstream version of qmail-ldap. (It
> is not yet done because of 
> the simple fact that we are using 20040101
> currently.)
> 
>
http://www.sztaki.hu/~bajnokk/qmail-ldap-virtual.html
> 
> See README.virtual after patching. 
> 
> Kristof
> 
> >    by default qmail passes the correct search
> string,
> >
>
Example(dn="cn=user1,o=test.com.sg,o=qmail,dc=MailServe)
> > so it got the unique result for the search,
> >
> >    but pop3d passing
> >   dn="cn=user1,o=qmail,dc=MailServe, here it is
> > missing domain in the search string, so it
> returning
> > same user in all the domains!
> >
> >    question is how to change the search string(dn)
> > to ldap from pop3d??(ie same like qmail uses)
> 
> -- 
> Kristof BAJNOK
> 
> MTA-SZTAKI
> Computer and Automation Research Institute
> Hungarian Academy of Sciences
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

Reply via email to