Skip to content

Commit

Permalink
Remove special ecryptfs handling, meanwhile obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
thkukuk committed Mar 17, 2023
1 parent 65a1f3d commit b4404e1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/pam-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ main (int argc, char *argv[])
{"winbind", no_argument, NULL, 2200 },
{"winbind-debug", no_argument, NULL, 2201 },
{"sss", no_argument, NULL, 2300 },
{"ecryptfs", no_argument, NULL, 2400 },
{NULL, 0, NULL, 0 }
};
static struct option service_long_options[] = {
Expand Down Expand Up @@ -854,20 +853,6 @@ main (int argc, char *argv[])
opt_set->enable (opt_set, "is_enabled", opt.opt_val);
}
break;
case 2400:
/* pam_ecryptfs.so */
if (opt.m_query)
print_module_config (common_module_list, "pam_ecryptfs.so");
else
{
if (!opt.m_delete && check_for_pam_module ("pam_ecryptfs.so", opt.force, 0) != 0)
return 1;
opt_set = mod_pam_ecryptfs.get_opt_set (&mod_pam_ecryptfs, AUTH);
opt_set->enable (opt_set, "is_enabled", opt.opt_val);
opt_set = mod_pam_ecryptfs.get_opt_set (&mod_pam_ecryptfs, SESSION);
opt_set->enable (opt_set, "is_enabled", opt.opt_val);
}
break;
/* From here we have single service modules */
case 3200:
/* pam_cryptpass.so */
Expand Down

0 comments on commit b4404e1

Please sign in to comment.