douzi8112 2011-06-10 22:34
浏览 46
已采纳

我可以为Active Directory条目设置默认密码吗? 或者已经有一个?

I am adding users to Active Directory with PHP. I can add all the attributes I like, but not a password it seems, or unicdepwd for that matter. The thing is, my users don't need to specify a password as they are authenticated only on their email address, but the authentication server does require something in that field. I would hardcode the same one for everyone, but I can't seem to achieve that either.

So... Is it possible to set a default password for all new entries into a particular OU or CN on the AD server?

  • 写回答

1条回答 默认 最新

  • dthtvk3666 2011-06-11 09:23
    关注

    I am not aware of any mechanism in AD itself to let you specify a default password.

    It's possible to set the password from PHP, but you need to enable SSL on the AD server first. Details can be found in this post:

    Change Password in Active Directory using LDAP/PHP/IIS/SSL

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?