From c40baf03e608fcf64820297dfbb223cc7ad7fa82 Mon Sep 17 00:00:00 2001
From: Koichiro IWAO
Date: Thu, 13 Jul 2017 17:21:18 +0900
Subject: [PATCH] docs: document base64 prefill credentials
---
docs/man/xrdp.ini.5.in | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/docs/man/xrdp.ini.5.in b/docs/man/xrdp.ini.5.in
index 2f6c65fd..6996728d 100644
--- a/docs/man/xrdp.ini.5.in
+++ b/docs/man/xrdp.ini.5.in
@@ -274,15 +274,20 @@ The name displayed in \fBxrdp\fR(8) login window's combo box.
Sets the library to be used with this connection.
.TP
-\fBusername\fR=\fI\fR|\fIask\fR
+\fBusername\fR=\fI\fR|\fI{base64}\fR|\fIask\fR
Specifies the username used for authenticating in the connection.
If set to \fIask\fR, user name should be provided in the login window.
+If the username includes comment out symbols such as '!', '#', or ';', the username can be
+provided in base64 form prefixing "{base64}".
+
.TP
-\fBpassword\fR=\fI\fR|\fIask\fR
+\fBpassword\fR=\fI\fR|\fI{base64}\fR|\fIask\fR
Specifies the password used for authenticating in the connection.
If set to \fIask\fR, password should be provided in the login window.
+This parameter can be provided in base64 form as well as username. See also examples below.
+
.TP
\fBip\fR=\fI127.0.0.1\fR
Specifies the ip address of the host to connect to.
@@ -310,13 +315,22 @@ This is an example \fBxrdp.ini\fR:
bitmap_cache=true
bitmap_compression=true
-[vnc1]
-name=sesman
-lib=../vnc/libvnc.so
+[Xorg]
+name=Xorg
+lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
-port=\-1
+port=-1
+code=20
+
+[vnc-any]
+name=vnc-any
+lib=libvnc.so
+ip=ask
+port=ask5900
+username=na
+password={base64}cGFzc3dvcmQhCg==
.fi
.SH "FILES"