The Samba-Bugzilla – Attachment 8112 Details for
Bug 9299
nsswitch modules under Linux need a symbolic to their so version library.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v4-0-test patch
look (text/plain), 2.69 KB, created by
Andreas Schneider
on 2012-10-29 11:11:18 UTC
(
hide
)
Description:
v4-0-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2012-10-29 11:11:18 UTC
Size:
2.69 KB
patch
obsolete
>From 4ee0776c9de1493ce9c5caaf7b842e93d447aa3f Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 17 Oct 2012 18:03:55 +0200 >Subject: [PATCH 1/3] wafsamba: If we define a realname and a soname create a > symlink. > >This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a >corresponding symlinks. > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > buildtools/wafsamba/samba_install.py | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py >index 5e53989..aa7f143 100644 >--- a/buildtools/wafsamba/samba_install.py >+++ b/buildtools/wafsamba/samba_install.py >@@ -103,6 +103,8 @@ def install_library(self): > if getattr(self, 'samba_realname', None): > install_name = self.samba_realname > install_link = None >+ if getattr(self, 'soname', ''): >+ install_link = self.soname > if getattr(self, 'samba_type', None) == 'PYTHON': > inst_name = bld.make_libname(t.target, nolibprefix=True, python=True) > else: >-- >1.8.0 > > >From d7af77460500d786ee23a847516e7000387060aa Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 17 Oct 2012 18:16:15 +0200 >Subject: [PATCH 2/3] waf: Create a libnss_winbind.so symlink. > >This fixes bug #9299. > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > nsswitch/wscript_build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build >index 0802687..1d47264 100644 >--- a/nsswitch/wscript_build >+++ b/nsswitch/wscript_build >@@ -18,9 +18,9 @@ bld.SAMBA_LIBRARY('nss_winbind', > source='winbind_nss_linux.c', > deps='winbind-client', > realname='libnss_winbind.so.2', >+ soname='libnss_winbind.so', > vnum='2') > >- > if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'): > bld.SAMBA_LIBRARY('pamwinbind', > source='pam_winbind.c', >-- >1.8.0 > > >From 8cd5e5cec0f7023f209eb4ecb5afe0e1848d47e7 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 17 Oct 2012 18:17:27 +0200 >Subject: [PATCH 3/3] waf: Create a libnss_wins.so symlink. > >This fixes bug #9299. > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > source3/wscript_build | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/wscript_build b/source3/wscript_build >index 7e39ec3..97828c6 100755 >--- a/source3/wscript_build >+++ b/source3/wscript_build >@@ -657,6 +657,7 @@ bld.SAMBA3_LIBRARY('nss_wins', > source=WINBIND_WINS_NSS_SRC, > deps='''param libsmb LIBTSOCKET''', > realname='libnss_wins.so.2', >+ soname='libnss_wins.so', > vnum='2') > > bld.SAMBA3_LIBRARY('gse', >-- >1.8.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ddiss
:
review+
metze
:
review-
Actions:
View
Attachments on
bug 9299
:
8086
| 8112 |
8113
|
10548
|
10560
|
10561
|
10562
|
10588
|
10589