[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1370
  • Last Modified:

help with dsadd user Script - Import large number of users?

What I'm trying to do is setup a dsadd script that will read a csv file & import about 200 new users I need to get setup in the next day or two.

some of the variables would be fn, mi, ln, display, membeof, ect...

I really have no scripting experience (A little Korn on Sun about 4 years ago) & I know this is a fairly basic questions.

But... can someone point me to a sample that I may (gasp) plagiarize for my use or give me the basic example how to read the variables off a csv file?  I'm in a bit of a time crunch here (understatement) & don't really feel like trying to reinvent the wheel if it's already out there somewhere.

I appreciate any help!
Have a good one!

1 Solution
It's very easy. Use CSVDE
no script, just one command :)
Look here: http://www.computerperformance.co.uk/Logon/CSVDE_LDIFDE.htm
But you really should export first, to have a backup and see how ldap fields are labeld.
deathandgravityAuthor Commented:
Excellent!  - That did the trick.  Got all the account in under a hour.

Know of any similar tools that can I can set terminal server settings?  Profile & mapped drivers?

Thanks for your help!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now