Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
LDAP entry in LTIF file format
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.

    My sites:
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  3. #3
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Try this LDIF converter tool too.

    My sites:
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  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 10:47 AM.

Similar Threads

  1. ldap restore from ldif file problem
    By kabu in forum Linux - General Topics
    Replies: 0
    Last Post: 01-11-2013, 04:12 PM
  2. Entry into LDAP in LTIF file format
    By nittugeorge in forum Redhat / Fedora
    Replies: 0
    Last Post: 01-23-2007, 06:22 AM
  3. Connecting an external LDAP browser to SUSE LDAP
    By vmarco in forum Linux - General Topics
    Replies: 1
    Last Post: 02-16-2005, 07:00 PM
  4. convert a Corel file to PowerPoint 2003 format
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 02:07 AM
  5. *.img file format
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 09-16-2002, 07:11 PM

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
  •