How To Use the Ntdsutil Utility to Deny Access to IP Addresses in Windows 2000 (314976)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
This article was previously published under Q314976 SUMMARY
This step-by-step article describes how to use the Ntdsutil utility to add an IP address to the IP Deny list. To provide higher levels of security for the domain controller, you can apply an IP Deny List that prevents the domain controller from accepting Lightweight Directory Access Protocol (LDAP) queries from clients that have specific IP addresses. The IP Deny List is similar to LDAP administration limits; it only alters the Default LDAP Policy object. The default LDAP policy is applied to any domain controller that has not had a specific LDAP policy applied to it or to the site in which it belongs. NOTE: To perform the procedure described in this article, you must be member of the Administrators group on a system that is running Windows 2000 Server or Windows 2000 Advanced Server.
Ntdsutil is located in the Support tools folder on the Windows 2000 installation CD-ROM.
back to the top
How to Start Ntdsutil- Click Start, and then click Run.
- In the Open box, type ntdsutil.
For more information about Ntdsutil, type a question mark (?) at a command prompt, and the press ENTER to access the Help file.
back to the top
How to Add an IP Address to the Deny List- At the Ntdsutil command prompt, type IPDeny List, and then press ENTER.
- At the IP Deny List command prompt, type connections, and then press ENTER.
- At the server connections command prompt, type connect to server dns name_of_server, and then press ENTER.
NOTE: Connect to the server that you are working on. - At the Server connections command prompt, type q, and then press ENTER to return to the previous menu.
- At the IP Deny List command prompt, type add ip_addressmask, and then press ENTER.
If you are working in a single-node environment, you can use "node" for the mask variable. - At the IP Deny List command prompt, type commit, and then press ENTER to commit the change.
back to the top
How to Verify the Addition- At the IP Deny List command prompt, type Show, and then press ENTER.
A list of all denied IP addresses is displayed. - At the IP Deny List command prompt, type q, and then press ENTER.
- At the Ntdsutil command prompt, type q, and then press ENTER to quit Ntdsutil.
back to the top
REFERENCESFor additional information about how to automate procedures in Ntdsutil, click the article number below
to view the article in the Microsoft Knowledge Base:
243267 How to Automate Ntdsutil.exe Using a Script
back to the top
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbhowto kbHOWTOmaster KB314976 kbAudITPro |
---|
|