diff options
author | Andreas Schneider <asn@samba.org> | 2014-04-07 16:32:20 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-04-17 14:56:06 +0200 |
commit | 30860e0d0e2ed996238a6413b71b5fd899342754 (patch) | |
tree | b7b8aa27dbcf0ca9d034fd171906fef943fec685 /lib/replace | |
parent | 1a46269599c3eb80be68b30b70fbef1fa4e0c5cc (diff) | |
download | samba-30860e0d0e2ed996238a6413b71b5fd899342754.tar.gz |
replace: Add nss_wrapper_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.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 2935b5061f8..2488b5c2b53 100644 --- a/lib/replace/cwrap.c +++ b/lib/replace/cwrap.c @@ -25,6 +25,11 @@ #include "replace.h" +bool nss_wrapper_enabled(void) +{ + return false; +} + bool uid_wrapper_enabled(void) { return false; diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 08a70c97a59..ae383dccc11 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -899,6 +899,7 @@ int usleep(useconds_t); void rep_setproctitle(const char *fmt, ...) PRINTF_ATTRIBUTE(1, 2); #endif +bool nss_wrapper_enabled(void); bool uid_wrapper_enabled(void); #endif /* _LIBREPLACE_REPLACE_H */ |