Jump to content

Adding LDAP users WITH mailbox-enabled


gvimercati

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.