简体   繁体   English

具有Active Directory / LDAP / NTLM的自动用户登录(SSO)的基础结构

[英]Infrastructure for Automatic User Logon (SSO) with Active Directory / LDAP / NTLM

I have to set up an automatic logon system for an eZ Publish Website hosted on a debian server. 我必须为Debian服务器上托管的eZ Publish网站设置自动登录系统。 The pitch is : 间距为:

"a client is logged on its Windows session (User registered on a Windows Active Directory (so LDAP)) ; when he'll arrive on the intranet eZ publish website, he is detected by the browser (using NTLM...?) and the user is automatically logged on" “客户端登录到其Windows会话(用户在Windows Active Directory(soap LDAP)上注册);当他到达Intranet eZ发布网站时,浏览器会检测到他(使用NTLM ...?),用户将自动登录”

Apparently, an LDAP support is built-in eZ Publish, so, there's no issue for this part of the problem. 显然,LDAP支持是内置的eZ Publish,因此,这部分问题没有问题。 The main issue is how can I retrieve current user login from the Windows session ? 主要问题是如何从Windows会话检索当前用户登录名? I've read different stuff about NTLM, but nothing explicit... and it seems that I have to install php5-ldap and ntlm-mod...? 我读过有关NTLM的其他内容,但没有明确的内容……而且看来我必须安装php5-ldap和ntlm-mod ...? :( I know it's kinda tricky, but tips would be greatly appreciated ! :D :(我知道这有点棘手,但是技巧将不胜感激!:D

Thanks in advance; 提前致谢;

Charly 查理

https://github.com/Legrandin/PyAuthenNTLM2 https://github.com/Legrandin/PyAuthenNTLM2

This apache module puts the windows user name into php variable $_SERVER['REMOTE_USER']. 这个apache模块将Windows用户名放入php变量$ _SERVER ['REMOTE_USER']。

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

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