OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: email aliases from active directory

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Thu Apr 19 2007 - 12:49:05 CDT


On Thu, Apr 19, 2007 at 07:37:02PM +0200, McDouglas wrote:

> Hi,
>
> I have an interesting question. I have managed to integrate our Linux
> box into our win2k3 active directory (using nss-ldap and pam-krb5), and
> it's working flawlessly, i can send mail for AD users (to
> adusernamemydomain.hu) and retrieve them. However, what I would like to
> do, is utilize the e-mail,first name and last name fields in ADUC on the
> win2k3 server, and tell postfix to use the both the form
> firstname.lastnamemydomain.eu and also the emailmydomain.eu as an
> alias for the given user.
>
> Probably i have to use some ldap search queries to get the info from the
> AD ldap database, but i have no idea how to construct them. Anyone could
> help with this?

http://www.postfix.org/ldap_table.5.html covers the Postfix interface
to LDAP. General questions about to build LDAP queries are not covered,
for that find a reasonable book/introduction to using LDAP.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.