File: fix-nsswitch-example.patch

package info (click to toggle)
libnss-ldap 265-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,628 kB
  • sloc: ansic: 16,912; sh: 3,357; perl: 284; makefile: 105
file content (19 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fixes to nsswitch.ldap sample file
 This fixes a few issues in the nsswitch.ldap sample file to make it
 more applicable for Linux systems.
Author: Arthur de Jong <adejong@debian.org>
Bug-Debian: http://bugs.debian.org/384187

--- a/nsswitch.ldap
+++ b/nsswitch.ldap
@@ -6,8 +6,9 @@
 # "hosts:" and "services:" in this file are used only if the
 # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
 
-# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
+# the following lines obviate the "+" entry in /etc/passwd and /etc/group.
 passwd:		files ldap
+shadow:		files ldap
 group:		files ldap
 
 # consult DNS first, we will need it to resolve the LDAP host. (If we