Problem in Creating an AD user with mail box enabled thru coding.

By JesuMani ·
Hi all,

Put me enough light on this:

Now trying to create an AD user with mail box enabled thru coding.
- able to create AD user(mail , mailnickname , msexchangeHomeServername - attributes used).

- But the problem is i have to do some manual work in Exchange 5.5(ADC) to make the AD user mail box enabled , its not happening automatically.

-Share your experience in this process.
-Which configuration i ve to do in Exchange Server to integrate/connect/replicate(automatically)the AD to Exchange.

And also explain me how to create this(below mentioned) mailbox store(cn=mailbox store).

Should i create all these below entries structure manually or its created automatically while we set/configure Exchange server ??

CN=Mailbox Store (WIN2003SRV),CN=First Storage
Group,CN=InformationStore,CN=WIN2003SRV,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=TEST,CN=Microsoft

Pl. put an effort to make me clear.


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Programming AD

by p.j.hutchison In reply to Problem in Creating an AD ...

There are two steps for creating mailbox enabled accounts.
Dim contobj as IADsContainer,userobj as IADsUser, ExchObj as COEXM.IMailboxStore
Set contobj = GetObject("LDAP://cn=Users,dc=test,dc=com")
Set userobj=contobj.Create("absmith", "user")
Set ExchObj = userobj
ExchObj.CreateMailbox("LDAP://cn=Mailbox Store ... ") ' Path the mailbox

Related Discussions

Related Forums