packaging fix for winbind NSS libraries from Brian King
authorGerald Carter <jerry@samba.org>
Thu, 21 Aug 2003 15:07:43 +0000 (15:07 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 21 Aug 2003 15:07:43 +0000 (15:07 +0000)
(This used to be commit 04369b39897aec899957fb08665959b530ff9210)

packaging/Solaris/makepkg.sh

index bd370e9a624470368ee16e3e055dfb9725c05633..8423a1a9b49bb0a5e1aca4a587ff5643ed3db54a 100755 (executable)
@@ -32,6 +32,16 @@ add_dynamic_entries()
     fi
   done
 
+ # add libraries to /lib for winbind
+  echo "#\n# Libraries \n#"
+    if [ -f $DISTR_BASE/source/nsswitch/libnss_winbind.so ] ; then
+       echo f none /usr/lib/libnss_winbind.so=source/nsswitch/libnss_winbind.so 0755 root other
+       echo s none /usr/lib/libnss_winbind.so.1=/usr/lib/libnss_winbind.so 0755 root other
+       echo s none /usr/lib/libnss_winbind.so.2=/usr/lib/libnss_winbind.so 0755 root other
+       echo s none /usr/lib/nss_winbind.so.1=/usr/lib/libnss_winbind.so 0755 root other
+       echo s none /usr/lib/nss_winbind.so.2=/usr/lib/libnss_winbind.so 0755 root other
+    fi
+
   # Add the manpages
   echo "#\n# man pages \n#"
   echo d none /usr ? ? ?