module RubySMB
  module Dcerpc
    module Samr

      # [3.1.5.13.5 SamrRidToSid (Opnum 65)](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/00ff8192-a4f6-45ba-9f65-917e46b6a693)
      class SamrRidToSidResponse < BinData::Record
        attr_reader :opnum

        endian :little

        prpc_sid   :sid
        ndr_uint32 :error_status

        def initialize_instance
          super
          @opnum = SAMR_RID_TO_SID
        end
      end

    end
  end
end

