Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...It's fun to see others going through the same stuff I did and be able to help. It's also a way for me to stay sharp and not lose the stuff I've learned..."

Geography

Where in the world do Tek-Tips members come from?

RE: How to create bulk iPlanet Messaging users

TryAnythingOnce (TechnicalUser)
22 Aug 07 18:48
This is in response to thread11-1189473: How to create bulk iPlanet Messaging users, which is already closed, but this may help others as well.

To bulk import users in to any email system. The best way is to use an LDAP import. When we set up our Netscape system, I created 1 user and got it set up the way we wanted it to look as a template. Then exported it, merged it with userid, first name, last name and email address to create the import file we needed then imported it and all users were setup with default setting. FYI the password field will be in attributes as well, if you leave that the same all accounts will have the same password.

The specific commands are ldif2db and db2ldif.
ldif2db - imports an ldif file into the database
db2ldif - exports the database to an ldif file

Once you have the ldif file you can create your bulk list and import it back into the database. Be careful to only modify the users portion of the ldif file, and not any of the system information.

Also you can use the ldapmodify command to input changes. This is used to add, delete, modify or rename entries in the LDAP. Do a search for this term and you'll find all kinds of examples and the different options you can perform with this command.

Here's an example of one:

dn: uid=Mmouse,ou=People, o=pmic.com
changetype: modify
add: mailalternateaddress
mailalternateaddress: mortimer.mouse@disney

Again, this can be repeated and "bulk-ified" as well.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close