15 messages in net.sourceforge.lists.courier-usersRe: [courier-users] LDAP aliasing
FromSent OnAttachments
Saxon JonesJan 21, 2005 12:43 pm 
Sam VarshavchikJan 21, 2005 4:54 pm 
Zenon PanoussisJan 25, 2005 11:49 am 
Sam VarshavchikJan 25, 2005 3:57 pm 
Zenon PanoussisJan 26, 2005 5:43 pm 
Sam VarshavchikJan 26, 2005 5:50 pm 
Laurence MooreJan 26, 2005 5:55 pm 
Sander Holthaus - Orange XLJan 26, 2005 6:36 pm 
Sam VarshavchikJan 27, 2005 7:42 pm 
Robert PfisterJan 28, 2005 12:57 am 
Sander Holthaus - Orange XLJan 28, 2005 6:12 am 
Saxon JonesJan 28, 2005 2:54 pm 
Zenon PanoussisJan 29, 2005 12:22 pm 
Saxon JonesFeb 3, 2005 3:25 pm 
Sam VarshavchikFeb 3, 2005 3:56 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] LDAP aliasingActions...
From:Laurence Moore (lmo@starwon.com.au)
Date:Jan 26, 2005 5:55:38 pm
List:net.sourceforge.lists.courier-users

On Thu, 27 Jan 2005, Zenon Panoussis wrote:

Sam Varshavchik wrote:

I just remembered that there's an LDAP_DEREF setting in authldaprc that blabbers something about aliases. This is something completely different.

I plead guilty, I hadn't checked it. But it's not that. It was set 'never' before the upgrade and it was still 'never' after. Changing it to all other possible values doesn't help. With

objectClass: top objectClass: CourierMailAlias objectClass: account mail: dumm@provocation.net maildrop: dumm@provocation.net uid: dummy30

objectClass: top objectClass: CourierMailAlias objectClass: account mail: dumm@provocation.net maildrop: ora@provocation.net uid: dummy29

objectClass: top objectClass: CourierMailAccount objectClass: account uid: oracle mail: ora@provocation.net uidNumber: 2018 gidNumber: 2018 homeDirectory: /somewhere userPassword:: [lotsagarbage]

and 'LDAP_DEREF always', sending mail to dumm@provocation.net results in

authdaemond: authldaplib: refuse to authenticate dumm@provocation.net:
uid=0, gid=0 (zero uid or gid not permitted) courieresmtpd:
error,relay=2001:470:1f00:186:211:2fff:fed7:8bf8,from=<ora@provocation.net>,to=<dumm@provocation.net>:
450 Service temporarily unavailable.

I can only guess that on the second pass it looks for uidNumber and gidNumber, assumes 0 when neither is found, and therefore runs against the root issue. openldap is 2.0.27-17, mail to dumm@provocation.net is delivered correctly.

Didn't someone submit a LDAP patch to the list to have courier search for additional aliases!?

Larry.