From d486e1dd917d10a8e92922b55363d2450ee46167 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Fri, 22 May 2009 01:47:27 +0000 Subject: [PATCH] change pam file name --- sesman/verify_user_pam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sesman/verify_user_pam.c b/sesman/verify_user_pam.c index 1e186ffc..e3d8596e 100644 --- a/sesman/verify_user_pam.c +++ b/sesman/verify_user_pam.c @@ -85,9 +85,9 @@ static void DEFAULT_CC get_service_name(char* service_name) { service_name[0] = 0; - if (g_file_exist("/etc/pam.d/sesman")) + if (g_file_exist("/etc/pam.d/xrdp-sesman")) { - g_strncpy(service_name, "sesman", 255); + g_strncpy(service_name, "xrdp-sesman", 255); } else {