code: def capabilities
        @capabilities ||=
          instrument "capabilities.github_ldap" do |payload|
            begin
              @connection.search_root_dse
            rescue Net::LDAP::LdapError => error
              payload[:error] = error
              # stubbed result
              Net::LDAP::Entry.new
            end
          end
      end
docs: Internal: Searches the host LDAP server's Root DSE for capabilities and
   extensions.
  
   Returns a Net::LDAP::Entry object.