Removed references to LDAP when USE_LDAP is undefined

UCC git Repository :: git.ucc.asn.au