[英]Apache2 PHP SSO with Active Directory
I am trying to implement SSO for php application deployed in Ubuntu Apache2 and users in the Windows domain needs to access this app without signing in. So need help. 我正在尝试为部署在Ubuntu Apache2中的php应用程序实现SSO,而Windows域中的用户无需登录即可访问此应用程序。所以需要帮助。 Anyone who has already tried achieving it.
任何已经尝试实现它的人。
Ubuntu is not under AD domain. Ubuntu不在AD域下。
I did this yesterday using mod_auth_kerberos . 我昨天使用mod_auth_kerberos做了这个。 Basic process is as follows:
基本流程如下:
Install kerberos and configure 安装kerberos并配置
On active directory create a new user 在活动目录上创建新用户
Use ktpass on windows to create a keytab 在Windows上使用ktpass创建密钥表
Copy keytab to ubuntu and configure apache to use keytab 将keytab复制到ubuntu并配置apache以使用keytab
Have a look at the documentation here: http://www.grolmsnet.de/kerbtut/ . 请查看此处的文档: http : //www.grolmsnet.de/kerbtut/ 。 It explains the configuration files better than I ever could.
它比我更好地解释了配置文件。
Ubuntu specific bits are probably just installation, for which you'll want: Ubuntu特定位可能只是安装,您可能需要:
sudo apt-get install krb5-user libapache2-mod-auth-kerb
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.