]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Incorporate modify* attributes in add to workaround netscape bug.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 17 Jan 2000 18:46:06 +0000 (18:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 17 Jan 2000 18:46:06 +0000 (18:46 +0000)
LDAPext has agreed that the specs should updated to call for this
behavior in RFC2252bis.  Hopefully this won't break any existing
clients.

CHANGES
servers/slapd/add.c

diff --git a/CHANGES b/CHANGES
index 17fb086c242326463dbb7d40ed647358c4b31119..086ed1a17be786bf4b52055f4ecc544c03eb922a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,7 @@ Changes included in OpenLDAP 1.2.9
        Fixed lutil/password bogus crypt password bug (ITS#423)
        Fixed slapd/back-ldbm indexing bug (ITS#402)
        Added UD support for creators/modifiers attributes (ITS#422)
+       Added modify* attributes on add to workaround client issue (ITS#424)
        Build Environment
                Rebuild configure
                Added support for db1 vs db2 with glibc 2.1
index e128d81af74929c3a25e55e3c845a240a3edfc40..d9ddfdf7681f95fa78c78f90d6dae56d09d8d788 100644 (file)
@@ -180,6 +180,7 @@ add_created_attrs( Operation *op, Entry *e )
                bv.bv_len = strlen( bv.bv_val );
        }
        attr_merge( e, "creatorsname", bvals );
+       attr_merge( e, "modifiersname", bvals );
 
        ldap_pvt_thread_mutex_lock( &currenttime_mutex );
 #ifndef LDAP_LOCALTIME
@@ -194,4 +195,5 @@ add_created_attrs( Operation *op, Entry *e )
        bv.bv_val = buf;
        bv.bv_len = strlen( bv.bv_val );
        attr_merge( e, "createtimestamp", bvals );
+       attr_merge( e, "modifytimestamp", bvals );
 }