aboutsummaryrefslogtreecommitdiff
path: root/src/pam-x2go-children.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-03 08:04:48 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-03 08:04:48 +0200
commitb42a3b9fe6b9530201eb4a6e3eddafe649918ac1 (patch)
tree3ee48dd4b5610acf5ec62a222217b71d4a2c8996 /src/pam-x2go-children.h
parentc71e7aa9a176433430e2037f41f87b5fce11f7cd (diff)
downloadlibpam-x2go-b42a3b9fe6b9530201eb4a6e3eddafe649918ac1.tar.gz
libpam-x2go-b42a3b9fe6b9530201eb4a6e3eddafe649918ac1.tar.bz2
libpam-x2go-b42a3b9fe6b9530201eb4a6e3eddafe649918ac1.zip
Don't use PAM_RUSER and PAM_RHOST. Not made for this. Introduce our own PAM types (PAM_TYPE_X2GO_USER, _X2GO_SERVER, _X2GO_COMMAND).
Diffstat (limited to 'src/pam-x2go-children.h')
-rw-r--r--src/pam-x2go-children.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pam-x2go-children.h b/src/pam-x2go-children.h
index f46c3cf..1d7ee34 100644
--- a/src/pam-x2go-children.h
+++ b/src/pam-x2go-children.h
@@ -20,7 +20,9 @@
#ifndef _PAM_X2GO_CHILDREN_H_
#define _PAM_X2GO_CHILDREN_H_
-#define PAM_TYPE_SESSIONTYPE 1234
+#define PAM_TYPE_X2GO_USER 1234
+#define PAM_TYPE_X2GO_SERVER 1235
+#define PAM_TYPE_X2GO_COMMAND 1236
#define ALL_GOOD_SIGNAL "Ar, ready to authenticate cap'n"
void