[Fedora-directory-users] Importing LDIF file from AD

G Venkataraman gvenkat at gmail.com
Thu Jun 5 23:36:37 UTC 2008


On Thu, Jun 5, 2008 at 6:36 AM, Kenneth Holter <kenneho.ndu at gmail.com>
wrote:

> Hi.
>
> We're trying to populate our DS with users from AD. Our plan is to build
> and populate the database with entries from AD, and thereafter set up
> Windows Sync to maintain the database.
>
> I import the LDIF file using the ldif2db.pl perl script. One issue I've
> come across is that the script finishes with "modifcation complete"
> regardless of success or failure. How can I get the script to report errors?
> Or are there maybe smarter ways of importing LDIF files on the command line?
>

The ldif2db.pl script creates a task entry that does the actual import of
the LDIF file and generates the indexes. The "modification complete" message
corresponds to the task entry that gets created by ldif2db.pl and not the
actual import process. You should be able to see the status of the import
(including any errors) in the LDAP server error log. Alternatively, if the
server is shutdown, ldif2db can be used to perform a similar import.


> Furthermore, are there any issues with AD LDIF import I should be aware
> of`?
>
> Regards,
> kenneho
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users


-=Venkat=-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080605/aff6dad0/attachment.htm>


More information about the Fedora-directory-users mailing list