summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-08 08:55:44 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-08 09:59:23 +0100
commit02320cb0e2728bb18e013e3ee22351293f3dd64e (patch)
tree74631aca1b11ddf3f3cb9ddf8edf780b80ecf732 /lib
parent6e7bcaa878af80be338b18bfe4ec45c51ebbeeed (diff)
downloadsamba-02320cb0e2728bb18e013e3ee22351293f3dd64e.tar.gz
samba-02320cb0e2728bb18e013e3ee22351293f3dd64e.tar.bz2
samba-02320cb0e2728bb18e013e3ee22351293f3dd64e.zip
libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE
metze
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/system/passwd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h
index b41608c551..aaea9c8344 100644
--- a/lib/replace/system/passwd.h
+++ b/lib/replace/system/passwd.h
@@ -101,10 +101,12 @@ char *rep_getpass(const char *prompt);
#endif
#ifdef NSS_WRAPPER
+#ifndef NSS_WRAPPER_DISABLE
#ifndef NSS_WRAPPER_NOT_REPLACE
#define NSS_WRAPPER_REPLACE
-#endif
+#endif /* NSS_WRAPPER_NOT_REPLACE */
#include "../nss_wrapper/nss_wrapper.h"
-#endif
+#endif /* NSS_WRAPPER_DISABLE */
+#endif /* NSS_WRAPPER */
#endif