(create_message, **kwargs)
| 639 | self._pushToArray(messages_history, m) |
| 640 | |
| 641 | def createCB(create_message, **kwargs): |
| 642 | self._pushToArray(messages_history, create_message) |
| 643 | if create_message.status == 0: |
| 644 | sendQuery(kwargs['tid'], create_message.payload.fid, b'') |
| 645 | elif create_message.status == 0xC0000034: # [MS-ERREF]: STATUS_OBJECT_NAME_INVALID |
| 646 | errback(OperationFailure('Failed to list %s on %s: Path not found' % ( path, service_name ), messages_history)) |
| 647 | else: |
| 648 | errback(OperationFailure('Failed to list %s on %s: Unable to open directory' % ( path, service_name ), messages_history)) |
| 649 | |
| 650 | def sendQuery(tid, fid, data_buf): |
| 651 | m = SMB2Message(SMB2QueryDirectoryRequest(fid, pattern, |
nothing calls this directly
no test coverage detected