exchange2003 弱口令中继如何解决?
请问如何解决弱口令被中继的情况?如果要更改用户的弱口令,如何最有效的批量完成? windows 2003应该可以使用脚本来进行修改。我不会使用这脚本,找了一个,您瞧一下会不会使用:
这个转自:http://blog.sina.com.cn/s/blog_49972b9501000bhm.html
Enable Users to Change Their Passwords
http://www.microsoft.com/technet ... wvb04.mspx?mfr=true
Description
Disables the User Cannot Change Password option, allowing the user to change their password.
Supported Platforms
Windows Server 2003/Windows XP/Windows 2000/Windows NT 4.0/Windows 98
Script Code
Const ADS_ACETYPE_ACCESS_DENIED_OBJECT = &H6
Const CHANGE_PASSWORD_GUID= _
"{ab721a53-1e2f-11d0-9819-00aa0040529b}"
Set objUser = GetObject _
("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")
Set objSD = objUser.Get("nTSecurityDescriptor")
Set objDACL = objSD.DiscretionaryAcl
arrTrustees = Array("nt authority\self", "everyone")
For Each strTrustee In arrTrustees
For Each ace In objDACL
If(LCase(ace.Trustee) = strTrustee) Then
If((ace.AceType = ADS_ACETYPE_ACCESS_DENIED_OBJECT) And _
(LCase(ace.ObjectType) = CHANGE_PASSWORD_GUID)) Then
objDACL.RemoveAce ace
End If
End If
Next
Next
objUser.Put "nTSecurityDescriptor", objSD
objUser.SetInfo 现在这个问题确实严重
页:
[1]
