Jump to content

Recommended Posts

Hello!

 

I've have been racking my brain for some time now on why all my AD users created via my php interface did not have any exchange mailbox attributes associated to them. I have built an application that uses the ldap extention in PHP for managing our user base withing our organization. Because our organization uses Exchange, it would be nice if i were able to create the mailbox for any new user that is created via my application... This is the source of my conundrum...

 

I was wondering if there was anyone out there who has had experience in creating AD users via PHP but more importantly also created the exchange user object. I have spent most of today searching the web for examples and all i have found are vb scripts that use the Collaboration Data Objects for Exchange Management (CDOEXM).

 

Does this mean that i will need to use the PHP ldap functions for AD user creation, and then switch to COM functions for adding the user to exchange?

 

I can give more information if people request it.

 

hope this makes sense to someone out there!

 

cheers,

Link to comment
https://forums.phpfreaks.com/topic/60168-adding-ldap-users-with-mailbox-enabled/
Share on other sites

  • 1 month later...

For anyone requiring a similar solution; My solution included using Microsoft PowerShell with Exchange Management Shell scripts. I simply use PHP to create EMS scripts, then a scheduled task batches these scripts periodically.

 

cheers, Gian

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.