Qmail-LDAP
[Top] [All Lists]

Re: Fail to patch qmail-1.03-20060201.patch with qmail-ldap patch and qm

To: qmail-ldap@qmail-ldap.org
Subject: Re: Fail to patch qmail-1.03-20060201.patch with qmail-ldap patch and qmail-1.03-jms1.6c5.patch
From: Sebastian Benoit <benoit-lists@fb12.de>
Date: Fri, 16 Feb 2007 09:51:06 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <f5ba7b270702152100j10a90409j89aeaed6361631c5@mail.gmail.com>
Mail-followup-to: qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organisation: Organisation against the bulletization of popular thought as a result of the increasing prevalence of Microsoft PowerPoint(TM)
References: <f5ba7b270702122015kfaabfc3w994ef74302c8b5f7@mail.gmail.com> <20070213082238.GC25742@mail.webmonster.de> <f5ba7b270702130324x147bb684mcb210a8e1140b2cf@mail.gmail.com> <f5ba7b270702152100j10a90409j89aeaed6361631c5@mail.gmail.com>
User-agent: Mutt/1.4.2.2i
sato x(gladiol4@gmail.com) on 2007.02.16 12:00:07 +0000:
> Hello guys,
> I'm building a new qmail-ldap server and going to use the existing ldap 
> server.
> All this time, the LDAP server has been used side by side with a PDC. The
> problem is, the uid (user login names for the domain) are different from their
> email address. For example, my uid=sato but my mail address is
> sato.xav@ramona.co.id.
> 
> I can change the uid's according to their email addresses but it will cost me 
> a
> lot of work on the implementation, that I have to move user's profiles from 
> old
> directory into the new directory (on WinXP Pro). Is there anyway for the
> qmail-ldap server to recognize the user email's password, e.g, when I send an
> email, the qmail-ldap server will search for sato.xav@ramona.co.id's password
> in uid=sato,ou=Users,dc=ramona,dc=co,dc=id? Thank you for your help.

There is a difference between the mail-Address (attribute "mail" in LDAP),
used when accepting mail and delivering it to a mailaccount, and the user-id
(Attribute "uid"), used for authentication when accessing a mailbox and for
smtp-auth.

Your user can login using uid=sato and still access the mailbox for
sato.xav@ramona.co.id.

Searches for mail-addresses are done using attributes "mail" and
"mailalternateaddress" while authentication searches are done using
attribute uid.

/B.
-- 
Sebastian Benoit <benoit-lists@fb12.de>

Religion is for people who believe in hell; spirituality is for people
who've been there. -- David Bowie

Attachment: pgpMZGWC4Bvhq.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>