tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] RE: LDAP Authentication


From: Prune
Subject: Re: [tpop3d-discuss] RE: LDAP Authentication
Date: Wed, 18 Sep 2002 20:34:09 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Hi,

as said chris, the search filter is the same as when you use ldapsearch. from the man page (with anonymous bind, may not work for you)  :
ldapsearch  -b "c=US" "(o=University*)"  description

which mean, give me the "description" attribute of envery entry containing the attribut "o" = "University*", starting from "c=US" in the DN.
do you understand that ?

for you, this will give :

ldapsearch  -b "o=mye-znet" "(uid=t_tran99)" mailMessageStore

this will work if you supply only 't_tran99' as login, and don't add the domain after.
the search filter can be more complicates, for example :    (&(uid=t_tran99)(dc=mye-znet.com))

so :     (&(uid=$(local_part))(dc=$(domain)))

I hope this will work

chris : am I right ?

thai : understand ?

Cheers,

Prune



Thai Tran wrote:
Hello everyone,
    If someone can help point me in the right direction regarding the auth-ldap-filter.  At the moment I am not sure how tpop3d uses the filter to manipulate the search or I am just to blind to see it from the default filter.
   
    I am aware that the default search filter is (mail=$(local_part)@$(domain).  If someone can explain to me exactly how this is used and the results of using the default filter in a ldap url format.
 
For example: If I'm logging in with address@hidden and my password, what would the end result of the ldap url be, using the default filter?  I am assuming this at the moment but tpop3d does use ldap urls to perform queries, correct?
 
Thanks,
Thai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]