Hello,

I've referenced our bug in

http://lucasmanual.com/mywiki/OpenLdap#head-7e721d85e0ee722722b213b589560d23d9a2c9f6

I've run the migration tools with proper command(this is the only
command that will work on Debian lenny):

LDAPADD="/usr/bin/ldapadd -c" ./migrate_all_online.sh

Debian lenny (tested on 2 separate brand new installations(amd64 and
i386) causes migrationtools to create localhost entry twice. Whether
it is from ipv4 and ipv6 I do not know. I've sent an email to
debian-users asking where is migrationtools taking its users list, and
why it duplicates localhost.

Thanks for closing this bug.  I would appreciate if you update your
readme to mention the misc.schema requirement.

I would appreciate if you update your README.Debian to say
1. "misc.schema is required in slapd.conf before running this package",
2.  Edit is required in migrate_common.ph to change the domain from
padl.com to mycomapny.com. migrationtools does not read /etc/mailname
so the change needs to be done by user.
3. If you need to start from scratch (empty database) run
dpkg-reconfigure slapd and purge the database.

I think I should open a new ticket "feature request" or "normal bug"
because default setup even after adjusting common.ph and slapd.conf
does not work. It will never finish successfully on debian lenny
unless user customized the system so that migationtools doesn't fail.

Either migration tools should be modified to be smart and don't
duplicate entries or default run command should be:

LDAPADD="/usr/bin/ldapadd -c" ./migrate_all_online.sh

I think this run command is sufficient do.

Thank you for your help,
Lucas


---------- Forwarded message ----------
From: Lukasz Szybalski <szybal...@gmail.com>
Date: Sun, Jul 19, 2009 at 1:02 PM
Subject: Re: Bug#537406: migrationtools: mailer-daemon and ldap_add:
Invalid syntax objectClass: value #0 invliad syntax
To: 537...@bugs.debian.org


On Sat, Jul 18, 2009 at 10:28 AM, Jonas Smedegaard<d...@jones.dk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On Fri, Jul 17, 2009 at 06:35:00PM -0500, Lukasz Szybalski wrote:
>>On Fri, Jul 17, 2009 at 6:14 PM, Lukasz Szybalski<szybal...@gmail.com>
>>wrote: ok...I've looked at the other bugs for this package and tried
>>adding
>>
>>misc.schema.
>
>
>>adding new entry "cn=localhost,ou=Hosts,dc=mycompany,dc=com"
>>ldap_add: Already exists (68)
>
> Fix your system to not contain duplicates, or read the README.Debian
> file regarding how to force-inject (which skips them.
>
> Again: This is not a bug in the tool.

Is it normal that it creates localhost account for ipv4 and ipv6?
It seems as ipv6 items have ipv6-localhost like syntax, but localhost does not.


My hosts file...
127.0.0.1 localhost


# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet


Thanks,
Lucas



--
Using rsync. How to setup rsyncd.
http://lucasmanual.com/mywiki/rsync
OpenLdap - From start to finish.
http://lucasmanual.com/mywiki/OpenLdap



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to