Resources for IT Professionals > 論壇首頁 > Directory Services > The security of this directory server can be significantly enhanced by configuring the server to reject SASL
發問發問
 

提議的解答The security of this directory server can be significantly enhanced by configuring the server to reject SASL

  • 2007年12月29日 下午 04:05Paul024 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    I am getting this warning in my event logs. When I click on the link for How to make this configuration, the page is no longer available.

     

    Does anybody know how to do the changes?

     

    Thanks,

    Paul

     

     

    Log Name:      Directory Service
    Source:        Microsoft-Windows-ActiveDirectory_DomainService
    Date:          12/29/2007 9:18:31 AM
    Event ID:      2886
    Task Category: LDAP Interface
    Level:         Warning
    Keywords:      Classic
    User:          ANONYMOUS LOGON
    Computer:      <ServerName>

    Description:
    The security of this directory server can be significantly enhanced by configuring the server to reject SASL (Negotiate,  Kerberos, NTLM, or Digest) LDAP binds that do not request signing (integrity verification) and LDAP simple binds that  are performed on a cleartext (non-SSL/TLS-encrypted) connection.  Even if no clients are using such binds, configuring the server to reject them will improve the security of this server.
     
    Some clients may currently be relying on unsigned SASL binds or LDAP simple binds over a non-SSL/TLS connection, and will stop working if this configuration change is made.  To assist in identifying these clients, if such binds occur this  directory server will log a summary event once every 24 hours indicating how many such binds  occurred.  You are encouraged to configure those clients to not use such binds.  Once no such events are observed  for an extended period, it is recommended that you configure the server to reject such binds.
     
    For more details and information on how to make this configuration change to the server, please see http://go.microsoft.com/fwlink/?LinkID=87923.
     
    You can enable additional logging to log an event each time a client makes such a bind, including information on which client made the bind.  To do so, please raise the setting for the "LDAP Interface Events" event logging category to level 2 or higher.

所有回覆

  • 2008年1月8日 下午 04:44Aaron Sankey -- Avanade 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Paul,

     

    I have been looking for a written reason that you are running into this and how to get rid of it, and I cannot find one. Sad

     

    The things I am confident of:

    In order to digitally sign an LDAP bind, you are going to need to get a certificate that has the purpose of digital signature.

    In order to perform a simple LDAP bind over SSL/TLS you are going to need a cert that allows for network traffic encryption.

     

    You could do this with a single cert and the PKI infrastructure required to do this would be simple.  It would also greatly increase the security of your environment -- just like the warning states.  But, it is not something that should be undertaken trivially.  The PKI infrastructure that would be required to do this, and the best infrastructure for your environment may be different, so plan this carefully to avoid redoing a lot of work in the future!

     

    The things I am spitballing:

    Deploying the certificates would ALLOW the server to do these things, but REQUIRING the server to do them is a different matter.

    I have not had an opportunity to scour the expanded group policy to find all of the keys, but I am guessing that you can set this policy much like IPsec.  The deployment of certificates is most likely going to be a seperate set of tasks than the requiring of secure authentication...

     

    To conclude, as a security nut, I am a fan of machine certificates for authentication and signing.  However, they do add an overhead and an associated cost - just think about how much harder it is to clean up an environment if your certs become invalid because your CRLs fall off of the planet Sad.  Although the warning is correct - you could increase your security with the appropirate measures to lock down this DC - I am fairly certain that the associated costs could be allocated toward security initiatives that would give you more bang for your buck.

     

    Let me know if you find anything on this!!  This is something that I know I will run into often.

     

    Keep us posted,

  • 2008年1月10日 上午 04:47Steve Linehan - 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    In Windows Server 2008 we added some additional logging around LDAP security to help customers identify if they have clients connecting to the directory without using LDAP signing or passing credentials in the clear via Simple LDAP binds without TLS/SSL.  The link is not live yet telling you how to configure your environment to be more secure and require it with the implications to downlevel or third party clients that may not support this requirement.  I expect this content to go live once Windows Server 2008 RTMs.  That being said LDAP Signing does not require a certificate, we can use other key material such as Kerberos tickets.  Until the documentation for Windows Server 2008 gets published you can find out more about enabling LDAP signing on the Server and Client sides in the following Knowledge Base Article: http://support.microsoft.com/kb/823659.

     

    Thanks,

     

    -Steve

  • 2008年1月10日 下午 01:29Paul024 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Thanks to you both. I'll check out the KB.

     

  • 2008年2月23日 下午 02:26PronichkinMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    The KB article number for this changes should be KB935834. And it isn't still there. Even after WS2008 already RTMed.

     

    Could you please publish at least kinda unofficial draft version in some blog?

     

    Thanks in advance.

  • 2008年6月14日 下午 01:04boe_d 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Here it is JUNE and just about every link in my event viewer for Server 2008 still comes up with bubkis - any idea when some of these links might go live?   I don't like any events in my event viewer unfortunately they all link to non existent KB articles.
  • 2008年7月1日 上午 07:44Markus Schuhmacher 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hello,

    the link / KB Article still ain't working.
  • 2008年7月23日 下午 02:43Max Eprom 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    This is coming from a rule security about non signed client. To resolve this you have to modify the strategy policy on Default Domain Controller Policy.
    I found that but excuse my poor english.
    So open Gpedit, found Default Domain Controller Policy Strategy.
    In Computer Configuration
      ==>Strategy
              ==> Windows Parameters
                       ==>Local Strategy
                               ==>Security Options
                                       Here go to the line : Domain Controller : Conditions required for the signature of LDAP Server ( I hope this the exact traduction because i dont know the line on the Windows 2008 server) and modify the rule to accept the signature. (This is for server negociation)
    Go also to the line : Network Security : Conditions required for the signature of LDAP Client and modify the rule to negociate the signature (This is for clients negociation)

    That will modify the rule and propage this to the clients in the domain. After this only autorized servers and clients integrated before in the domain could connect in the domain, all others will not.

    Hope this will be helpfull.

    Explanations can be found in : http://support.microsoft.com/kb/823659 but still have to search like always in KB.
  • 2008年8月5日 下午 03:36I installed vista on my bin 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I cant find anything about Strategy, are you using some kind of strategy here?

    Oh right got it!
  • 2008年9月7日 上午 06:06dsloyer 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    The two gpo's to configure to remove this warning are:

    Computer Configuration>Policies>Windows Settings>Security Settings>Local Policies>Security Options> -- Network Security: LDAP client signing requirements = negotiate signing

    Computer Configuration>Policies>Windows Settings>Security Settings>Local Policies>Security Options> -- Domain controller: LDAP server signing requirements = require signing

    Hope this helps - You must have a thorough understanding of LDAP certificate management prior to this change as stated previously.
    dsloyer
  • 2008年10月26日 上午 03:03Delmira 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
     Hello

    In my case those two rules are = NONE

    And the second one I can not change it? Do you know why?


    Delmira

  • 2008年12月9日 下午 04:11GBMaryland 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I noticed these posts while working on an issue with some legacy systems.

    Basically, I've got some Linux boxes that use Basic LDAP binds to our Windows 2003 servers.  I'm trying to raise the functional level to Windows 2008, and I'm noticing that when I point these Linux systems to the new Windows 2008 boxes... the simple LDAP binds no longer work.

    Of course, I'm ALSO seeing the Event ID 2886 errors, which is fine for now.

    Question:  Does anyone know what I need to change to allow SIMPLE LDAP BINDS to work against a Windows 2008 AD DC?

    (This would be temporary until we get LDAPS up and running, or something like it... We're using IPSEC anyway... so the risk is minimal...)

    GB
    Gerhard
    • 已編輯GBMaryland 2008年12月9日 下午 04:11Typo
    •  
  • 2009年2月13日 下午 05:57Henry Jerez 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     提議的解答
    The KB has been created and should now be available. You can access it directly at: 
    http://support.microsoft.com/kb/935834
    Thank you and sorry for the delay
    • 已提議為解答Henry Jerez 2009年2月13日 下午 05:57
    •