??????? ???? ???? ????? ?????? ?????????? ???? ?????? FBA ?? Active Directory? ?? ?? ?????? LDAP ?? ???? ????? ??? ????? ????? 2010

?????? ????????? ?????? ?????????
???? ???????: 2619987 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

????? Microsoft Forefront ??? ????? ????? (TMG) 2010 Service Pack 2 ???? ????? ???? ???? ???? ????? ??? ??? ????????? ?? ????? ???? ?????? ?????? ??? ????? ????? TMG ???? ???? ???????? ???????? ???????? ??? ??????? (FBA) ???? ??? ??? ?? ?????? ???? Active Directory ?? ???????? ?????? ?????? ??? ?????? (LDAP).

??????? ????

?????? ???? ????? ???? ? FBA? ?? ?????? ???? ??????? ???? ?? ????? ?? ????? ????? ????? Microsoft ???????:
2555840 Microsoft Forefront ??? ????? ????? (TMG) 2010 Service Pack 2
??? ????? ????? Service Pack 2? ????? ????? ???? ????? ???? ???????? ???? ???? ????? TMG Forefront. ?????? ????? ?? ?????? ??????? ??????????????????????????????????? ?? ?? ?????? ??????? ?? ???? ???????:
  • ????????????????
  • ??????????????????
  • ???????????????????
??? ?? ????? ??????? ???????????????????????? ???? ?????? ?????? ?????????????????? ?????? ?????? ??????? ??? ??????? ??????? ?????? ??????? ??? ????? ?????? ??? ???? ??????????????????? ?????? ????????.

?????? "????????? ??? ??????? ????? ??????" ???? ?? ?????? ??????? ??? ????? ?? ??????? ????? ?????? ??????? ?? ???? ?? ????????????????????????? ?? ?????? ??? ???? ???? ?? ?????? ????? ?????? ??????? ??? ???????.

???? ???? ?????? ?? ???:
  • ???? ????? ? FBA ???????? ??? ?????? ??? ??????? ?? ?????? ???? ?????.
  • ??? ?? ????? ????? ???? Active Directory ???? ???? ?? ?? ???????? ???? ????? ??????? ??? ??????? ??????? FBA. ???? ?? ?????? ?? ????? ????? ?? ???? ??? ??????? ?? ??????.
?????? ?? ???? ???????? ????? ???? ???? ????????? ?????? ???? "?????? ???? ????? ???? ????? ??????" ?????? ?? ??? ???????. ???? Microsoft ??????? ???????? ???? ??????? ???? ??? ?? ???? ???? ?????? ?? ?????. ???? ????? ??? ?? ????? ???? ???????? ??????? ?????? ???????? ?? ???????? ???? ????. ????? ??? ??????? ??? ?????? ?? ??? ??????? ???? ??? ????? ???????? ????????? ?????? ????????? ????????. ????? ?????? ????? ?? Microsoft ??? ????? ????? ????. ??? ???? ???? ?? ???? ??? ??????? ????? ????? ?????? ?? ????? ??????? ?????? ??????? ????? ????? ??.

  1. ??? ???????? ????? ?????? ??? ??? "???????"? ?? ???? ????? ????? ???? Microsoft Visual Basic ???????? ???? ??? ???.vbs. ???? ?? ?? ??? ?????? ?????? ??????????????? ??? ????? ?????? ?????? ??.


    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    ' Script for enabling TMG Soft Account Lockout described in KB 2619987

    Option Explicit
    Dim WebListenerName,newEnableAccountLockout,newAccountLockoutThreshold,newAccountLockoutResetTime

    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    ' SET YOUR VALUES HERE
    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    ' Rule name where you want to change the EnableAccountLockout parameter

    WebListenerName = "YourWebListenerName"

    ''''''''''''''''''''''''''''''''''
    ' Set here custom values
    ' Remember: If the EnableAccountLockout property is set to True and the
    ' value for the AccountLockoutThreshold property for consecutive failed
    ' logon attempts for a user is exceeded, the account is locked based on
    ' the AccountLockoutResetTime value in seconds.

    newEnableAccountLockout = True
    newAccountLockoutThreshold = 2
    newAccountLockoutResetTime = 60

    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    ' Begin

    Dim Root, Array, WebListeners, WL, intCompare

    Set Root = CreateObject("FPC.Root")
    Set Array = Root.GetContainingArray
    Set WebListeners = Array.RuleElements.WebListeners

    ''''''''''''''''''''''''''''''''''
    ' Look for the WebListener

    For Each WL in WebListeners
    Wscript.Echo " Comparing WebListener name |" & WebListenerName & "| with |" & WL.Name & "|"
    intCompare = StrComp(WebListenerName, WL.Name, vbTextCompare)
    If intCompare = 0 then
    Exit For
    End If
    Next

    Wscript.Echo
    Wscript.Echo "Found WebListener with description: |" & WL.Description & "|"

    ''''''''''''''''''''''''''''''''''
    ' Show values

    Wscript.Echo
    Wscript.Echo "***** CURRENT VALUES: "
    Wscript.Echo "** EnableAccountLockout = |" & WL.Properties.EnableAccountLockout & "|"
    Wscript.Echo "** AccountLockoutThreshold = |" & WL.Properties.AccountLockoutThreshold & "|"
    Wscript.Echo "** AccountLockoutResetTime = |" & WL.Properties.AccountLockoutResetTime & "|"
    Wscript.Echo "***** NEW VALUES: "
    Wscript.Echo "** EnableAccountLockout = |" & newEnableAccountLockout & "|"
    Wscript.Echo "** AccountLockoutThreshold = |" & newAccountLockoutThreshold & "|"
    Wscript.Echo "** AccountLockoutResetTime = |" & newAccountLockoutResetTime & "|"

    ''''''''''''''''''''''''''''''''''
    ' Warning and ask to continue

    Dim strMessage
    WScript.Echo ' newline
    Wscript.Echo "Please check if the previous information is correct and you want to apply the changes"
    strMessage = "Press any key to continue or Ctrl+C to cancel"
    WScript.Echo ' newline
    WScript.StdOut.Write strMessage
    Do While Not WScript.StdIn.AtEndOfLine
    Input = WScript.StdIn.Read(1)
    Loop

    ''''''''''''''''''''''''''''''''''
    ' Set new values

    WL.Properties.EnableAccountLockout = newEnableAccountLockout
    WL.Properties.AccountLockoutThreshold = newAccountLockoutThreshold
    WL.Properties.AccountLockoutResetTime = newAccountLockoutResetTime

    Wscript.Echo "***** CURRENT VALUES: "
    Wscript.Echo "** EnableAccountLockout = |" & WL.Properties.EnableAccountLockout & "|"
    Wscript.Echo "** AccountLockoutThreshold = |" & WL.Properties.AccountLockoutThreshold & "|"
    Wscript.Echo "** AccountLockoutResetTime = |" & WL.Properties.AccountLockoutResetTime & "|"

    WL.Properties.Save

    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

  2. ??? ????? ??? ???? ????. ??? ???? ??????? ??? ????? ? "EnableSoftLockout.vbs"? ??? ???? ????? ??? ?????? C:\EnableSoftLockout.
  3. ?? ???? ???????? ??? ??? ?????? ???? ??? ???? ????? &.vbs & ?? ?????? 2? ?? ?? ?????? ?????. vbs. ??? ???? ??????? ?? ?????? ??????? ???????:
    C:\EnableSoftLockout ????? ??? ??????
    cscript EnableSoftLockout.vbs


?????

?????? ??? ???? ?? ????????? ??? ?????????????????????????? ????? ??? ???? ??? ???? ????? Microsoft (MSDN) ???????:
???? ???????????????????????
????? ?? ????????? ??? ??????? ????? ???????? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
824684 ??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

???????

???? ???????: 2619987 - ????? ??? ??????: 21/???/1434 - ??????: 4.0
????? ???
  • Microsoft Forefront Threat Management Gateway 2010 Enterprise
  • Microsoft Forefront Threat Management Gateway 2010 Standard
  • Microsoft Forefront Threat Management Gateway 2010 Service Pack 1
????? ??????: 
kbexpertiseinter kbsurveynew kbmt KB2619987 KbMtar
????? ????
???: ??? ????? ??? ??????? ???????? ????? ?????????? ??????? ?????? ??? ??????? ?? ??? ??????? ?? ??????? ??? ??? ?? ???? ????????? ???? ??????? ???????(CTF) ?? ?? ???? ????? ????. ???? ?? ???? ?????????? ??? ???????? ???????? ???? ??? ?? ???????? ??????? ?? ??? ??????? ???????? ?? ??? ??????? ??????? ??? ?????? ?? ?????? ??? ???? ???????? ???????? ?? ????? ??????? ????? ????? ??????. ??? ?? ???????? ???????? ?? ????? ??? ????? ?? ???????? ?? ???? ????? ?? ?????. ?????? ??? ???? ?????????? ???? ?????? ?? ??? ????? ?? ??? ??? ?? ??????? ?? ??? ????? ?? ???? ????? ????? ?? ????? ??????? ???? ?? ???????? ?? ??? ???????.
???? ??? ????? ??????? ?????? ??????????2619987

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com