]> git.sur5r.net Git - openldap/commitdiff
Align SSD names with nsswitch.conf names
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 4 Jun 2009 20:15:49 +0000 (20:15 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 4 Jun 2009 20:15:49 +0000 (20:15 +0000)
Note that pam-session logging requires a rootdn

contrib/slapd-modules/nssov/README
contrib/slapd-modules/nssov/nssov.c
contrib/slapd-modules/nssov/slapo-nssov.5

index 37fcda0fa94cf157b888406f6185f4df5dc3496f..d0e527eff5bcadc76cef510f328c1ca7af0ca6ef 100644 (file)
@@ -42,16 +42,16 @@ for each NSS service that will be used. SSDs are configured using
        nssov-ssd <service> <url>
 
 where the <service> may be one of
-       alias
-       ether
+       aliases
+       ethers
        group
-       host
+       hosts
        netgroup
-       network
+       networks
        passwd
-       protocol
+       protocols
        rpc
-       service
+       services
        shadow
 
 and the <url> must be of the form
index 08f318d65e578eef354af8c1e616c15d27284fbd..fbd61916377b901184773faaa76deacf519479fb 100644 (file)
@@ -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 }
 };
index 7e45d776df3460eb75cda72738de0cfb7b163ec0..855647d967a060b33ee60da69dd3ec322b56107c 100644 (file)
@@ -83,16 +83,16 @@ This directive configures a Service Search Descriptor (SSD) for each NSS
 service that will be used.  The <service> 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
@@ -247,7 +247,9 @@ of the form
 .RE
 Upon logout the corresponding value will be deleted. This feature allows
 a single LDAP Search to be used to check which users are logged in across
-all the hosts of a network. By default no services are configured.
+all the hosts of a network. The rootdn of the database is used to perform
+the updates of the loginStatus attribute, so a rootdn must already be
+configured for this feature to work. By default no services are configured.
 .LP
 The PAM functions support LDAP Password Policy as well. If the password
 policy overlay is in use (see