]> git.sur5r.net Git - openldap/commitdiff
Import name and optional UID syntax routines
authorKurt Zeilenga <kurt@openldap.org>
Tue, 5 Sep 2000 20:43:54 +0000 (20:43 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 5 Sep 2000 20:43:54 +0000 (20:43 +0000)
CHANGES
servers/slapd/schema_init.c

diff --git a/CHANGES b/CHANGES
index 01252f8a54f2d08b2dd4e91eec682e7b802abe5e..0040f6923d6fc556f760397473edc427512b1ca2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,12 +1,14 @@
 OpenLDAP 2.0 Change Log
 
 OpenLDAP 2.0.X Engineering
-       Fixed StartTLS & ldaps:// client SDK and command usage
+       Fixed StartTLS & ldaps:// client SDK
        Fixed slapd session close deadlock (ITS#704)
        Fixed slapd SSF ACLs
        Updated slapd MAXARGS to 200
        Updated slapd nisNetgroupTriple validation routine (ITS#705)
        Updated slapd bootParameter validation routine (ITS#706)
+       Updated slapd nameUID syntax to reuse DN routines
+       Updated client tool usage (ITS#710)
        Build Environment
                Fixed MSC tcp_close redefine
        Documentation
index 4b63b38e8c1f9c5ccd507cbe4a0731221565904f..715c1fd2b51693f3eabca67e70ef747a34f43b1b 100644 (file)
@@ -19,6 +19,7 @@
 
 /* recycled validatation routines */
 #define berValidate                                            blobValidate
+#define nameUIDValidate                                        dnValidate
 
 /* unimplemented validators */
 #define bitStringValidate                              NULL
@@ -28,6 +29,7 @@
 #define phoneNumberNormalize                   numericStringNormalize
 #define telexNumberNormalize                   numericStringNormalize
 #define integerNormalize                               numericStringNormalize
+#define nameUIDNormalize                               dnNormalize
 
 /* unimplemented normalizers */
 #define bitStringNormalize                             NULL
@@ -36,6 +38,9 @@
 #define dnPretty                                               NULL
 #define integerPretty                                  NULL
 
+/* recycled pretters */
+#define nameUIDPretty                                  dnPretty
+
 /* recycled matching routines */
 #define caseIgnoreMatch                                        caseIgnoreIA5Match
 #define caseIgnoreOrderingMatch                        caseIgnoreMatch
@@ -2348,7 +2353,7 @@ struct syntax_defs_rec syntax_defs[] = {
        {"( 1.3.6.1.4.1.1466.115.121.1.33 DESC 'MHS OR Address' )",
                0, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.34 DESC 'Name And Optional UID' )",
-               0, NULL, NULL, NULL},
+               0, nameUIDValidate, nameUIDNormalize, nameUIDPretty},
        {"( 1.3.6.1.4.1.1466.115.121.1.35 DESC 'Name Form Description' )",
                0, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.36 DESC 'Numeric String' )",