Skip to content

Commit c82ea3d

Browse files
refactor(devolutions-gateway): more doc comments;
1 parent 2b7f37e commit c82ea3d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

devolutions-gateway/src/config.rs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,11 +1104,24 @@ pub mod dto {
11041104
pub password: String,
11051105
}
11061106

1107-
/// Kerberos server config.
1107+
/// Kerberos server config
1108+
///
1109+
/// This config is used to configure the kerberos server during RDP proxying.
11081110
#[derive(PartialEq, Eq, Debug, Clone, Serialize, Deserialize)]
11091111
pub struct KerberosServer {
1112+
/// The maximum allowed time difference between client and proxy clocks
1113+
///
1114+
/// The value must be in seconds.
11101115
pub max_time_skew: u64,
1116+
/// Ticket decryption key
1117+
///
1118+
/// This key is used to decrypt the TGS ticket sent by the client. If you do not plan
1119+
/// to use Kerberos U2U authentication, then the `ticket_decryption_key' is required.
11111120
pub ticket_decryption_key: Option<Vec<u8>>,
1121+
/// The domain user credentials for the Kerberos U2U authentication
1122+
///
1123+
/// This field is needed only for Kerberos User-to-User authentication. If you do not plan
1124+
/// to use Kerberos U2U, do not specify it.
11121125
pub service_user: Option<DomainUser>,
11131126
}
11141127

@@ -1152,6 +1165,9 @@ pub mod dto {
11521165
#[serde(default = "ws_keep_alive_interval_default_value")]
11531166
pub ws_keep_alive_interval: u64,
11541167

1168+
/// Kerberos application server configuration
1169+
///
1170+
/// It is used only during RDP proxying.
11551171
pub kerberos_server: Option<KerberosServer>,
11561172

11571173
/// Enable unstable features which may break at any point

0 commit comments

Comments
 (0)