]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/ntservice.c
Add experimental code to check simple bind passwords
[openldap] / libraries / liblutil / ntservice.c
index 9552082d47fc4473eeee5f040467cc0ce5893b1a..6540bf20797fc0ae8e9063457c1d592b1130299d 100644 (file)
@@ -6,6 +6,8 @@
 /* ntservice.c */
 #include "portable.h"
 
+#ifdef HAVE_NT_SERVICE_MANAGER
+
 #include <ac/stdlib.h>
 #include <ac/string.h>
 
@@ -425,3 +427,5 @@ void ReportSlapdShutdownComplete(  )
                SetServiceStatus(hSLAPDServiceStatus, &SLAPDServiceStatus);
        }
 }
+
+#endif