Having a wee problem with our printers scanning to e-mail. When doing a lookup for a user name it comes back with nil results. The LDAP code is correct. However when I changed the LDAP settings to include OU=TEST - it works fine.
In a nutshell LDAP lookups work to the OU level but not the DOMAIN level. Strange.