https://bugs.exim.org/show_bug.cgi?id=1871
Bug ID: 1871
Summary: Incorrect LDAP unescaping
Product: Exim
Version: 4.84
Hardware: x86
OS: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Lookups
Assignee: nigel@???
Reporter: steve@???
CC: exim-dev@???
Create a router with:
address_data = user=some_user \
homedir=${quote:${lookup ldapm
{ldap:///ou=people,LDAP_DOMAIN?homeDirectory?sub?uid=some_user}}/Maildir}
And a transport with:
user = ${extract{user}{$address_data}}
directory = ${extract{homedir}{$address_data}}/Example
If the homeDirectory LDAP attribute contains commas they are doubled up in the
result. i.e. if the user's LDAP path is used as their home directory, LDAP may
contain a home directory of "/home/uid=example,ou=people,dc=example,dc=com" but
Exim will try to deliver the message to the path
"home/uid=example,,ou=people,,dc=example,,dc=com/Maildir/Example" (note the
doubled up commas).
This problem has appeared since Exim 4.72.
--
You are receiving this mail because:
You are on the CC list for the bug.