Re: [Exim] LDAP, AUTH, PAM and Lookups

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Barry Pederson
CC: exim-users
Assunto: Re: [Exim] LDAP, AUTH, PAM and Lookups
On Tue, 21 Nov 2000, Barry Pederson wrote:

> Yes, you can use ldap_get_dn(). I thought about the pre-request idea too, but
> after looking at exim's ldap.c, I thought that might be pretty ugly. Adding a
> new ldap search type doesn't require many changes, and I have put together a
> patch that seems to work.


I hope it's a patch against the test release 3.169 rather than anything
earlier, because the LDAP code has changed.

> One minor thing that needs to be worked out is whether the Solaris7 LDAP
> ldap_get_dn() result needs to be freed with free() (as UMich and OpenLDAP 1
> do) or ldap_memfree() (as Netscape and OpenLDAP 2 do). Can someone point me
> to an online Solaris7 LDAP manual?


The Solaris 8 man page says it should be freed with free().

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.