Has anyone else experienced a very long time when importing a ldif file with a size of about 42 Mb? It is currently taking me about 2 hours to import the users using the Console. Would it be faster using the command line tool? I am at a loss as how to run it from the command line as it is requesting a back end instance, and I am not exactly sure what it is looking for.
Jared B. Griffith wrote:
Has anyone else experienced a very long time when importing a ldif file with a size of about 42 Mb? It is currently taking me about 2 hours to import the users using the Console.
That might be doing an LDAP Add instead of a database import.
Would it be faster using the command line tool?
Sure. Use ldif2db.
I am at a loss as how to run it from the command line as it is requesting a back end instance, and I am not exactly sure what it is looking for.
You can specify either the name of the backend (userRoot by default) or the suffix e.g. -s "dc=example, dc=com" http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1117378
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Thanks again, that is going to work for us perfectly.
----- Original Message ----- From: "Richard Megginson" rmeggins@redhat.com To: "Jared B. Griffith" jared.griffith@farheap.com, "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Tuesday, November 27, 2007 6:03:54 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Importing Users
Jared B. Griffith wrote:
Has anyone else experienced a very long time when importing a ldif file with a size of about 42 Mb? It is currently taking me about 2 hours to import the users using the Console.
That might be doing an LDAP Add instead of a database import.
Would it be faster using the command line tool?
Sure. Use ldif2db.
I am at a loss as how to run it from the command line as it is requesting a back end instance, and I am not exactly sure what it is looking for.
You can specify either the name of the backend (userRoot by default) or the suffix e.g. -s "dc=example, dc=com" http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1117378
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
389-users@lists.fedoraproject.org