From a440584dfda4942e10017e53a871ce035f0ef788 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 4 Jun 2009 12:21:16 +0000 Subject: [PATCH] Align SSD names with nsswitch.conf names --- contrib/slapd-modules/nssov/README | 12 ++++++------ contrib/slapd-modules/nssov/nssov.c | 12 ++++++------ contrib/slapd-modules/nssov/slapo-nssov.5 | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/contrib/slapd-modules/nssov/README b/contrib/slapd-modules/nssov/README index 37fcda0fa9..d0e527eff5 100644 --- a/contrib/slapd-modules/nssov/README +++ b/contrib/slapd-modules/nssov/README @@ -42,16 +42,16 @@ for each NSS service that will be used. SSDs are configured using nssov-ssd where the may be one of - alias - ether + aliases + ethers group - host + hosts netgroup - network + networks passwd - protocol + protocols rpc - service + services shadow and the must be of the form diff --git a/contrib/slapd-modules/nssov/nssov.c b/contrib/slapd-modules/nssov/nssov.c index 08f318d65e..fbd6191637 100644 --- a/contrib/slapd-modules/nssov/nssov.c +++ b/contrib/slapd-modules/nssov/nssov.c @@ -397,16 +397,16 @@ static void *acceptconn(void *ctx, void *arg) } static slap_verbmasks nss_svcs[] = { - { BER_BVC("alias"), NM_alias }, - { BER_BVC("ether"), NM_ether }, + { BER_BVC("aliases"), NM_alias }, + { BER_BVC("ethers"), NM_ether }, { BER_BVC("group"), NM_group }, - { BER_BVC("host"), NM_host }, + { BER_BVC("hosts"), NM_host }, { BER_BVC("netgroup"), NM_netgroup }, - { BER_BVC("network"), NM_network }, + { BER_BVC("networks"), NM_network }, { BER_BVC("passwd"), NM_passwd }, - { BER_BVC("protocol"), NM_protocol }, + { BER_BVC("protocols"), NM_protocol }, { BER_BVC("rpc"), NM_rpc }, - { BER_BVC("service"), NM_service }, + { BER_BVC("services"), NM_service }, { BER_BVC("shadow"), NM_shadow }, { BER_BVNULL, 0 } }; diff --git a/contrib/slapd-modules/nssov/slapo-nssov.5 b/contrib/slapd-modules/nssov/slapo-nssov.5 index 7e45d776df..d91ad4628f 100644 --- a/contrib/slapd-modules/nssov/slapo-nssov.5 +++ b/contrib/slapd-modules/nssov/slapo-nssov.5 @@ -83,16 +83,16 @@ This directive configures a Service Search Descriptor (SSD) for each NSS service that will be used. The may be one of .RS .nf - alias - ether + aliases + ethers group - host + hosts netgroup - network + networks passwd - protocol + protocols rpc - service + services shadow .fi .RE -- 2.39.5