Re: [Exim] LDAP

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Adam Cassar
Datum:  
To: Joseph Kezar
CC: exim-users
Betreff: Re: [Exim] LDAP
Essentially what you are trying to do is perform TWO ldap lookups
in one query? Taking the results of the first query to seed the
second query, with the second query returning the emails?

From your original email, will the following work?

ldapm:///o=Vermont%20Department%20of%20Corrections,c=US?mail?sub?(memberOfGroup="cn=${$local_part},o=Vermont%20Department%20of%20Corrections,c=US")

I am assuming that the DN for the tree is the same as your search query.

If not, you will have to use the perl bindings in exim, and do your
query that way.

On Tue, Oct 02, 2001 at 01:31:10PM -0500, Joseph Kezar wrote:
> Help!
> I want to search ldap for a particular DN(cn=mis). Then I want to use
> that value to search ldap for all the instances of memberPfGroup=DN and
> extract the mail attribute from all of these entries.
>
> Finally send the piece of email to all of these mail attributes.
> How can I do this. I have seen NO working examples ANYWHERE of
> search_type = ldapdn and then use what that returns to start another
> lookup.
> My O'Rielly book says ldapm permits the results to contain more than one
> entry, but how do I use these entries and generate a list of people to
> mail to!!
>
>
>
> ============================
> Joseph Kezar
> UNIX/Linux Systems Administrator
> Vermont Department of Corrections
> 103 South Main Street
> Waterbury, Vermont 05671-1001
>
> Telephone: 802-241-2314
>
>


--

Adam Cassar
Technical Development Manager
___________________________________________
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia