Compatible Support Forums: New mailbox not created after running dsadd user.

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New mailbox not created after running dsadd user.

#1 User is offline   SuperChicken 

  • stranger
  • Group: Members
  • Posts: 17
  • Joined: 08-November 02

Posted 30 June 2006 - 04:30 AM

Hello,

I'm setting up our new Win2003 R2 servers w/ Exchange 2003 sp1.

Active directory and Exchange are up and running fine (from all indications). The GAL is spread across the two domain controllers (no client PC's yet). Machines are brand new Dell 2850 xeon's.

I've created a dsadd batch script I want to use to create all 75 user accounts. As there are a lot of attributes I don't really want to manually create every user.

My question is, when I create a test user with the dsadd command, a new mailbox is not created in Exchange, while when you use the MMC snapin it does.

Does anyone know what command/attributes I can use to create a mailbox for each new user DN?

Here's an example line from the dsadd batch I wrote (using the CSV -> batch method).

dsadd user "CN=jdoe,CN=Users,DC=example,DC=local" -fn John -ln Doe -display "John Doe" -pwd P@ssw0rd -office "Branch 3" -email jdoe@example.com -dept null -hmdir \\planetsmb\jdoe$ -hmdrv G:


Thanks,
Ian Wills
0

#2 User is offline   peterh 

  • addict
  • Group: Members
  • Posts: 690
  • Joined: 06-May 04

Posted 01 July 2006 - 10:21 PM

You probably need to specify more than just the email address such as:
- Exchange mailbox location (incl. Server name, mailbox group, mailbox store)
- Exchange alias

I am not sure that dsadd supports Exchange attributes so, using LDIFDE may be better for AD and Exchange accounts.


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users