【问题标题】:Kerberos authentication for Twisted Python client/serverTwisted Python 客户端/服务器的 Kerberos 身份验证
【发布时间】:2016-01-04 16:12:08
【问题描述】:

任务:将 Kerberos 活动目录身份验证添加到不安全的报告和数据操作桌面应用程序中。这个应用是...

  • 用 Stackless Python 2.7 编写
  • 使用 Twisted 进行客户端-服务器交互
  • 客户端编译为 exe 并在 Windows 上运行
  • 在 Linux (Red Hat) 上运行的服务器

目前我们从用户的帐户中提取 Windows 网络 ID(登录名)并传递给服务器,服务器会查找用户配置的权限,并返回提供的菜单选项仅访问这些功能。主要缺点是可以向服务器发送不同的用户名并访问其他权限。

因此 Kerberos。 (和 LDAP,根据我的阅读。)

问题:

Twisted 是否提供内置的 Kerberos 设置?
authkerb 或许?

经过大量搜索后,我找到了 authkerb,但我没有看到任何使用它的人的反馈。我不知道从哪里开始。如果有人有这方面的经验,或者如果您遇到任何有关专门使用 Twisted 实现 Kerberos 的相关信息,我将不胜感激!


我以前从未接触过像 Kerberos 这样的东西,所以我阅读了它:

kerberos.org/software/tutorial.html  
technet.microsoft.com/library/cc961976  
web.mit.edu/kerberos/krb5-latest/doc/appdev/init_creds.html  
web.mit.edu/kerberos/krb5-1.12/doc/user/tkt_mgmt.html

还找到了有关避免什么的提示:

faqs.org/faqs/kerberos-faq/general/section-83.html

【问题讨论】:

    标签: python windows active-directory twisted kerberos


    【解决方案1】:

    Twisted 没有。

    但是,基于 Twisted 的 http://calendarserver.org 确实具有 kerberos 身份验证,并且是 https://pypi.python.org/pypi/pykerberos 项目的发起者。它应该作为一个可行的例子。

    【讨论】:

    • 谢谢!这很有帮助。我还不能投票,但我在精神上投票了。
    • 不客气。祝你好运!尽管我自己在 CalendarServer 上工作了很长一段时间,但我实际上并没有掌握 kerberos 部分,所以我很乐意帮助人们将技术与技术联系起来,这样我们就可以在社区中找到更多知道如何使用这些部分的人工具一起:)
    猜你喜欢
    • 2012-04-08
    • 2012-08-28
    • 2011-11-04
    • 1970-01-01
    • 2012-04-15
    • 2022-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多