Commit 850bfb9c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Incorporate modify* attributes in add to workaround netscape bug.

LDAPext has agreed that the specs should updated to call for this
behavior in RFC2252bis.  Hopefully this won't break any existing
clients.
parent d5812d5a
...@@ -5,6 +5,7 @@ Changes included in OpenLDAP 1.2.9 ...@@ -5,6 +5,7 @@ Changes included in OpenLDAP 1.2.9
Fixed lutil/password bogus crypt password bug (ITS#423) Fixed lutil/password bogus crypt password bug (ITS#423)
Fixed slapd/back-ldbm indexing bug (ITS#402) Fixed slapd/back-ldbm indexing bug (ITS#402)
Added UD support for creators/modifiers attributes (ITS#422) Added UD support for creators/modifiers attributes (ITS#422)
Added modify* attributes on add to workaround client issue (ITS#424)
Build Environment Build Environment
Rebuild configure Rebuild configure
Added support for db1 vs db2 with glibc 2.1 Added support for db1 vs db2 with glibc 2.1
......
...@@ -180,6 +180,7 @@ add_created_attrs( Operation *op, Entry *e ) ...@@ -180,6 +180,7 @@ add_created_attrs( Operation *op, Entry *e )
bv.bv_len = strlen( bv.bv_val ); bv.bv_len = strlen( bv.bv_val );
} }
attr_merge( e, "creatorsname", bvals ); attr_merge( e, "creatorsname", bvals );
attr_merge( e, "modifiersname", bvals );
ldap_pvt_thread_mutex_lock( &currenttime_mutex ); ldap_pvt_thread_mutex_lock( &currenttime_mutex );
#ifndef LDAP_LOCALTIME #ifndef LDAP_LOCALTIME
...@@ -194,4 +195,5 @@ add_created_attrs( Operation *op, Entry *e ) ...@@ -194,4 +195,5 @@ add_created_attrs( Operation *op, Entry *e )
bv.bv_val = buf; bv.bv_val = buf;
bv.bv_len = strlen( bv.bv_val ); bv.bv_len = strlen( bv.bv_val );
attr_merge( e, "createtimestamp", bvals ); attr_merge( e, "createtimestamp", bvals );
attr_merge( e, "modifytimestamp", bvals );
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment