users data produces objectClass "nisMailAlias", cannot be imported into LDAP

Bug #73797 reported by Andrew Hamlin
2
Affects Status Importance Assigned to Milestone
migrationtools (Debian)
New
Unknown
migrationtools (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: migrationtools

The migrationtools script generates a user account including a mail alias objectClass="nisMailAlias". The import to slapd fails because slapd.conf does not include the misc.schema by default.

I happened to run into this on my "root" user, an account I did not want to import in LDAP anyway. But, I thought I'd point out the problem.

Either a warning should be emitted signifying the need to include misc.schema or a straightforward way to filter the users and groups to remove all those below UID=1000 or something would be great!

Of course, this was my first time ever attempting to setup and run these tools, so this problem may have more to do with my own ignorance than with the scripts themselves.

Revision history for this message
In , Antony Gelberg (antony-wayforth) wrote : Workaround

I have added the misc.schema line to slapd.conf and restarted slapd.
However, LDAPADD="/usr/bin/ldapadd -c" ./migrate_all_online.sh still
fails miserably.

Is my workaround the wrong one?

Antony

Revision history for this message
Andrew Hamlin (aahamlin) wrote :

Binary package hint: migrationtools

The migrationtools script generates a user account including a mail alias objectClass="nisMailAlias". The import to slapd fails because slapd.conf does not include the misc.schema by default.

I happened to run into this on my "root" user, an account I did not want to import in LDAP anyway. But, I thought I'd point out the problem.

Either a warning should be emitted signifying the need to include misc.schema or a straightforward way to filter the users and groups to remove all those below UID=1000 or something would be great!

Of course, this was my first time ever attempting to setup and run these tools, so this problem may have more to do with my own ignorance than with the scripts themselves.

Changed in migrationtools:
status: Unknown → Unconfirmed
Revision history for this message
Chuck Short (zulcss) wrote :

Is this still a problem for you?

Thanks
chuck

Changed in migrationtools:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Andrew Hamlin (aahamlin) wrote : Re: [Bug 73797] Re: users data produces objectClass "nisMailAlias", cannot be imported into LDAP

I was able to work around it... If I were to run the tools again it
would probably still be a nuisance though. :)

Do what you'd like with it, I just wanted to report the "bump in the
road" for others.

Take care,
Andrew

On Mon, Feb 25, 2008 at 3:55 PM, Chuck Short <email address hidden> wrote:
> Is this still a problem for you?
>
> Thanks
> chuck
>
> ** Changed in: migrationtools (Ubuntu)
> Importance: Undecided => Low
> Status: New => Incomplete
>
>
> --
> users data produces objectClass "nisMailAlias", cannot be imported into LDAP
> https://bugs.launchpad.net/bugs/73797
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Chuck Short (zulcss) wrote :

How did you work around it?

Regards
chuck

Revision history for this message
Andrew Hamlin (aahamlin) wrote : Re: [Bug 73797] Re: users data produces objectClass "nisMailAlias", cannot be imported into LDAP

On Mon, Oct 19, 2009 at 11:44 AM, Chuck Short <email address hidden>wrote:

> How did you work around it?
>
>
I probably just added the misc.schema to the config file but I filed that
bug back in '06 so I really have no idea...

Revision history for this message
Chuck Short (zulcss) wrote :

Closing then, thanks for the bug report.

Regards
chuck

Changed in migrationtools (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.