Results 1 to 4 of 4

Thread: LDAP entry in LTIF file format

  1. #1
    Newbie
    Join Date
    Jan 2007
    Location
    Near my desktop
    Posts
    4

    Question LDAP entry in LTIF file format

    help me out with some script so, that i can make entry of my 3000 records from sql to LDAP in LTIF file format..

  2. #2
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    You could write a script to dump the data into a file that resembles /etc/passwd and /etc/shadow and then use the migrate_passwd.pl script to convert it into LDIF format.

    Here is a basic migrate_passwd.pl user guide.

    I'm sure there are other ways, but this the simplest one I can think of. Passwords would be a problem if the DB stores them in a non Linux encryption format so that creation of a /etc/shadow clone would be difficult. There may be functions out there that can return an encrypted password Linux style password out there, assuming you can decrypt the DB passwords in the first place.

  3. #3

  4. #4
    Newbie
    Join Date
    Jan 2007
    Location
    Near my desktop
    Posts
    4

    Thumbs up thanx

    will try to implement...
    Last edited by nittugeorge; 01-23-2007 at 09:47 AM.

Similar Threads

  1. Entry into LDAP in LTIF file format
    By nittugeorge in forum Redhat / Fedora
    Replies: 0
    Last Post: 01-23-2007, 05:22 AM
  2. Exporting Visio Diagrams in Other File Formats
    By The Donald in forum Windows - General Topics
    Replies: 1
    Last Post: 07-08-2005, 12:55 PM
  3. How to use the Sysprep tool
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 08:34 PM
  4. Active Directory LDAP Compliance
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 02:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •