]> git.sur5r.net Git - openldap/commitdiff
slaptools : normalize entryUUID
authorJong Hyuk Choi <jongchoi@openldap.org>
Thu, 20 Nov 2003 01:13:00 +0000 (01:13 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Thu, 20 Nov 2003 01:13:00 +0000 (01:13 +0000)
servers/slapd/tools/slapadd.c

index 1958a4249304ab2dcbe5c6751a14dd5d4177c916..a89f1b44f9c6a14c538909701a38d169a09464f6 100644 (file)
@@ -226,7 +226,8 @@ main( int argc, char **argv )
                        {
                                vals[0].bv_len = lutil_uuidstr( uuidbuf, sizeof( uuidbuf ) );
                                vals[0].bv_val = uuidbuf;
-                               attr_merge( e, slap_schema.si_ad_entryUUID, vals, NULL );
+                               attr_merge_normalize_one( e,
+                                                       slap_schema.si_ad_entryUUID, vals, NULL );
                        }
 
                        if( attr_find( e->e_attrs, slap_schema.si_ad_creatorsName )