idblife
7.51D
V2EX  ›  Django

Django 中集成 Microsoft 的 AD 活动目录验证

  •  
  •   idblife · May 19, 2015 · 5578 views
    This topic created in 4196 days ago, the information mentioned may be changed or developed.
    9 replies  •  2015-05-20 10:01:45 +08:00
    geeklian
    geeklian
    May 19, 2015 via iPhone
    1
    网页打不开....

    我在单位用的是直接让iis来做ad集成验证,然后把用户信息传递给后端的django……
    idblife
    idblife
    OP
    May 19, 2015
    2
    @geeklian
    你这样做有点复杂吧。。。
    另外我用的是github page
    你在哪个地方?
    clino
    clino
    May 19, 2015
    3
    这个是我为uliweb写的ldap app: https://github.com/zhangchunlin/shapps/tree/master/shapps/auth/ldap
    用了很久了,我们这里也都是windows AD
    有同步用户相关信息的功能,如群组等
    geeklian
    geeklian
    May 19, 2015 via iPhone
    4
    @idblife 移动4G……

    iis的集成认证最好的优点是用户可以不输入用户名密码...
    缺点就是做认证这台机器必须是windows server……

    windows server iis下跑django,配一次熟悉了也就那么回事了。
    idblife
    idblife
    OP
    May 19, 2015
    5
    哦,场景不太一样,呵呵
    zts1993
    zts1993
    May 19, 2015
    6
    企业中AD真是舒服,特别是内部系统
    glasslion
    glasslion
    May 19, 2015
    7
    和 django-auth-ldap 的区别?
    kfll
    kfll
    May 20, 2015 via iPhone
    8
    同 7L 问题…

    我现在有一个问题是 django auth ldap 的 user attr map 在 django 1.8之后无效了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4616 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 06:25 · PVG 14:25 · LAX 22:25 · JFK 01:25
    ♥ Do have faith in what you're doing.