summaryrefslogtreecommitdiff
path: root/debian/patches/auth-pam_libpam_so_filename.patch
blob: 336ccd421238d6d9bec55ff085f9617e2fa55c0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix libpam.so filename to /lib/libpam.so.0 in pam plugin
Author: Alberto Gonzalez Iniesta <agi@inittab.org>
Bug-Debian: http://bugs.debian.org/306335
Index: trunk/src/plugins/auth-pam/auth-pam.c
===================================================================
--- trunk.orig/src/plugins/auth-pam/auth-pam.c
+++ trunk/src/plugins/auth-pam/auth-pam.c
@@ -716,7 +716,7 @@ pam_server(int fd, const char *service,
     char ac_file_name[PATH_MAX];
     int command;
 #ifdef USE_PAM_DLOPEN
-    static const char pam_so[] = "libpam.so";
+    static const char pam_so[] = "libpam.so.0";
 #endif
 
     /*