[PATCH] Wrong NSS interface used by default on DragonFly
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[PATCH] Wrong NSS interface used by default on DragonFly
- From: Francois Tigeot <ftigeot [at] wolfpond.org>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: [PATCH] Wrong NSS interface used by default on DragonFly
- Date: Sat, 25 Jan 2014 17:56:23 +0100
Hi,
The configure script doesnt know DragonFly and tries to use the glibc
interface by default on this operating system.
This of course results in a broken nss_ldap.so binary.
nss-pam-ldapd works fine if the right libc interface is choosen via
configure --with-nss-flavour=freebsd but it would be better if the
configure script used the right flavor by default.
The attached patch should help to do it.
-- 
Francois Tigeot
--- configure.ac.orig   2013-05-05 12:03:54.000000000 +0000
+++ configure.ac
@@ -445,7 +445,7 @@ then
     # do the guessing game
     case "$target_os" in
       solaris*) with_nss_flavour=solaris ;;
-      freebsd*) with_nss_flavour=freebsd ;;
+      freebsd*|dragonfly*) with_nss_flavour=freebsd ;;
       *)        with_nss_flavour=glibc ;;
     esac
   fi
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
- [PATCH] Wrong NSS interface used by default on DragonFly,
Francois Tigeot