File: 0003-db-doc.patch

package info (click to toggle)
vsftpd 3.0.5-0.3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,664 kB
  • sloc: ansic: 16,810; sh: 251; makefile: 51; python: 18
file content (19 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: shaul Karl <shaulkarl@yahoo.com>
Description:
 A short explanation how to find out the right db version (Closes: #478282).

diff -Naurp vsftpd.orig/EXAMPLE/VIRTUAL_USERS/README vsftpd/EXAMPLE/VIRTUAL_USERS/README
--- vsftpd.orig/EXAMPLE/VIRTUAL_USERS/README
+++ vsftpd/EXAMPLE/VIRTUAL_USERS/README
@@ -21,7 +21,10 @@ NOTE: Many systems have multiple version
 need to use e.g. db3_load for correct operation. This is known to affect
 some Debian systems. The core issue is that pam_userdb expects its login
 database to be a specific db version (often db3, whereas db4 may be installed
-on your system).
+on your system). You might check ahead what specific db version you'll need
+by looking at the dependcies of the pam module. Some methods to do that is to
+run ldd on the pam_userdb.so or look at the dependencies of the package with
+the pam modules.
 
 This will create /etc/vsftpd_login.db. Obviously, you may want to make sure
 the permissions are restricted: