change pam file name

ulab-original
jsorg71 16 years ago
parent d9ba6c30ca
commit d486e1dd91

@ -85,9 +85,9 @@ static void DEFAULT_CC
get_service_name(char* service_name) get_service_name(char* service_name)
{ {
service_name[0] = 0; 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 else
{ {

Loading…
Cancel
Save