]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bind.c
declare oc_bvfind_undef()
[openldap] / servers / slapd / bind.c
index 836e9d4ce51056a8e5101bc5244769160b59df8a..7ad9bf1d50807d5fa151802195551281c2300bde 100644 (file)
@@ -231,7 +231,7 @@ fe_op_bind( Operation *op, SlapReply *rs )
        struct berval   mech = op->orb_tmp_mech;
 
        /* check for inappropriate controls */
-       if( get_manageDSAit( op ) == SLAP_CRITICAL_CONTROL ) {
+       if( get_manageDSAit( op ) == SLAP_CONTROL_CRITICAL ) {
                send_ldap_error( op, rs,
                        LDAP_UNAVAILABLE_CRITICAL_EXTENSION,
                        "manageDSAit control inappropriate" );