[tpop3d-discuss] RE: LDAP Authentication

Thai Tran t_tran99 at yahoo.com
Mon, 16 Sep 2002 20:12:55 -0500


Dave,
	Sorry to bother you but I'm pretty knew at this and this might seem like a
stupid question, but how would I go about editing the filter to my
specifications?  I would like to log in with username@domain.com for
example.  The username portion is an attribute within the object which is
'uid'.  I'm quite new to all this and I've tried running through the
auth_ldap.c and auth_ldap.h not knowing where to start.  I would understand
how to use tpop3d more if the query was in a ldap URL format.  I am
currently using this schema for Exim already and I was hoping I could keep
it this simple.

Here is a snip of one of my objects:

dn: cn=t_tran99,dc=mye-znet.com,o=mye-znet
objectClass: top
objectClass: person
objectClass: mailUser
dc: mye=znet.com
sn: Tran
cn: Thai
uid: t_tran99
mailQuota: 5M
userPassword:: e01ENX03NVVDQW9NZkRweE41ZDhKZXlwcVhBPT0=
mailMessageStore: /home/mailspool/mye-znet.com/t_tran99/

Thanks again,
Thai Q. Tran
Email t_tran99@yahoo.com

> -----Original Message-----
> From: tpop3d-discuss-admin@lists.beasts.org
> [mailto:tpop3d-discuss-admin@lists.beasts.org]On Behalf Of Dave Baker
> Sent: Monday, September 16, 2002 6:23 PM
> To: Thai Tran
> Cc: tpop3d-discuss@lists.beasts.org
> Subject: Re: [tpop3d-discuss] RE: LDAP Authentication
>
>
> On Mon, Sep 16, 2002 at 06:09:21PM -0500, Thai Tran wrote:
>
> (snip)
>
> > auth_ldap_new_user_pass: LDAP search filter:
> (mail=t_tran99@mye-znet.com)
> > auth_ldap_new_user_pass: ldap_search_s: No such object
>
> (snip)
>
> > Any ideas?
> >
>
> Check your LDAP schema.  I'd guess you either need to adjust your schema
> to match the default setup, or customize the tpop3d filter to match your
> schema.
>
>
> Dave
>
> --
>
> - Dave Baker  :  dave@dsb3.com  :  dave@devbrain.com  :
> http://dsb3.com/ -
> GnuPG:  1024D/D7BCA55D / 09CD D148 57DE 711E 6708  B772 0DD4 51D5
> D7BC A55D
>
>
> _______________________________________________
> tpop3d-discuss mailing list
> tpop3d-discuss@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss
>