aboutsummaryrefslogtreecommitdiff
path: root/nscd/nscd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-20 23:16:22 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-20 23:16:22 +0000
commit3c12b91ade6e271cb17ecaae526d959bc7e40098 (patch)
tree72eb96187b8b05e73c12393d1fcac889006e4fbb /nscd/nscd.c
parent65f0beb9c5c3badb9da924f85a41c6f847bc1d0f (diff)
downloadglibc-3c12b91ade6e271cb17ecaae526d959bc7e40098.tar
glibc-3c12b91ade6e271cb17ecaae526d959bc7e40098.tar.gz
glibc-3c12b91ade6e271cb17ecaae526d959bc7e40098.tar.bz2
glibc-3c12b91ade6e271cb17ecaae526d959bc7e40098.zip
Update.
2004-09-20 Ulrich Drepper <drepper@redhat.com> * 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.
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r--nscd/nscd.c7
1 files changed, 6 insertions, 1 deletions
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: