[tpop3d-discuss] tpop3d + LDAP

Krivosheev Pavel pasha at mts.by
Tue, 10 Jun 2003 14:33:11 +0300


--------------010102030901030708030906
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Chris Lightfoot wrote:

>  [ 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))
>
>?
>
>  
>
Thats WORK just FINE !!!
Thanks a LOT Chris !!!


--------------010102030901030708030906
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Chris Lightfoot wrote:<br>
<blockquote type="cite"
 cite="mid20030609154613.GA11286@aquila.esc.cam.ac.uk">
  <pre wrap="">  [ 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:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Chris Lightfoot wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Mon, Jun 09, 2003 at 05:17:41PM +0300, Krivosheev Pavel wrote:
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">Jun  9 16:16:16 backup tpop3d[15222]: [ID 702911 mail.error] 
 auth_ldap_new_user_pass: search returned 8 entries
        </pre>
      </blockquote>
      <pre wrap="">Your search filter must return only one result.
      </pre>
    </blockquote>
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->    [...]
  </pre>
  <blockquote type="cite">
    <pre wrap="">But how to force work with others users. What SEARCH FILTER must be ???
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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))

?

  </pre>
</blockquote>
Thats WORK just FINE !!!<br>
Thanks a LOT Chris !!!<br>
<br>
</body>
</html>

--------------010102030901030708030906--