OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: new ldap user and virtual domains question
From: Keith Stevenson (k.stevensonlouisville.edu)
Date: Fri Jun 30 2000 - 08:01:42 CDT


On Fri, Jun 30, 2000 at 03:55:59AM -0700, John Payne wrote:
> OK... I'm fundamentally not getting something.
>
>
> I have a user in LDAP:
>
> dn: cn=visa_systech-global_com, dc=network-hosting, dc=net
> cn: visa_systech-global_com
> objectclass: person
> objectclass: uid
> objectclass: organizationalPerson
> objectclass: top
> mail: visasystech-global.com
> maildrop: visa_systech-global_com
> uid: visa_systech-global_com
>
> In main.cf: I have:
>
> alias_maps = hash:/etc/aliases, ldap:ldapaliases
>
> ldapaliases_search_base = dc=network-hosting, dc=net
> ldapaliases_query_filter = (mail=%s)

You appear to be missing the ldapaliases_result_attribute line in main.cf.
This line tells the LDAP map which attribute to rewrite the address with
in the case of a successful search.

Regards,
--Keith Stevenson--

-- 
Keith Stevenson
System Programmer - Data Center Services - University of Louisville
k.stevensonlouisville.edu
GPG key fingerprint =  332D 97F0 6321 F00F 8EE7  2D44 00D8 F384 75BB 89AE