gvimercati Posted July 16, 2007 Share Posted July 16, 2007 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, Quote Link to comment https://forums.phpfreaks.com/topic/60168-adding-ldap-users-with-mailbox-enabled/ Share on other sites More sharing options...
gvimercati Posted September 5, 2007 Author Share Posted September 5, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/60168-adding-ldap-users-with-mailbox-enabled/#findComment-341755 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.