- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- LDAP & CSWS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2011 11:25 AM
09-14-2011 11:25 AM
LDAP & CSWS
OpenVMS V8.3
CSWS/Apache
CSWS_PHP
I need to authenticate Windows IE users against Active Directory. I have found PHP code which requests the encoded Windows userid & password from Internet Explorer. Now I'm lost as to how to do the authentication.
Do I enable the PHP LDAP module? (can't find any documentation on how to use it)
Do I enable LDAP in CSWS? (then how do I get the UserID/pwd to CSWS from the PHP code?)
As is obvious, this is all new to me. Couldn't find help in my search of CSWS related docs or searching this forum.
TIA
- Tags:
- LDAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2011 07:33 PM
09-14-2011 07:33 PM
Re: LDAP & CSWS
Hi Jack,
Given you've already found some PHP code to extract the user's credentials from the browser, I'd be inclined to explore the PHP LDAP module. I'm not familiar with it (nor with Active Directory in any detail) so the following is offered as general advice.
Going back to basics, there are two general ways of authenticating a user against an LDAP directory: one is to log in (bind) to the directory as the user, the other is to compare the supplied password against the password stored in the directory. Choosing one over the other will be influenced by what is easier to do with that particular LDAP server and what the application needs to do once it's authenticated.
If you're not particularly wedded to CSWS take a look at WASD instead. It has better performance than CSWS, has some really good tools for debugging HTTP requests, and has a number of authentication mechanisms supported out-of-the-box. I think there are users on the WASD mailing list who have done what you're trying to do. http://wasd.vsm.com.au/
Regards,
Jeremy Begg