Question Locked

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

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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 ??

homeMDB:
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
Exchange,CN=Services,CN=Configuration,DC=TEST,DC=com;

Pl. put an effort to make me clear.

Thanks.
Mani.

2 replies

by p.j.hutchison

There are two steps for creating mailbox enabled accounts.
e.g.
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
Userobj.Setinfo

This discussion is closed to new replies.