summaryrefslogtreecommitdiffstats
path: root/lib/replace
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-04-08 10:07:14 +0200
committerStefan Metzmacher <metze@samba.org>2014-04-17 14:56:06 +0200
commit115a80d3812c1bca35e6e126c067885e53302dcd (patch)
tree43d922ecfaf1be90e9b47467f02718c746e8e8ee /lib/replace
parent30860e0d0e2ed996238a6413b71b5fd899342754 (diff)
downloadsamba-115a80d3812c1bca35e6e126c067885e53302dcd.tar.gz
samba-115a80d3812c1bca35e6e126c067885e53302dcd.tar.xz
samba-115a80d3812c1bca35e6e126c067885e53302dcd.zip
replace: Add nss_wrapper_hosts_enabled().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/cwrap.c5
-rw-r--r--lib/replace/replace.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/cwrap.c b/lib/replace/cwrap.c
index 2488b5c2b53..19658748b9c 100644
--- a/lib/replace/cwrap.c
+++ b/lib/replace/cwrap.c
@@ -30,6 +30,11 @@ bool nss_wrapper_enabled(void)
return false;
}
+bool nss_wrapper_hosts_enabled(void)
+{
+ return false;
+}
+
bool uid_wrapper_enabled(void)
{
return false;
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index ae383dccc11..754ce864b97 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -900,6 +900,7 @@ void rep_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2);
#endif
bool nss_wrapper_enabled(void);
+bool nss_wrapper_hosts_enabled(void);
bool uid_wrapper_enabled(void);
#endif /* _LIBREPLACE_REPLACE_H */