[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] no longer give exim4 a reason to complain about "tainted search query is not properly quoted"

Frans Spiesschaert (@frans) gitlab at salsa.debian.org
Sat Dec 21 13:07:36 GMT 2024



Frans Spiesschaert pushed to branch master at Debian Edu / debian-edu-config


Commits:
963af5c4 by Frans Spiesschaert at 2024-12-21T14:07:23+01:00
no longer give exim4 a reason to complain about "tainted search query is not properly quoted"

- - - - -


1 changed file:

- etc/exim4/exim-ldap-server-v4.conf


Changes:

=====================================
etc/exim4/exim-ldap-server-v4.conf
=====================================
@@ -316,7 +316,7 @@ root:
 ldapuser:
   driver = accept
   check_local_user
-  condition = ${if eq {}{${lookup ldap {ldap://LDAPSERVER/LDAPBASE?uid?sub?(uid=${local_part})}}}{no}{yes}}
+  condition = ${if eq {}{${lookup ldap {ldap://LDAPSERVER/LDAPBASE?uid?sub?(uid=${quote_ldap_dn:${local_part}})}}}{no}{yes}}
   cannot_route_message = Recipent ${local_part} unknown.
   retry_use_local_part
   transport = ldap_delivery



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/963af5c43778a51fd920c533c558a93b7add34bb

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/963af5c43778a51fd920c533c558a93b7add34bb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20241221/24526d95/attachment.htm>


More information about the debian-edu-commits mailing list