summaryrefslogtreecommitdiff
path: root/net/nss-pam-ldapd/files/patch-nslcd__nslcd.c
blob: e5da9faa531db080cad3983bcae8d00e19c5f7e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- nslcd/nslcd.c.orig	2010-07-06 23:36:52.000000000 +0400
+++ nslcd/nslcd.c	2010-07-06 23:40:01.000000000 +0400
@@ -574,7 +574,7 @@
   char *error;
   int *enable_flag;
   /* try to load the NSS module */
-  handle=dlopen("libnss_ldap.so.2",RTLD_LAZY|RTLD_NODELETE);
+  handle=dlopen("nss_ldap.so.1",RTLD_LAZY|RTLD_NODELETE);
   if (handle==NULL)
   {
     log_log(LOG_WARNING,"Warning: LDAP NSS module not loaded: %s",dlerror());