[tpop3d-discuss] tpop3d + LDAP

Chris Lightfoot chris at ex-parrot.com
Mon, 9 Jun 2003 16:46:13 +0100


  [ please keep discussion on-list, so that others may
    benefit from it ]

On Mon, Jun 09, 2003 at 06:22:47PM +0300, Krivosheev Pavel wrote:
> Chris Lightfoot wrote:
> >On Mon, Jun 09, 2003 at 05:17:41PM +0300, Krivosheev Pavel wrote:

> >>Jun  9 16:16:16 backup tpop3d[15222]: [ID 702911 mail.error] 
> >>  auth_ldap_new_user_pass: search returned 8 entries
> >
> >Your search filter must return only one result.
> 
> In my LDAP base only 8 users have UserPassword and result = 8.
> When delete 7 (its test users) of them and leave only user "spam" with 
> attribute userPassword then everything work.
    [...]
> But how to force work with others users. What SEARCH FILTER must be ???

It must use the $(user), $(local_part) or whatever
attributes to narrow down the search to a specific user.
Something like

    (objectclass=MTSperson)(muser=$(user))

?

-- 
``After all, what is your hosts' purpose in having a party? Surely not for
  you to enjoy yourself; if that were their sole purpose, they'd have simply
  sent champagne and women over to your place by taxi.'' (P. J. O'Rourke)