%s and %d macros not expanded as expected in SMTP AUTH LDAP query