douyu4535 2016-05-24 08:32
浏览 51

AD / LDAP和PHP密码策略实施

I am a newbie in this field..

Is there any password policy in AD/LDAP? Is it possible for me to add my own policy in there using php? If yes, please tell me how or give me some reference to learn more about it. Thank you so much

  • 写回答

1条回答 默认 最新

  • drmgg4411 2016-05-24 18:33
    关注

    Yes, in AD there are Password Settings Objects (PSOs) that can be used for password policy enforcement. You can create them in PHP, but there is quite a bit of work that goes into that.

    • They all have an objectClass value of msDS-PasswordSettings
    • They must be placed in the passwords settings container (ie 'CN=Password Settings Container,CN=System,dc=domain,dc=com
    • There are quite a few required attributes that need to be set to create one.

    There's actually a built-in method for creating PSOs in the LdapTools library. There's documentation on it here.

    Some general information on PSOs on Microsoft's site: https://technet.microsoft.com/en-us/library/cc770842%28v=ws.10%29.aspx

    评论

报告相同问题?

悬赏问题

  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100