I've created an ASP web page to create Active Directory user accounts.
The web page is running on a Server 2003 SP2 IIS 6 installation.
The Exchange Server is 2003 w/SP2 is running in a different server.
The Exchange System Manager is running on the web server.
The web page uses ADSI code to create a user, and then CDO code to create
the mailbox e.g.
Set objRootLDAP = GetObject("LDAP://rootDSE")
strDefaultNamingContext = objRootLDAP.Get("defaultNamingContext")
Set objContainer = GetObject("LDAP://" & strContainer & objRootLDAP.Get("defaultNamingContext"))
Set objUser = objContainer.Create("User", "cn=" & strUser)
objUser.Put <set all the user info>
objuser.CreateMailbox <string representing MTA>
Now, when I connect to this site using my domain admin credentials, it
works fine. However, if a user I have created for this purpose connects to this site, the user account is successfully created in AD but upon reaching the "CreateMailbox" line, he gets
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method
The person who is going to be using this page can't have full Administrative rights over the domain, only User and Mailbox creation rights.
Thanks for any help you can provide me!