简体   繁体   English

是否可以使用户使用PHP ldap登录WinServer AD?

[英]Is possible get the user logged in a WinServer AD with PHP ldap?

I need get the user logged in a Windows network with PHP ? 我需要让用户使用PHP登录Windows网络吗? like 喜欢

request.servervariables("LOGON_USER")

from Asp? 从ASP?

Thanks, Celso. 谢谢,塞尔索。

http://framework.zend.com/manual/en/zend.ldap.introduction.html http://framework.zend.com/manual/zh/zend.ldap.introduction.html

If you are using zend framework you can use Zend LDAP classes 如果使用的是zend框架,则可以使用Zend LDAP类

otherwise use php ldap classes 否则使用php ldap类

http://us2.php.net/manual/en/function.ldap-compare.php http://us2.php.net/manual/zh/function.ldap-compare.php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM