]> git.sur5r.net Git - openldap/commitdiff
Treat telephone syntax as numeric
authorKurt Zeilenga <kurt@openldap.org>
Thu, 15 Jun 2000 20:14:01 +0000 (20:14 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 15 Jun 2000 20:14:01 +0000 (20:14 +0000)
servers/slapd/schema_init.c

index 21adadfb8c2ed7c2292c5008a8460b3cb95486c5..7547e7b9d8fc8fab9bfbe01f05949fde84cf3506 100644 (file)
@@ -1307,7 +1307,7 @@ struct syntax_defs_rec syntax_defs[] = {
                X_BINARY X_NOT_H_R ")",
                SLAP_SYNTAX_BINARY|SLAP_SYNTAX_BER, berValidate, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.50 DESC 'Telephone Number' )",
-               0, blobValidate, NULL, NULL},
+               0, IA5StringValidate, NumericStringNormalize, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.51 DESC 'Teletex Terminal Identifier' )",
                0, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.52 DESC 'Telex Number' )",