RE: [Exim] LDAP query

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Torsten Curdt
Dátum:  
Címzett: Dave Lewney
CC: Exim-Users
Tárgy: RE: [Exim] LDAP query
> Torsten Curdt wrote:
> > Sorry if this might be slightly OT
> > but I didn't get it from the manual.
> >
> > How is correct syntax of this query
> > in url form?
> >
> > ldapsearch -b 'dc=dff,dc=local' 'gecos=Torsten.Curdt' uid -h kurn
> >
> > I tried
> >
> > ldap_default_servers = kurn::389
> > query = "ldap:///gecos=$local_part,dc=dff,dc=local?uid?"
> >
> > But this doesn't produce the same query
> > as the above as I can see in the ldap
> > log file.
> > --
> > Torsten
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>
> I think it should be
>
> ldap:///dc=dff,dc=local?uid?sub?(gecos=$local_part)"


Thanks! Found the rfc as well ;-)
--
Torsten