aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-04 15:48:07 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-04 15:48:27 +0200
commit8ad83579d01fa02d68aa81fc49dc6abbb458dc04 (patch)
tree496b51295ec6cc7e9686308b05e570a4e0253290 /include
parent17aeb03f42e28d3bc990fe95eb774a2ec2e18720 (diff)
downloadlibpam-freerdp2-8ad83579d01fa02d68aa81fc49dc6abbb458dc04.tar.gz
libpam-freerdp2-8ad83579d01fa02d68aa81fc49dc6abbb458dc04.tar.bz2
libpam-freerdp2-8ad83579d01fa02d68aa81fc49dc6abbb458dc04.zip
include/pam-freerdp2.h: Exclude PAM prompts via public API so they can be used by e.g. Arctica Greeter.
Diffstat (limited to 'include')
-rw-r--r--include/pam-freerdp2.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/pam-freerdp2.h b/include/pam-freerdp2.h
new file mode 100644
index 0000000..3635a4f
--- /dev/null
+++ b/include/pam-freerdp2.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright © 2012-2013 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ * Copyright © 2012 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3, as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranties of
+ * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ */
+
+#ifndef _PAM_FREERDP2_H_
+#define _PAM_FREERDP2_H_
+
+#define PAM_FREERDP2_PROMPT_GUESTLOGIN "login:"
+#define PAM_FREERDP2_PROMPT_USER "remote login:"
+#define PAM_FREERDP2_PROMPT_HOST "remote host:"
+#define PAM_FREERDP2_PROMPT_DOMAIN "remote domain:"
+#define PAM_FREERDP2_PROMPT_PASSWORD "password:"
+
+#endif //_PAM_FREERDP2_H_