From 589051f3ef91ab1bc3029de3952907dea81c1f88 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 5 May 2018 16:57:41 +0200 Subject: src/: Rename files *freerdp* -> *freerdp2*. --- src/pam-freerdp2-children.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/pam-freerdp2-children.h (limited to 'src/pam-freerdp2-children.h') diff --git a/src/pam-freerdp2-children.h b/src/pam-freerdp2-children.h new file mode 100644 index 0000000..e0af5bd --- /dev/null +++ b/src/pam-freerdp2-children.h @@ -0,0 +1,31 @@ +/* + * 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 . + * + * Author: Ted Gould + */ + +#ifndef _PAM_FREERDP_CHILDREN_H_ +#define _PAM_FREERDP_CHILDREN_H_ + +#define PAM_TYPE_RDPSERVER 1234 +#define PAM_TYPE_RDPDOMAIN 1235 +#define ALL_GOOD_SIGNAL "Ar, ready to authenticate cap'n" + +void +pam_sm_authenticate_helper (int *stdinpipe, const char* username, const char* rhost, const char* ruser, const char* rdomain); + +int +session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruser, const char * rhost, const char * rdomain, const char * password); +#endif //_PAM_FREERDP_CHILDREN_H_ -- cgit v1.2.3