This patch fixed a compilation bug and added a functionality for ldapBase %u substitution to svn branch.
Originally, %u for ldapBase is only active on login name with <username>@<domain> format. However my login name is simply <username>, without @domain part, and my ldap search base is cn=<username>,ou=personal,ou=contacts,dc=example,dc=com (i.e. per-user address book). This patch makes %u works on login name not in <username>@<domain>. In such case, %u will mean the whole username string.
Since the branch just didn't compile because of syntax error, I changed the priority to 9.