From 3c12b91ade6e271cb17ecaae526d959bc7e40098 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Sep 2004 23:16:22 +0000 Subject: Update. 2004-09-20 Ulrich Drepper * nscd/nscd.c (options): Mark S option as hidden. (parse_opt): When S option is used, print warning message. * nscd/grpcache.c (adgrptbyX): Don't handle secure mode. * nscd/hstcache.c (addhstbyX): Don't handle secure mode. * nscd/aicache.c (addhstaiX): Don't handle secure mode. * nscd/pwdcache.c (addpwbyX): Don't handle secure mode. --- nscd/nscd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nscd/nscd.c') diff --git a/nscd/nscd.c b/nscd/nscd.c index 51aed02c54..4586cf04c9 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -98,7 +98,8 @@ static const struct argp_option options[] = { "statistic", 'g', NULL, 0, N_("Print current configuration statistic") }, { "invalidate", 'i', N_("TABLE"), 0, N_("Invalidate the specified cache") }, - { "secure", 'S', N_("TABLE,yes"), 0, N_("Use separate cache for each user")}, + { "secure", 'S', N_("TABLE,yes"), OPTION_HIDDEN, + N_("Use separate cache for each user")}, { NULL, 0, NULL, 0, NULL } }; @@ -356,12 +357,16 @@ parse_opt (int key, char *arg, struct argp_state *state) break; case 'S': +#if 0 if (strcmp (arg, "passwd,yes") == 0) secure_in_use = dbs[pwddb].secure = 1; else if (strcmp (arg, "group,yes") == 0) secure_in_use = dbs[grpdb].secure = 1; else if (strcmp (arg, "hosts,yes") == 0) secure_in_use = dbs[hstdb].secure = 1; +#else + error (0, 0, _("secure services not implemented anymore")); +#endif break; default: -- cgit v1.2.3