Jump to content
Compatible Support Forums
Sign in to follow this  
SuperChicken

New mailbox not created after running dsadd user.

Recommended Posts

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

Share this post


Link to post

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.

 

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×