Rather than fixing in drivers_ldap, fix properly in Principal class.