diff options
author | Andreas Schneider <asn@samba.org> | 2014-04-08 10:07:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-04-17 14:56:06 +0200 |
commit | 115a80d3812c1bca35e6e126c067885e53302dcd (patch) | |
tree | 43d922ecfaf1be90e9b47467f02718c746e8e8ee | |
parent | 30860e0d0e2ed996238a6413b71b5fd899342754 (diff) | |
download | samba-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>
-rw-r--r-- | lib/replace/cwrap.c | 5 | ||||
-rw-r--r-- | lib/replace/replace.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/cwrap.c b/lib/replace/cwrap.c index 2488b5c2b5..19658748b9 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 ae383dccc1..754ce864b9 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 */ |