]> git.sur5r.net Git - openldap/commitdiff
Fix ad_inlist typo on oc->required
authorHoward Chu <hyc@openldap.org>
Fri, 15 Feb 2002 14:48:01 +0000 (14:48 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 15 Feb 2002 14:48:01 +0000 (14:48 +0000)
servers/slapd/ad.c

index bd43d0eb7aad713b395e32c87bd19e3b733f4122..7836466d540c24a0173692478ff6d989bb709cf3 100644 (file)
@@ -456,7 +456,7 @@ int ad_inlist(
                                int i;
                                for ( i = 0; oc->soc_required[i] != NULL; i++ ) {
                                        rc = is_at_subtype( desc->ad_type,
-                                               oc->soc_allowed[i] );
+                                               oc->soc_required[i] );
                                        if( rc ) return 1;
                                }
                        }