[tpop3d-discuss] RE: LDAP Authentication

Thai Tran t_tran99 at yahoo.com
Wed, 18 Sep 2002 12:08:06 -0500


Hello everyone,
	I'm sure that this might be a stupid question, but how would edit the
filter to fit my schema.  There is not much documentation regarding
'auth-ldap-filter'.  For example how could I make the uid=$(local_part) and
for dc=$(domain) and send the correct query.  I've tried playing with the
filter but with no success.  How would I change the filter so that the query
would result in this way:

	ldap://localhost/dc=$(domain),o=mye-znet??sub?uid=$(local_part)

I'm pretty much stumped on how to do this.  But with the URL provided above
it should be able to obtain all the information it needs regarding that
specific users.  My schema for my mail is fairly simple, the attribute
'mailMessageStore' is where the mail is located, 'uid' is the user's ID, and
'userPassword' explains itself.  I have a few other mail attributes such as
'dc' for domain 'mailQuota' for the quota but Exim should be handling the
quota at this moment.  Are these attributes sufficient for tpop3d?

Any ideas?

Thanks,
Thai

> -----Original Message-----
> From: Chris Lightfoot [mailto:chris@ex-parrot.com]
> Sent: Wednesday, September 18, 2002 11:54 AM
> To: Thai Tran
> Cc: tpop3d
> Subject: Re: [tpop3d-discuss] RE: LDAP Authentication
>
>
> On Wed, Sep 18, 2002 at 10:22:36AM -0500, Thai Tran wrote:
> > Hi,
> > 	When changing my search filter to 'uid' the debug shows
> that it is a bad
>
> yeah-- that's not a useful search filter. you need to
> write something like:
>
> > >
> > >     (mail=$(local_part)@$(domain))
> > >
>
> but to fit your schema.
>
> --
> ``It is apparently not OK to remove A-bombs from Los Alamos property.''
>   (Philip Greenspun, from `Travels with Samantha')
>