By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,827 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,827 IT Pros & Developers. It's quick & easy.

PHP controlling active directory? Oh my...

P: n/a
Yes folks, I finally lost it. I need to make a php script cable of
creating/editing users in windows active directory. To make it even
harder php is installed as a module on Apache running on windows, same
computer that runs MS exchange and thus needs active directory to
manage all email accounts. Why? Because I could not find anything open
source for windows to do what MS exchange does, and I am not talking
about all of that calendar and contacts staff, what I need are simple
IMAP and POP3, is it so hard to ask?

Well to sum it up I need either help with php and a point to the right
direction to manage active directory, or a good reliable open source
email server that would run on windows XP+ ( I would not use 2003
server if I can find that email server ) and be flexible enough to be
controlled from PHP.

Cheers

Eugene
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
sk
Eugene Burtsev wrote:
Yes folks, I finally lost it. I need to make a php script cable of
creating/editing users in windows active directory. To make it even
Here's a basic PHP class for some basic LDAP authentication and user
management that's been extended to handle Active Directory's unique
bits. It should at least get you started. I imagine there are more
sophisticated things out there, but this took a minute to find.

http://www.markround.com/ldap.html
harder php is installed as a module on Apache running on windows, same
computer that runs MS exchange and thus needs active directory to
Why does that make it harder? If you're running PHP on a Windows system,
you have access to the COM functions. Seems like that would make it easy
to access pretty much any Windows API directly from PHP. It would be
harder to do access Windows APIs from Unix.
manage all email accounts. Why? Because I could not find anything open
source for windows to do what MS exchange does, and I am not talking
about all of that calendar and contacts staff, what I need are simple
IMAP and POP3, is it so hard to ask?
You're deploying Exchange just for basic POP/IMAP email? You couldn't
find a free or at least cheap IMAP or POP server for Windows? There are
dozens of viable ones. Did you look at all?

If you already have Exchange, of course there's little reason to switch
out to a plain mail server.
Well to sum it up I need either help with php and a point to the right
direction to manage active directory, or a good reliable open source
email server that would run on windows XP+ ( I would not use 2003
server if I can find that email server ) and be flexible enough to be
controlled from PHP.


Windows XP is a desktop OS. Does Microsoft's license allow you to run
production servers on it?

Jul 17 '05 #2

P: n/a
Yes, I know that there are hundreds of email servers for windows, but
what I wanted was open source one, and a good one at that. If it
comes to closed source I alrady have MS exchange.

Cheers.
Jul 17 '05 #3

P: n/a
Eugene Burtsev wrote:
Yes, I know that there are hundreds of email servers for windows, but
what I wanted was open source one, and a good one at that. If it
comes to closed source I alrady have MS exchange.

Cheers.


Check out mercury, it's stable and reliable, and should do the job you
ask and more.

With a little tinkering you can get it to block certain file
attachments.

Glenn

http://www.pmail.com/overviews/ovw_mercury.htm
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.