(self, ssp_blob=None)
| 606 | |
| 607 | @ATMT.state() |
| 608 | def AUTHENTICATED(self, ssp_blob=None): |
| 609 | self.session.sspcontext, _, status = self.session.ssp.GSS_Init_sec_context( |
| 610 | self.session.sspcontext, |
| 611 | input_token=ssp_blob, |
| 612 | target_name="cifs/" + self.HOST if self.HOST else None, |
| 613 | ) |
| 614 | if status != GSS_S_COMPLETE: |
| 615 | raise ValueError("Internal error: the SSP completed with an error.") |
| 616 | # Authentication was successful |
| 617 | self.session.computeSMBSessionKeys(IsClient=True) |
| 618 | |
| 619 | # DEV: add a condition on AUTHENTICATED with prio=0 |
| 620 |
no test coverage detected