s3-waf: fix up the LDAP objects if LDAP isn't built