mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Change krb Info string to success bool
This commit is contained in:
parent
7e1fcb1a10
commit
a8373b60e7
1 changed files with 5 additions and 5 deletions
|
@ -39,8 +39,8 @@ export {
|
|||
# NetBIOS addresses supplied by the client
|
||||
netbios_addrs: vector of string &log &optional;
|
||||
|
||||
## Result
|
||||
result: string &log &default="unknown";
|
||||
## Request result
|
||||
success: bool &log &optional;
|
||||
## Error code
|
||||
error_code: count &log &optional;
|
||||
## Error message
|
||||
|
@ -104,7 +104,7 @@ event krb_error(c: connection, msg: Error_Msg) &priority=5
|
|||
msg?$client_realm ? msg$client_realm : "");
|
||||
|
||||
info$service = msg$service_name;
|
||||
info$result = "failed";
|
||||
info$success = F;
|
||||
|
||||
info$error_code = msg$error_code;
|
||||
|
||||
|
@ -209,7 +209,7 @@ event krb_as_response(c: connection, msg: KDC_Response) &priority=5
|
|||
info$client = fmt("%s/%s", msg$client_name, msg$client_realm);
|
||||
|
||||
info$service = msg$ticket$service_name;
|
||||
info$result = "success";
|
||||
info$success = T;
|
||||
|
||||
c$krb = info;
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ event krb_tgs_response(c: connection, msg: KDC_Response) &priority=5
|
|||
info$client = fmt("%s/%s", msg$client_name, msg$client_realm);
|
||||
|
||||
info$service = msg$ticket$service_name;
|
||||
info$result = "success";
|
||||
info$success = T;
|
||||
|
||||
c$krb = info;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue