]> git.sur5r.net Git - openldap/commitdiff
should compile even without Cyrus SASL
authorPierangelo Masarati <ando@openldap.org>
Sat, 15 Jun 2002 15:01:17 +0000 (15:01 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 15 Jun 2002 15:01:17 +0000 (15:01 +0000)
servers/slapd/config.c

index 0fdb6229c2ff0cec8c42e60176b5152a82de0dad..d49baa0b09d4f874df0c7d830c72ab2577ab07f2 100644 (file)
@@ -558,10 +558,12 @@ read_config( const char *fname )
 
                        lutil_salt_format( cargv[1] );
 
+#ifdef HAVE_CYRUS_SASL
                /* SASL config options */
                } else if ( strncasecmp( cargv[0], "sasl", 4 ) == 0 ) {
                        if ( slap_sasl_config( cargc, cargv, line, fname, lineno ) )
                                return 1;
+#endif /* HAVE_CYRUS_SASL */
 
                /* set UCDATA path */
                } else if ( strcasecmp( cargv[0], "ucdata-path" ) == 0 ) {