]> git.sur5r.net Git - openldap/commitdiff
blind fix for NULL pointer in Debug() bug (ITS#2143)
authorKurt Zeilenga <kurt@openldap.org>
Thu, 17 Oct 2002 17:45:44 +0000 (17:45 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 17 Oct 2002 17:45:44 +0000 (17:45 +0000)
servers/slapd/back-sql/schema-map.c

index a0194561d05580797daa6b23bd099eef1c53f593..140900cdc0eace2f523c41d130ed7a9d3a78da40 100644 (file)
@@ -326,7 +326,7 @@ backsql_load_schema_map( backsql_info *si, SQLHDBC dbh )
                                Debug( LDAP_DEBUG_TRACE, "load_schema_map(): "
                                        "attribute '%s' for objectClass '%s' "
                                        "is not defined in schema: %s\n", 
-                                       at_map->ad->ad_cname.bv_val, 
+                                       at_rol.cols[ 0 ],
                                        BACKSQL_OC_NAME( oc_map ), text );
                                return LDAP_CONSTRAINT_VIOLATION;
                        }