Qmail-LDAP
[Top] [All Lists]

Re: can qmail-ldap find out the mail address via the user name (uid)?

To: qmail-ldap@qmail-ldap.org
Subject: Re: can qmail-ldap find out the mail address via the user name (uid)?
From: Claudio Jeker <jeker@n-r-g.com>
Date: Fri, 16 Feb 2007 08:13:57 +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: <!&!AAAAAAAAAAAYAAAAAAAAAPVy0xzfHWhMvityghG+ktDCgAAAEAAAAKXtg+M9fiBDrPnNkUMBtXQBAAAAAA==@edata.ro>
Mail-followup-to: Claudio Jeker <jeker@n-r-g.com>, qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <f5ba7b270702152253s6731f00bxc147682e0eee00e6@mail.gmail.com> <!&!AAAAAAAAAAAYAAAAAAAAAPVy0xzfHWhMvityghG+ktDCgAAAEAAAAKXtg+M9fiBDrPnNkUMBtXQBAAAAAA==@edata.ro>
User-agent: Mutt/1.5.12-2006-07-14
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
> 


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