The Samba-Bugzilla – Attachment 14843 Details for
Bug 13787
libnscd configure checks missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.9
patch-4.9 (text/plain), 1.82 KB, created by
Christof Schmitt
on 2019-02-13 17:20:45 UTC
(
hide
)
Description:
patch for 4.9
Filename:
MIME Type:
Creator:
Christof Schmitt
Created:
2019-02-13 17:20:45 UTC
Size:
1.82 KB
patch
obsolete
>From 1758643b3f770ecc1e08d6c75aac5b61750b86e2 Mon Sep 17 00:00:00 2001 >From: Christof Schmitt <cs@samba.org> >Date: Tue, 12 Feb 2019 12:28:32 -0700 >Subject: [PATCH] waf: Check for libnscd >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The check was in the old autoconf, but not in waf. As the code is still >in source3/lib/util_nscd.c, add the check for libnscd to allow building >and using the code. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13787 > >Signed-off-by: Christof Schmitt <cs@samba.org> >Reviewed-by: Guenther Deschner <gd@samba.org> > >Autobuild-User(master): Günther Deschner <gd@samba.org> >Autobuild-Date(master): Wed Feb 13 17:58:33 CET 2019 on sn-devel-144 > >(cherry picked from commit 3a793497796395ffa3efda5807bdb1ca8e09e35b) >--- > source3/wscript | 3 +++ > source3/wscript_build | 1 + > 2 files changed, 4 insertions(+) > >diff --git a/source3/wscript b/source3/wscript >index 47b55122081..42f60551bcd 100644 >--- a/source3/wscript >+++ b/source3/wscript >@@ -1646,6 +1646,9 @@ main() { > > conf.CHECK_HEADERS('rpc/xdr.h', lib='tirpc') > >+ if conf.CHECK_FUNCS_IN('nscd_flush_cache', 'nscd', headers='libnscd.h'): >+ conf.DEFINE('HAVE_NSCD_FLUSH_CACHE', '1') >+ > forced_static_modules.extend(TO_LIST('auth_builtin auth_sam auth_winbind')) > default_static_modules.extend(TO_LIST('''pdb_smbpasswd pdb_tdbsam > auth_unix >diff --git a/source3/wscript_build b/source3/wscript_build >index 36cfd5dada7..40d93cbcae5 100644 >--- a/source3/wscript_build >+++ b/source3/wscript_build >@@ -181,6 +181,7 @@ bld.SAMBA3_SUBSYSTEM('pdb', > LIBCLI_AUTH > flag_mapping > samba-credentials >+ nscd > ''') > > bld.SAMBA3_LIBRARY('smbldaphelper', >-- >2.17.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:
gd
:
review+
Actions:
View
Attachments on
bug 13787
:
14842
| 14843 |
14844