Bug 68630 - migration scripts and schema objectClass naming conflict: 'inetLocalMailRecipient' vs 'mailRecipient'
Summary: migration scripts and schema objectClass naming conflict: 'inetLocalMailRecip...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openldap
Version: 7.3
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-11 20:29 UTC by Wil Cooley
Modified: 2014-08-31 23:24 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-07 18:37:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Wil Cooley 2002-07-11 20:29:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; Preview) Gecko/20020602
Beonex/0.8-stable

Description of problem:
The migration scripts supplied with openldap-servers attempt to add objectClass
'mailRecipient', whereas the installed schema has matching definition with name
'inetLocalMailRecipient'.  This error is only exposed if 'extended schema' are
enabled.

Version-Release number of selected component (if applicable): 
openldap-servers-2.0.23-4


How reproducible:
Always

Steps to Reproduce:
1. Edit migrate_common.ph and enable $EXTENDED_SCHEMA:

# turn this on to support more general object clases
# such as person.
$EXTENDED_SCHEMA = 1;

2. Run migrate_all_o{ff,n}line.pl
3. Check log and watch output.

Actual Results:  Migration failed and errors logged:

Jul 11 12:03:24 myhostname slapd[XXXX]:
entry_check_schema(uid=bjensen,ou=People,dc=example,dc=com): 
"unrecognized objectClass 'mailRecipient'" not recognized 
	

Expected Results:  Migration should succeed.

Additional info:

This patch makes the migrate_passwd.pl script consistent with the schema name:

--- migrate_passwd.pl.orig      Thu Jul 11 12:57:04 2002
+++ migrate_passwd.pl   Thu Jul 11 12:39:51 2002
@@ -122,7 +122,7 @@
                if ($DEFAULT_MAIL_HOST) {
                        print $HANDLE "mailRoutingAddress:
$user\@$DEFAULT_MAIL_HOST\n";
                        print $HANDLE "mailHost: $DEFAULT_MAIL_HOST\n";
-                       print $HANDLE "objectClass: mailRecipient\n";
+                       print $HANDLE "objectClass: inetLocalMailRecipient\n";
                }
                print $HANDLE "objectClass: person\n";
                print $HANDLE "objectClass: organizationalPerson\n";

Comment 1 Bill Nottingham 2006-08-05 05:47:01 UTC
Red Hat apologizes that these issues have not been resolved yet. We do want to
make sure that no important bugs slip through the cracks.

Red Hat Linux 7.3 and Red Hat Linux 9 are no longer supported by Red Hat, Inc.
They are maintained by the Fedora Legacy project (http://www.fedoralegacy.org/)
for security updates only. If this is a security issue, please reassign to the
'Fedora Legacy' product in bugzilla. Please note that Legacy security update
support for these products will stop on December 31st, 2006.

If this is not a security issue, please check if this issue is still present
in a current Fedora Core release. If so, please change the product and version
to match, and check the box indicating that the requested information has been
provided.

If you are currently still running Red Hat Linux 7.3 or 9, please note that
Fedora Legacy security update support for these products will stop on December
31st, 2006. You are strongly advised to upgrade to a current Fedora Core release
or Red Hat Enterprise Linux or comparable. Some information on which option may
be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/.

Any bug still open against Red Hat Linux 7.3 or 9 at the end of 2006 will be
closed 'CANTFIX'. Again, if this bug still exists in a current release, or is a
security issue, please change the product as necessary. We thank you for your
help, and apologize again that we haven't handled these issues to this point.


Comment 2 Wil Cooley 2006-08-07 18:37:24 UTC
This bug appears to be corrected in FC5, openldap-servers-2.3.19-4.


Note You need to log in before you can comment on or make changes to this bug.