Current location: Hot Scripts Forums » Programming Languages » PHP » Grabbing using information in Windows environment...


Grabbing using information in Windows environment...

Reply
  #1 (permalink)  
Old 05-19-05, 05:56 PM
SeanH SeanH is offline
Newbie Coder
 
Join Date: Apr 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Grabbing using information in Windows environment...

Hey,

I'm writing cause I wanted to ask some knowledgeable programmers if they knew the answer to this.

We would like to create a PHP script, which will use MSSql (which i kind of irrelevant) and it will be running on the intranet.

We were wondering if it's possibly to use a user's Domain Login Information as authentication for a script that will be made. The script will manage an inventory list across departments.

We would like to create it so that users from a certain department will access the site, the their Authentication information used by the Windows Server environment will automatically log them in, and show the relevant information for them.

I'm not sure if it's possible with PHP, but figured I'd ask.

If it's not - wouldn't it be possible to direct a user to something that would allow it (such as a Microsft programming language) and then forward them along with relevant login information, to a PHP script?

If something was difficult to understand, please let me know.

Thanks for your time!

-Sean Hayes
Reply With Quote
  #2 (permalink)  
Old 05-20-05, 07:12 AM
Alan @ QCS Alan @ QCS is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Assuming your Windows network is based on Active Directory then you can use PHP's ldap functions to connect to it, check logins, get info, etc.

Take a look at http://adldap.sourceforge.net/ for a useful class for doing it.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 03:27 AM
Programming Windows, Fifth Edition cyper General Advertisements 0 05-05-05 01:46 PM
User agent question gneeko ASP 1 04-15-05 04:29 AM
Matrix Reseller - Windows 2003 and FreeBSD vortech General Advertisements 0 11-02-03 10:06 PM


All times are GMT -5. The time now is 06:45 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.