From: Kurt Zeilenga Date: Thu, 7 Sep 2000 17:53:05 +0000 (+0000) Subject: Add missing "disallow bind_anon" directive (ITS#721) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2080 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d463b3cab1e427bbfb8c6c3936d059f44cc4e7a0;p=openldap Add missing "disallow bind_anon" directive (ITS#721) --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 903932def8..142eb6c864 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -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;