[CentOS] openldap migration script fails...

Steve Strong strong at crwash.org
Thu Jul 19 22:12:13 UTC 2007

good advise.  i've got just two questions:

   1. since it's just being used for authentication, could I just
      migrate passwd, shadow and group?
   2. would the command be: slapadd < myfile.ldif?

thanks a lot!

Craig White wrote:
> On Thu, 2007-07-19 at 15:26 -0500, Steve Strong wrote:
>> OK, now this is getting better.  the openldap server seems to function OK,
>> but running the migration scripts results in a duplicate entry error while
>> "migrate_all_offline.sh" is processing /etc/services.  the duplicate entry
>> is "echo" and when i looked at the file their are two entries, one for tcp
>> and one for udp.
>> shouldn't these migration scripts be able to hangke this?
>> anyhow, when the script terminates in tells me where there is an .ldif
>> file.  does any one know how to use that file as an input to another app
>> after i edit out all of the duplicate entries???
>> or is there a better way to get around this?
> ----
> I always found it best to run the migrate scripts into files which I can
> edit and then slapadd when I had them all done.

Steve Strong
Math and Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA   52403
mailto:strong at crwash.org

More information about the CentOS mailing list