Thanks, Joe. My hunch is you are really busy or at a conference or something (the nicely grouped “joe” responses to the list) – so I really appreciate the assistance.

 

Sorry for my ignorance: How would I combine the two admod operations since one is operating on a user DN and the other on a group DN (as specified with –b).

 

I re-ran the exchmbx again (after waiting awhile). This time it had 51 to process, succeeded on 8, failed on 1 with the same error. Any further thoughts?

 

Thanks again.

 

-- nme


From: joe [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 7:22 PM
To: [email protected]
Subject: RE: [ActiveDir] exchmbx problem

 

Yeah that is a sucky COM error. Basically means, something screwed up in the createmailbox method invocation but Exchange doesn't want to tell us what it is. If this is all in quick succession, I wouldn't be surprised if it was a replication type issue. Hopefully when my non-CDOEXM version is ready for release I can get away from those or at least easily diagnose what is going on. In the meanwhile, I would recommend try waiting a little and and trying again and see what happens. Alternatively specify a host you know that has the data with -h.

 

In the meanwhile, you can combine some of these ops below. The two ops done with admod should be able to be combined into a single command.

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Noah Eiger
Sent: Monday, June 06, 2005 12:53 AM
To: [email protected]
Subject: [ActiveDir] exchmbx problem

Hi –

 

I am trying to use adfind and exchmbx to setup mailboxes for users. In my test environment (which is all W2k3/E2k3), I have some users created “by hand” and others created using dsadd. When I create a new user, I put it in a NewStaff OU and then run the following command :

 

Adfind –gc –b “OU=NewStaff,OU=UserAccounts,DC=test,DC=private” –f objectclass=user –dsq | exchmbx –unsafe –cr “exchange:first storage group:Mailbox Store (Exchange)”

 

This works fine with users created by hand. However, when I create a user with the following four commands, the mailbox creation fails.

 

dsadd user "CN=GeorgeWashington,OU=NewStaff,OU=UserAccounts,DC=test,DC=private" -fn "George" -ln "Washington" -samid aWashington -upn [EMAIL PROTECTED] -display "George Washington" -pwd kj90ihybLjg+ >>c:\importlog.txt

admod -b "CN=allstaff,OU=SecGroups,OU=UserAccounts,DC=test,DC=private" "member:+:CN=George Washington,OU=NewStaff,OU=UserAccounts,DC=test,DC=private" >>c:\importlog.txt

admod -b "CN=George Washington,OU=NewStaff,OU=UserAccounts,DC=test,DC=private" proxyaddresses:+:smtp:[EMAIL PROTECTED] >>c:\importlog.txt

Adfind –gc –b “OU=NewStaff,OU=UserAccounts,DC=test,DC=private” –f objectclass=user –dsq | exchmbx –unsafe –cr “exchange:first storage group:Mailbox Store (Exchange)”

 

ExchMbx finds the server, storage group, and mail database, correctly counts the DNs, and echos the correct DNs but the fails with the error: ERROR: (CreateMailBox) (0x80004005) Unspecified error

 

Finally, when I right-click on George Washington (above) and go to Exchange Tasks, I can succesfully setup the mailbox.

 

Any thoughts as to what I am doing wrong?

 

Thanks.

Reply via email to