带有Active Directory的Apache2 PHP SSO

编程入门 行业动态 更新时间:2024-10-06 06:50:11
本文介绍了带有Active Directory的Apache2 PHP SSO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试为在Ubuntu Apache2中部署的php应用程序实现SSO,Windows域中的用户需要在不登录的情况下访问此应用程序.因此,需要帮助.任何已经尝试实现它的人.

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. Anyone who has already tried achieving it.

Ubuntu不在AD域下.

Ubuntu is not under AD domain.

推荐答案

我昨天使用 mod_auth_kerberos 进行了此操作.基本过程如下:

I did this yesterday using mod_auth_kerberos. Basic process is as follows:

  • 安装kerberos并配置

  • Install kerberos and configure

    在活动目录上创建一个新用户

    On active directory create a new user

    在Windows上使用ktpass创建密钥表

    Use ktpass on windows to create a keytab

    将密钥表复制到ubuntu并配置apache以使用密钥表

    Copy keytab to ubuntu and configure apache to use keytab

    在此处查看文档: www.grolmsnet.de/kerbtut/.它比以往任何时候都更好地解释了配置文件.

    Have a look at the documentation here: www.grolmsnet.de/kerbtut/. It explains the configuration files better than I ever could.

    Ubuntu特定的位可能只是安装过程,您将需要进行以下操作:

    Ubuntu specific bits are probably just installation, for which you'll want:

    sudo apt-get install krb5-user libapache2-mod-auth-kerb
  • 更多推荐

    带有Active Directory的Apache2 PHP SSO

    本文发布于:2023-11-02 06:55:04,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1551675.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:Directory   Active   SSO   PHP

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!