summaryrefslogtreecommitdiffstats
path: root/debian/patches/0003-getpwnam.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-getpwnam.3.patch')
-rw-r--r--debian/patches/0003-getpwnam.3.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/patches/0003-getpwnam.3.patch b/debian/patches/0003-getpwnam.3.patch
new file mode 100644
index 0000000..83b18cc
--- /dev/null
+++ b/debian/patches/0003-getpwnam.3.patch
@@ -0,0 +1,37 @@
+From: "Dr. Tobias Quathamer" <toddy@debian.org>
+Date: Sat, 6 Feb 2016 01:20:55 +0100
+Subject: getpwnam.3
+
+---
+ man3/getpwnam.3 | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
+index 3e6af83..ac7262b 100644
+--- a/man3/getpwnam.3
++++ b/man3/getpwnam.3
+@@ -194,10 +194,18 @@ structure.
+ .TP
+ .B ERANGE
+ Insufficient buffer space supplied.
++.SH NOTE
++The user password database mostly refers to \fI/etc/passwd\fP.
++However, with recent systems it also refers to network wide databases
++using NIS, LDAP and other local files as configured in
++\fI/etc/nsswitch.conf\fP.
+ .SH FILES
+ .TP
+ .I /etc/passwd
+ local password database file
++.TP
++.I /etc/nsswitch.conf
++System Databases and Name Service Switch configuration file
+ .SH ATTRIBUTES
+ For an explanation of the terms used in this section, see
+ .BR attributes (7).
+@@ -348,4 +356,5 @@ main(int argc, char *argv[])
+ .BR getspnam (3),
+ .BR putpwent (3),
+ .BR setpwent (3),
++.BR nsswitch.conf (5),
+ .BR passwd (5)