]> git.sur5r.net Git - openldap/commitdiff
Add missing "disallow bind_anon" directive (ITS#721)
authorKurt Zeilenga <kurt@openldap.org>
Thu, 7 Sep 2000 17:53:05 +0000 (17:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 7 Sep 2000 17:53:05 +0000 (17:53 +0000)
servers/slapd/config.c

index 903932def8d0899e4c49fc6e3293b431f6505000..142eb6c8648b9d573297f3c21391cf611e0ecc41 100644 (file)
@@ -531,6 +531,9 @@ read_config( const char *fname )
                                if( strcasecmp( cargv[i], "bind_v2" ) == 0 ) {
                                        disallows |= SLAP_DISALLOW_BIND_V2;
 
+                               } else if( strcasecmp( cargv[i], "bind_anon" ) == 0 ) {
+                                       disallows |= SLAP_DISALLOW_BIND_ANON;
+
                                } else if( strcasecmp( cargv[i], "bind_anon_cred" ) == 0 ) {
                                        disallows |= SLAP_DISALLOW_BIND_ANON_CRED;