On Fri, Feb 16, 2007 at 09:01:35AM +0200, Razvan Turtureanu wrote:
> there is no need to do that, because qmail-ldap searches for the mail ldap
> attribute not uid. so for the uid=santo you set mail=santo.xav@ramoana.co.id
> and point the DNS MX records for ramoana.co.id to the qmail-ldap server.
> (and the ~control/files shoud be configured tu accept local delivery.)
>
> hope this helps.
>
But for pop3/imap and smtp auth qmail-ldap uses the "uid" field to get the
right ldap entry. Anyway have a look at the qmail-ldap.h headerfile. There
you can change the LDAP fields to suite your gusto and I think this is
even documented in QLDAPINSTALL.
--
:wq Claudio
> _____
>
> From: sato x [mailto:gladiol4@gmail.com]
> Sent: Friday, February 16, 2007 08:53
> To: qmail-ldap@qmail-ldap.org
> Subject: can qmail-ldap find out the mail address via the user name (uid)?
>
>
> 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.
>
> Kind regards,
>
> sato
>
> PS. Sorry for the previous post
>
|