Override this method in your *SMBProtocolFactory* subclass to add in post-authentication handling. This method will be called when the server has replied that the SMB connection has been successfully authenticated. If you want to retry authenticating from this method,
(self)
| 148 | pass |
| 149 | |
| 150 | def onAuthFailed(self): |
| 151 | """ |
| 152 | Override this method in your *SMBProtocolFactory* subclass to add in post-authentication handling. |
| 153 | This method will be called when the server has replied that the SMB connection has been successfully authenticated. |
| 154 | |
| 155 | If you want to retry authenticating from this method, |
| 156 | 1. Disconnect the underlying SMB connection (call ``self.instance.transport.loseConnection()``) |
| 157 | 2. Create a new SMBProtocolFactory subclass instance with different user credientials or different NTLM algorithm flag. |
| 158 | 3. Call ``reactor.connectTCP`` with the new instance to re-establish the SMB connection |
| 159 | """ |
| 160 | pass |
| 161 | |
| 162 | # |
| 163 | # Public Methods |
nothing calls this directly
no outgoing calls
no test coverage detected