From b67bd9ee504ae3e0ef1e8aedd3b04ac7b2c102e8 Mon Sep 17 00:00:00 2001 From: mharo Date: Wed, 27 Oct 1999 08:27:11 +0000 Subject: mod to support Netscape's roaming profiles. PR: 14508 Submitted by: Patrick Bihan-Faou patrick@mindstep.com --- net/openldap/files/patch-aa | 20 ++++++++++++++++++++ net/openldap12/files/patch-aa | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 net/openldap/files/patch-aa create mode 100644 net/openldap12/files/patch-aa (limited to 'net') diff --git a/net/openldap/files/patch-aa b/net/openldap/files/patch-aa new file mode 100644 index 0000000..93f071d --- /dev/null +++ b/net/openldap/files/patch-aa @@ -0,0 +1,20 @@ +--- servers/slapd/add.c.orig Fri Jan 29 00:11:49 1999 ++++ servers/slapd/add.c Sat Oct 23 13:31:43 1999 +@@ -180,6 +180,9 @@ + bv.bv_len = strlen( bv.bv_val ); + } + attr_merge( e, "creatorsname", bvals ); ++ /* Netscape Communicator 4.5 seems to expect modification information ++ to be present within newly created items. */ ++ attr_merge( e, "modifiersname", bvals ); + + ldap_pvt_thread_mutex_lock( ¤ttime_mutex ); + #ifndef LDAP_LOCALTIME +@@ -194,4 +197,7 @@ + bv.bv_val = buf; + bv.bv_len = strlen( bv.bv_val ); + attr_merge( e, "createtimestamp", bvals ); ++ /* Netscape Communicator 4.5 seems to expect modification information ++ to be present within newly created items. */ ++ attr_merge( e, "modifytimestamp", bvals ); + } diff --git a/net/openldap12/files/patch-aa b/net/openldap12/files/patch-aa new file mode 100644 index 0000000..93f071d --- /dev/null +++ b/net/openldap12/files/patch-aa @@ -0,0 +1,20 @@ +--- servers/slapd/add.c.orig Fri Jan 29 00:11:49 1999 ++++ servers/slapd/add.c Sat Oct 23 13:31:43 1999 +@@ -180,6 +180,9 @@ + bv.bv_len = strlen( bv.bv_val ); + } + attr_merge( e, "creatorsname", bvals ); ++ /* Netscape Communicator 4.5 seems to expect modification information ++ to be present within newly created items. */ ++ attr_merge( e, "modifiersname", bvals ); + + ldap_pvt_thread_mutex_lock( ¤ttime_mutex ); + #ifndef LDAP_LOCALTIME +@@ -194,4 +197,7 @@ + bv.bv_val = buf; + bv.bv_len = strlen( bv.bv_val ); + attr_merge( e, "createtimestamp", bvals ); ++ /* Netscape Communicator 4.5 seems to expect modification information ++ to be present within newly created items. */ ++ attr_merge( e, "modifytimestamp", bvals ); + } -- cgit v1.1