on_pi_trail Event
Traces the messages sent to the server, and the respective replies.
Syntax
class ActiveDirectoryPITrailEventParams(object): @property def direction() -> int: ... @property def message() -> str: ... # In class ActiveDirectory: @property def on_pi_trail() -> Callable[[ActiveDirectoryPITrailEventParams], None]: ... @on_pi_trail.setter def on_pi_trail(event_hook: Callable[[ActiveDirectoryPITrailEventParams], None]) -> None: ...
Remarks
The on_pi_trail event is useful for debugging purposes. It shows all the interaction between the client and the server. To include the raw packets set LogKerberosPackets to True.
The Message parameter contains the full text of the message. The Direction parameter shows the originator of the message:
0 (Client) | The Message originates from the client. |
1 (Server) | The Message originates from the server. |
2 (Info) | The Message is an informative message originating from the client software (the class code). |