def enable
      if disabled?
        Cratus::LDAP.replace_attribute(
          dn,
          Cratus.config.user_account_control_attribute,
          ['512']
        )
        refresh
      else
        true
      end
    end
def enable
      if disabled?
        Cratus::LDAP.replace_attribute(
          dn,
          Cratus.config.user_account_control_attribute,
          ['512']
        )
        refresh
      else
        true
      end
    end
def enable if disabled? Cratus :: LDAP . replace_attribute ( dn , Cratus . config . user_account_control_attribute , [ '512' ] ) refresh else true end end
Enables a disabled user
Enables a disabled user