<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ds.git/ldap, branch master</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/'/>
<entry>
<title>Bug 644608 - RHDS 8.1-&gt;8.2 upgrade fails to properly migrate ACIs</title>
<updated>2010-10-22T12:51:34+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-22T12:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=13ccbd40a2be34daf5a34cd99e5ed0b325744d00'/>
<id>13ccbd40a2be34daf5a34cd99e5ed0b325744d00</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=644608

Description:
Previous cherry-pick commit 5cd9fc9826fd88b8672129e41523065c0b692c3b
failed the merge for setting a special dup compare callback
ai_dup_cmp_fn when it is set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=644608

Description:
Previous cherry-pick commit 5cd9fc9826fd88b8672129e41523065c0b692c3b
failed the merge for setting a special dup compare callback
ai_dup_cmp_fn when it is set.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 644608 - RHDS 8.1-&gt;8.2 upgrade fails to properly migrate ACIs</title>
<updated>2010-10-22T06:42:17+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-22T06:42:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=5cd9fc9826fd88b8672129e41523065c0b692c3b'/>
<id>5cd9fc9826fd88b8672129e41523065c0b692c3b</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=644608

Description: Upgrade script ##upgradednformat.pl generates an
ancestorid index file in which the entry IDs are not sorted
in the index values.
This was caused because
1. upgradednformat.pl copies db files to a work dir
     /path/to/db/&lt;inst&gt;/dnupgrade/&lt;inst&gt;
   and run upgradednformat against the work dir.
2. Since ancestorid index needs to be created from the scratch,
   import/upgradednformat code deletes the index and recreates
   it.
3. When creating the index file, dblayer_open_file checks if
   the to-be-opened index file is (in the standard location AND
   the file exists) or not.  In this case, the condition is
   satisfied.  Thus, the db is created using an absolute path
   and closed once.  Then, it is reopened using a relative path.
4. Before opening an index file, callback functions for libdb
   are set.  idl_new_compare_dups is one of them which is used
   to sort entry IDs in the secondary index attribute values.
   The setting is discarded by the close described in 3.
   This patch resets the db callbacks and flags after the close.

Note: cherry-picked 058299aeaf48e34f4359f00cc05eb7186a80fc48
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=644608

Description: Upgrade script ##upgradednformat.pl generates an
ancestorid index file in which the entry IDs are not sorted
in the index values.
This was caused because
1. upgradednformat.pl copies db files to a work dir
     /path/to/db/&lt;inst&gt;/dnupgrade/&lt;inst&gt;
   and run upgradednformat against the work dir.
2. Since ancestorid index needs to be created from the scratch,
   import/upgradednformat code deletes the index and recreates
   it.
3. When creating the index file, dblayer_open_file checks if
   the to-be-opened index file is (in the standard location AND
   the file exists) or not.  In this case, the condition is
   satisfied.  Thus, the db is created using an absolute path
   and closed once.  Then, it is reopened using a relative path.
4. Before opening an index file, callback functions for libdb
   are set.  idl_new_compare_dups is one of them which is used
   to sort entry IDs in the secondary index attribute values.
   The setting is discarded by the close described in 3.
   This patch resets the db callbacks and flags after the close.

Note: cherry-picked 058299aeaf48e34f4359f00cc05eb7186a80fc48
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 629681 - Retro Changelog trimming does not behave as expected</title>
<updated>2010-10-21T01:30:10+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-21T01:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=b065fb3e3fa6ded5569b01bc9ed7a2fda532883d'/>
<id>b065fb3e3fa6ded5569b01bc9ed7a2fda532883d</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=629681

Description: As reporter Oliver Thalmann (oliver.thalmann@chuv.ch)
pointed out, retrocl_init_trimming was repeating the retrocl_
housekeeping event every 5000 minutes instead of 5 minutes.
This patch fixes it to 5 minutes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=629681

Description: As reporter Oliver Thalmann (oliver.thalmann@chuv.ch)
pointed out, retrocl_init_trimming was repeating the retrocl_
housekeeping event every 5000 minutes instead of 5 minutes.
This patch fixes it to 5 minutes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 645061 - Upgrade: 06inetorgperson.ldif and 05rfc4524.ldif</title>
<updated>2010-10-20T20:21:28+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-20T20:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=904698eaf466a865c0edb9a0743469f23c97bab8'/>
<id>904698eaf466a865c0edb9a0743469f23c97bab8</id>
<content type='text'>
are not upgraded in the server instance schema dir

https://bugzilla.redhat.com/show_bug.cgi?id=645061

Description: To replace 06inetorgperson.ldif and 05rfc4524.ldif
in teh server instance schema dir, adding the 2 schema files to
the toremove list in the schema upgrade script 60upgradeschemafiles.pl.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
are not upgraded in the server instance schema dir

https://bugzilla.redhat.com/show_bug.cgi?id=645061

Description: To replace 06inetorgperson.ldif and 05rfc4524.ldif
in teh server instance schema dir, adding the 2 schema files to
the toremove list in the schema upgrade script 60upgradeschemafiles.pl.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 592397 - Upgrade tool dn2rdn: it does not clean up</title>
<updated>2010-10-19T16:58:27+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-19T16:58:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=f0e4ce1965c5be37c5535febf06e5051f281f862'/>
<id>f0e4ce1965c5be37c5535febf06e5051f281f862</id>
<content type='text'>
the entrydn in id2entry

https://bugzilla.redhat.com/show_bug.cgi?id=592397

Description: If entries created by the 389 v1.2.5 or older,
the primary db (id2entry.db4) contains "entrydn: &lt;normalized dn&gt;".
Upgrading from the old version to v1.2.6 keeps the entrydn
attribute type and its value even though v1.2.6 is not supposed
to store the entrydn in the database.
1) This patch drops the entrydn attribute and value in upgrading
   the db.
2) If an ldif file contains entrydn attribute type and value,
   import (ldif2db[.pl]) ignores it.
3) A leak was found in the export (db2ldif[.pl]) which is fixed.
4) When nsslapd-subtree-rename-switch configuration attribute has
   the value "on", entrydn is not used nor created.  But the
   server accepted reindexing entrydn request and generated an
   entrydn index file.  This patch rejects it.
5) Entry and dn cache clear calls (cache_clear) are added to
   dblayer_instance_close in "#if defined(_USE_VALGRIND)", which
   is not defined.  To enable the code, the server needs to be
   rebuilt with defining the macro.  This is purely for debugging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the entrydn in id2entry

https://bugzilla.redhat.com/show_bug.cgi?id=592397

Description: If entries created by the 389 v1.2.5 or older,
the primary db (id2entry.db4) contains "entrydn: &lt;normalized dn&gt;".
Upgrading from the old version to v1.2.6 keeps the entrydn
attribute type and its value even though v1.2.6 is not supposed
to store the entrydn in the database.
1) This patch drops the entrydn attribute and value in upgrading
   the db.
2) If an ldif file contains entrydn attribute type and value,
   import (ldif2db[.pl]) ignores it.
3) A leak was found in the export (db2ldif[.pl]) which is fixed.
4) When nsslapd-subtree-rename-switch configuration attribute has
   the value "on", entrydn is not used nor created.  But the
   server accepted reindexing entrydn request and generated an
   entrydn index file.  This patch rejects it.
5) Entry and dn cache clear calls (cache_clear) are added to
   dblayer_instance_close in "#if defined(_USE_VALGRIND)", which
   is not defined.  To enable the code, the server needs to be
   rebuilt with defining the macro.  This is purely for debugging.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 305131 - Allow empty modify operation</title>
<updated>2010-10-19T15:29:12+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-10-19T15:10:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=6160200187b5b5f7ee662762b997c5c55401fe77'/>
<id>6160200187b5b5f7ee662762b997c5c55401fe77</id>
<content type='text'>
This patch allows an empty modify operation.  We currently reject
an empty modify operation, but this patch makes the empty operation
update the modifyTimestamp and modifiersName attributes similar to
a touch-type operation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch allows an empty modify operation.  We currently reject
an empty modify operation, but this patch makes the empty operation
update the modifyTimestamp and modifiersName attributes similar to
a touch-type operation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 644013 - uniqueness plugin segfault bug</title>
<updated>2010-10-18T18:47:14+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-10-18T18:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=f4c6760ea5da7849e5b1f3b2f8d08bd7f6eedd1a'/>
<id>f4c6760ea5da7849e5b1f3b2f8d08bd7f6eedd1a</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=644013
Resolves: bug 644013
Bug Description: uniqueness plugin segfault bug
Reviewed by: self - one liner
Branch: master
Fix Description: Access the array pointer correctly
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=644013
Resolves: bug 644013
Bug Description: uniqueness plugin segfault bug
Reviewed by: self - one liner
Branch: master
Fix Description: Access the array pointer correctly
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 643937 - Initialize replication version flags</title>
<updated>2010-10-18T16:33:11+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-10-18T16:33:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=52632d7cfbb74b98fc807a7c5b831f0f2f428c57'/>
<id>52632d7cfbb74b98fc807a7c5b831f0f2f428c57</id>
<content type='text'>
The flags used to identity the replication protocol versions for
7.1 and 9.0 are not being initialized.  This can cause the wrong
protocol to be used when replicating to another server.  This
patch initializes the flags to 0 when the structures are created.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The flags used to identity the replication protocol versions for
7.1 and 9.0 are not being initialized.  This can cause the wrong
protocol to be used when replicating to another server.  This
patch initializes the flags to 0 when the structures are created.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 643532 - Incorrect DNs sometimes returned on searches</title>
<updated>2010-10-15T22:17:52+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-15T22:17:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=f39aab7b4fc39a2c0797424314cfc638c33f482e'/>
<id>f39aab7b4fc39a2c0797424314cfc638c33f482e</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=643532

Description: Some of the functions in ldbm_entryrdn.c uses
static memory for reading data from the entryrdn index, where
the static initializer should not have been used since the
memory cannot be shared among threads.  This patch fixes it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=643532

Description: Some of the functions in ldbm_entryrdn.c uses
static memory for reading data from the entryrdn index, where
the static initializer should not have been used since the
memory cannot be shared among threads.  This patch fixes it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 244229 - targetattr not verified against schema when setting an aci</title>
<updated>2010-10-15T17:56:45+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-10-15T17:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=0b7a84653e5819f52fc22f3783d9c2a1dc84e941'/>
<id>0b7a84653e5819f52fc22f3783d9c2a1dc84e941</id>
<content type='text'>
https://bugzilla.redhat.com/show_bug.cgi?id=244229

Description:
1. When acl contains targetattr keyword:
   (targetattr [!]= "attribute_1 || attribute_2 ...|| attribute_n"),
   where attribute_n does not contain '*', the current ACL plugin
   accepts any attribute_n value even if it is not defined in the
   schema.  This patch rejects the aci if it contains attribute_n
   not defined in schema with this error message:
   NSACLPlugin - targetattr "attribute_n" does not exist in schema.
   Please add attributeTypes "attribute_n" to schema if necessary.
   The message is logged in the error log as well as returned to
   the client.
2. To implement 1, slapi APIs slapi_attr_syntax_exists is added.
3. An attributeTypes "connection" is added to 01core389.ldif which
   is referred in an aci of cn=monitor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugzilla.redhat.com/show_bug.cgi?id=244229

Description:
1. When acl contains targetattr keyword:
   (targetattr [!]= "attribute_1 || attribute_2 ...|| attribute_n"),
   where attribute_n does not contain '*', the current ACL plugin
   accepts any attribute_n value even if it is not defined in the
   schema.  This patch rejects the aci if it contains attribute_n
   not defined in schema with this error message:
   NSACLPlugin - targetattr "attribute_n" does not exist in schema.
   Please add attributeTypes "attribute_n" to schema if necessary.
   The message is logged in the error log as well as returned to
   the client.
2. To implement 1, slapi APIs slapi_attr_syntax_exists is added.
3. An attributeTypes "connection" is added to 01core389.ldif which
   is referred in an aci of cn=monitor.
</pre>
</div>
</content>
</entry>
</feed>
