|All requests||>||How to read Windows logged username w...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by muabshir - 3 years ago (2016-10-28)
I am running a network. Here I have a domain controller (DC) I have many applications developed and running in PHP, MySQL, Apache. Every thing is working fine.
Now I want to bring up a script on this local Web site. The first problem is that I want to detect which one of network users (active directory users) are logged in with PHP.
I was wondering if I could just use a function or something. That its output is the AD username and user group.
4. by Maik Greubel - 2 years ago (2017-08-17) Reply
This page explains how NTLM part can be extracted from browser headers.
2. by Lukasz Józwiak - 3 years ago (2016-10-30) Reply
You can use to PHP DOTNET without accessing shell but up to .NET 3.5. Of cource if run on Windows Machine, or try NetPhp is available on github
1. by Marco Afonso - 3 years ago (2016-10-30) Reply
If you want the user to authenticate on the domain controller, use PHP LDAP extention.
If you want to know which users, on all your network computers, are logged in, you will want to ask each computers for active users sessions. For this, you will want to run a powershell script from PHP.
3. by Stefan Jibrail Froelich - 3 years ago (2016-10-30) in reply to comment 1 by Marco Afonso Comment
Only way to actually get this to work.