开发者

Can I set a default password for Active Directory entries? Or is there one already?

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 th开发者_如何学Cat either.

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜