New mailbox not created after running dsadd user.
This is a discussion about New mailbox not created after running dsadd user. in the Windows Networking category; 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).
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
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
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Jun 30
Jul 1
0
1 minute
Responses to this topic
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.
- 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.