summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-07-06 06:59:27 +0000
committerTim Potter <tpot@samba.org>2000-07-06 06:59:27 +0000
commitf1ccd14b424e4edca000850800905d9e7d3a83b7 (patch)
treec4033b6471975ff14ac0990db9640650e92de1b7
parentcfc7266a7b5e3cb0170b48d121677434c7443c3d (diff)
downloadsamba-f1ccd14b424e4edca000850800905d9e7d3a83b7.tar.gz
samba-f1ccd14b424e4edca000850800905d9e7d3a83b7.tar.bz2
samba-f1ccd14b424e4edca000850800905d9e7d3a83b7.zip
Include nss.h if present or define enough values to allow client access to
winbind. (This used to be commit 669bd8dc1ab4690cf21310fe0310f1716e4a0197)
-rw-r--r--source3/include/includes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1400b2f07e..4a760b86f5 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -935,4 +935,19 @@ extern int DEBUGLEVEL;
#define MAX_SEC_CTX_DEPTH 8 /* Maximum number of security contexts */
+#ifdef HAVE_NSS_H
+#include <nss.h>
+#else
+
+/* Minimal needed to compile.. */
+
+enum nss_status {
+ NSS_STATUS_SUCCESS,
+ NSS_STATUS_NOTFOUND,
+ NSS_STATUS_UNAVAIL
+};
+
+#endif
+
#endif /* _INCLUDES_H */
+