{"bigendian", DCERPC_PUSH_BIGENDIAN},
{"smb2", DCERPC_SMB2},
{"ndr64", DCERPC_NDR64},
+ {"packet", DCERPC_PACKET},
};
static const struct ncacn_option *ncacn_option_by_name(const char *name)
auth_level = DCERPC_AUTH_LEVEL_INTEGRITY;
} else if (b->flags & DCERPC_CONNECT) {
auth_level = DCERPC_AUTH_LEVEL_CONNECT;
+ } else if (b->flags & DCERPC_PACKET) {
+ auth_level = DCERPC_AUTH_LEVEL_PACKET;
} else if (auth_type != DCERPC_AUTH_TYPE_NONE) {
auth_level = DCERPC_AUTH_LEVEL_INTEGRITY;
} else {
/* this triggers the DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN flag in the bind request */
#define DCERPC_PROPOSE_HEADER_SIGNING (1<<25)
+#define DCERPC_PACKET (1<<26)
+
/* The following definitions come from ../librpc/rpc/dcerpc_error.c */
const char *dcerpc_errstr(TALLOC_CTX *mem_ctx, uint32_t fault_code);