Importing users in Open Directory

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Silas1066, Oct 13, 2010.

  1. Silas1066 macrumors regular

    Nov 1, 2009
    Can anyone tell me the best way to import a large number of users into OD?

    I've tried dsimport without any luck (using Peachpit docs). Here is an example:

    Created a simple text file with

    imp3:chain43box:8003:20:Imported User 3:/Users/imp3:/bin/bash

    and then used the dsimport command with the StandardUser template


    dsimport import3.txt /Local/Default I --template StandardUser

    This didn't work, so I tried dsimport -g and with -u Administrator at the end

    This didn't work either (although system seemed to accept the command)

    Can anyone point me in the right direction? My documentation is obviously bad. Or maybe if there is another way to do this.
  2. DudeAbides macrumors newbie

    Oct 13, 2010
    Passenger works for me

    I tried all kinds of different tools, and settled on Passenger. I used this in an educational setting to import large numbers of staff and students at the beginning of each year.

    It makes the task of prepping a file for import into OD very easy, including creating usernames/shortnames, passwords, home folder, groups, etc.

    You can download the demo version and use it to do 25 or so users at a time to see if you like it. It was totally worth it for us.
  3. Silas1066 thread starter macrumors regular

    Nov 1, 2009
    sounds good

    If I create the import file using passenger, don' I still need to import it though?

    Is my syntax above correct? I haven't been able to get anything imported.

Share This Page