mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-14 12:53:47 +02:00
Improve config
This commit is contained in:
parent
01345b9416
commit
097a2deca7
4 changed files with 34 additions and 27 deletions
12
main.go
12
main.go
|
@ -91,9 +91,17 @@ func main() {
|
|||
|
||||
// create the gateway
|
||||
handlerConfig := protocol.HandlerConf{
|
||||
TokenAuth: true,
|
||||
IdleTimeout: conf.Caps.IdleTimeout,
|
||||
TokenAuth: conf.Caps.TokenAuth,
|
||||
SmartCardAuth: conf.Caps.SmartCardAuth,
|
||||
RedirectFlags: protocol.RedirectFlags{
|
||||
Clipboard: true,
|
||||
Clipboard: conf.Caps.EnableClipboard,
|
||||
Drive: conf.Caps.EnableDrive,
|
||||
Printer: conf.Caps.EnablePrinter,
|
||||
Port: conf.Caps.EnablePort,
|
||||
Pnp: conf.Caps.EnablePnp,
|
||||
DisableAll: conf.Caps.DisableRedirect,
|
||||
EnableAll: conf.Caps.RedirectAll,
|
||||
},
|
||||
}
|
||||
gw := protocol.Gateway{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue