mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-14 04:49:18 +02:00
* Support for NTLM authentication added To support NTLM authentication, a database is added as an authentication source. Currently, only the configuration file is supported as a database. Database authentication supports Basic and NTLM authentication protcols. ServerConfig.BasicAuthEnabled renamed to LocalEnabled as Basic auth can be used with NTLM or Local.
31 lines
512 B
Protocol Buffer
31 lines
512 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package auth;
|
|
|
|
option go_package = "./auth";
|
|
|
|
message UserPass {
|
|
string username = 1;
|
|
string password = 2;
|
|
}
|
|
|
|
message AuthResponse {
|
|
bool authenticated = 1;
|
|
string error = 2;
|
|
}
|
|
|
|
message NtlmRequest {
|
|
string session = 1;
|
|
string ntlmMessage = 2;
|
|
}
|
|
|
|
message NtlmResponse {
|
|
bool authenticated = 1;
|
|
string username = 2;
|
|
string ntlmMessage = 3;
|
|
}
|
|
|
|
service Authenticate {
|
|
rpc Authenticate (UserPass) returns (AuthResponse) {}
|
|
rpc NTLM (NtlmRequest) returns (NtlmResponse) {}
|
|
}
|