diff src/auth/db-ldap.c @ 4806:63ed4f00f6e1 HEAD

Solaris LDAP compiling fix.
author Timo Sirainen <tss@iki.fi>
date Mon, 13 Nov 2006 01:10:03 +0200
parents d36a5df3f492
children 8ac2a2d27364
line wrap: on
line diff
--- a/src/auth/db-ldap.c	Sun Nov 12 23:31:50 2006 +0200
+++ b/src/auth/db-ldap.c	Mon Nov 13 01:10:03 2006 +0200
@@ -27,6 +27,10 @@
 #  undef HAVE_LDAP_SASL
 #endif
 
+#ifndef LDAP_SASL_QUIET
+#  define LDAP_SASL_QUIET 0 /* Doesn't exist in Solaris LDAP */
+#endif
+
 /* Older versions may require calling ldap_result() twice */
 #if LDAP_VENDOR_VERSION <= 20112
 #  define OPENLDAP_ASYNC_WORKAROUND