Re: [Exim] LDAP feature request

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Brian Candler
Data:  
Para: exim-users
Asunto: Re: [Exim] LDAP feature request
On Fri, Aug 09, 2002 at 11:29:07AM +0100, Philip Hazel wrote:
> > One possibility might be to allow a pseudo-attribute "dn" in LDAP searches:
> >      ldap:///basedn?dn,otherattr?sub?(filter)
> >                     ^^^^^^^^^^^^
> > which would return "dn=xxx" as part of the result. That syntax could also
> > superceded 'ldapdn' by just specifying dn by itself.

>
> Would that require a lot more parsing of the query in the Exim code?


I believe it would just involve scanning through

    char  **lud_attrs


returned by ldap_url_parse, looking for a match with "dn", and noting
it/removing it if found. (There is already such a loop just to count the
attributes)

B.