git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7bcaa
)
libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE
author
Stefan Metzmacher
<metze@samba.org>
Mon, 8 Feb 2010 07:55:44 +0000
(08:55 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 8 Feb 2010 08:59:23 +0000
(09:59 +0100)
metze
lib/replace/system/passwd.h
patch
|
blob
|
history
diff --git
a/lib/replace/system/passwd.h
b/lib/replace/system/passwd.h
index b41608c551b5058b0e64236ba43b414726cf2a39..aaea9c8344e75b0dc02c972ffc83dd1ec8273ae6 100644
(file)
--- 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