Decorators for disabling/enabling things when LDAP is on