(self)
| 778 | |
| 779 | @ATMT.condition(AUTHENTICATED, prio=1) |
| 780 | def should_serve(self): |
| 781 | # Serve files |
| 782 | self.current_trees = {} |
| 783 | self.current_handles = {} |
| 784 | self.enumerate_index = {} # used for query directory enumeration |
| 785 | self.tree_id = 0 |
| 786 | self.base_time_t = self.current_smb_time() |
| 787 | raise self.SERVING() |
| 788 | |
| 789 | def _ioctl_error(self, Status="STATUS_NOT_SUPPORTED"): |
| 790 | pkt = self.smb_header.copy() / SMB2_Error_Response(ErrorData=b"\xff") |
nothing calls this directly
no test coverage detected