PATCH: (updated) %[1-9] substitutions for LDAP maps

From: Diego Rivera (no email)
Date: Sat Nov 01 2003 - 00:02:43 EST


Hello all

It's the same patch as before, but with two bugfixes.

  - LDAP searches that fail due to a non-existent (but
correctly-expanded) search base with LDAP_NO_SUCH_OBJECT would cause a
temporary error to happen. This has been corrected and the return is
now "not found" (same as with incomplete expansions).

  - LDAP searches that did not include a domain component, but had a
%[dD] token in the search base or result filter would cause a segfault
to happen due to improper pointer checking. This has been corrected.

Just roll back the old patch, and apply this one instead. The
differences from one to the other are minimal.

This patch has been in our testing environment for several days now
(since tuesday night), and has not produced any problems.

Best

Diego

-- 
===========================================================
* Diego Rivera                                            *
*                                                         *
* "The Disease: Windows, the cure: Linux"                 *
*                                                         *
* E-mail: lrivera<AT>racsa<DOT>co<DOT>cr                  *
* Replace: <AT>='@', <DOT>='.'                            *
*                                                         *
* GPG: BE59 5469 C696 C80D FF5C  5926 0B36 F8FF DA98 62AD *
* GPG Public Key avaliable at: http://pgp.mit.edu         *
===========================================================











Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD