change pam file name

This commit is contained in:
jsorg71 2009-05-22 01:47:27 +00:00
parent d9ba6c30ca
commit d486e1dd91

View File

@ -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
{