Home > Articles > Operating Systems, Server

This chapter is from the book

This chapter is from the book

Limitations of Classic NT Security

The first questions you may ask when hunkering down to study Active Directory is, “What is it?” and “Why have it?” This section answers the second question. The remainder of the chapter answers the first.

Account administration in a classic NT network is hampered by many limitations. The most important of these limitations are the following:

  • Restricted SAM size

  • Multiple logon IDs

  • Single point of failure at the primary domain controller

  • Poor operational performance

  • Poor replication performance

  • Lack of management granularity

  • The fact that security databases differ between servers and domain controllers

  • Nontransitive trust relationships

I'm going to discuss each of these limitations to show exactly how they hinder classic NT operations. This also helps to understand why certain decisions were made in the design of Active Directory.

Restricted Account Database Size

Security accounts in classic NT are stored in the Security Account Manager database, called the SAM for short. The SAM is a flat-file database consisting of a set of Groups and a set of Users. Computer accounts are also included in the SAM as a special form of user account.

SAM Database Structure

Ordinarily, you cannot view the contents of the SAM database because the Registry only permits access by the System account. If you want to take a peek inside, you can set the Registry permissions to give your account or the Administrators group Read access. Actual data is encrypted and stored in binary format, but you can view the structure. Figure 6.1 shows an example.

06fig01.gifFigure 6.1. SAM database viewed by the Registry Editor after changing security permissions.

The total number of users, computers, and groups in classic NT is limited because the SAM cannot grow above a certain size. This is due to restrictions on overall Registry size called the Registry size limit (RSL). The RSL permits the Registry to grow to a maximum of 80 percent of paged pool memory. Paged pool memory has a ceiling of 192MB in NT and 470MB in Windows 2000 and Windows Server 2003.

Memory Pool Registry Settings

Memory used by the kernel in all Windows server products is divided between non-paged pool memory and paged pool memory. You can view settings for the memory pools in the following Registry key:

HKLM | System | CurrentControlSet | Control | Session Manager | 
graphics/ccc.gifMemory Management
      

The default values are zero, indicating that the system calculates them dynamically. You should not change any values without specific direction from Microsoft Product Support Services.

In modern Windows, the RSL is adjusted automatically when the Registry is about to exceed the current RSL setting. The RSL can also be adjusted from the User Interface (UI) using the Computer Management console as follows:

  1. Launch the Computer Management console by entering COMPMGMT.MSC from the Run window.

  2. Right-click the Computer Management icon and select PROPERTIES from the flyout menu.

  3. Select the Advanced tab.

  4. Click Performance Options.

  5. Under Virtual Memory, click Change. This opens the Virtual Memory window.

  6. Put a new value in the Maximum Registry Size field.

The SAM is only one component of the Registry, so its size is restricted still further. A classic SAM has enough room for about 40,000 users if you count the groups you'll need to manage them. Practical limits on replication and user management reduces this number considerably, although I know of at least one company that has in excess of 60,000 users in a single classic NT domain.

Single Point of Failure

The PDC is the only server that has read/write access to the SAM in a classic NT domain. If the PDC crashes or the telecommunications link to it goes down, you cannot make any changes to the domain constituents. You cannot add new users to a group. You cannot join computers to the domain. Users can still log on via a backup domain controller (BDC) but they cannot change their passwords.

To correct this problem, an administrator must promote a BDC to PDC somewhere in the domain. If the promoted BDC doesn't have the horsepower of the original PDC, worldwide performance suffers. A worse situation occurs if the WAN connection that connects the PDC to the rest of the domain goes down. In this situation, you don't dare promote a BDC because when the WAN connection returns, you'll have two PDCs with slightly different security database contents. This forces you to make a Solomon-like decision to keep one PDC and kill the other. In short, you have the makings of a real disaster.

Poor Operational Performance

The single PDC in a classic NT domain also imposes practical limits on daily operations. Assume, for example, that you are an administrator of a global NT network with 30,000 users. You are stationed in Omaha but the PDC for the master security domain is in Boston. You open User Manager for Domains to add a new user. User Manager pulls the account database from the SAM on the PDC, not a local BDC. Depending on the speed of the intervening WAN links, it can take a long, long time to scan through a big SAM. Administrators in large NT domains learn to use command-line utilities to avoid this irritation.

Poor Replication Performance

The hub-and-spoke replication model of classic NT imposes operational limits beyond the problem with limited SAM size. A large network with many BDCs imposes a great deal of load on the PDC to keep the databases replicated. By default, replication occurs when 200 updates accumulate every seven minutes or at a random interval between one and seven minutes. If you don't want to wait for replication to carry an update to a remote BDC, you must use Server Manager to force replication. This means opening still another tool and waiting another period of time.

SAM Database Differs Between Servers and Domain Controllers

The SAM database has a different structure on a classic domain controller than on a regular server. For this reason, a classic NT server cannot be promoted directly to domain controller or demoted from a domain controller down to a server. You must reinstall the operating system completely to change the server's security role.

Lack of Management Granularity

A major weakness in the flat-file SAM structure is its inability to support hierarchical management. Administrators wield supreme power in a domain. A few BuiltIn groups such as Account Admins and Server Operators have specially tailored privileges, but there is no provision for localizing admin rights or creating new groups with a different set of limited rights. Third-party tools are available to overcome this lack of management granularity, but they carry their own replication and management baggage along with a hefty price tag.

Nontransitive Trust Relationships

Of all the limitations in classic NT, the ugliest is the inability to link domains together seamlessly while maintaining separate administrative roles.

Classic domains are linked by trust relationships. Domain controllers in trust-ing domains perform pass-through authentications to check the credentials of users from trust-ed domains. These trust relationships are based on entries in the NT Security database called LSA Secrets. (LSA stands for Local Security Authority.) A pair of LSA Secrets, one in each SAM database, links the two domains together.

Classic trust relationships can only operate in one direction. You can add complementary pairs of trusts to get the appearance of two-way authentication, but the two trusts operate independently.

Worse yet, classic trusts cannot extend beyond the two domains that form the trust endpoints. For instance, if Domain A trusts Domain B and Domain B trusts Domain C, then Domain A does not trust Domain C, or vice versa. This forces large NT systems to have many interlocking trusts. You know when you walk into the operations center of a big NT shop because there's butcher paper on the walls with circles and arrows going everywhere.

Multiple Logon IDs

In an ideal universe, a single network logon account would provide access to all server-based applications. In the past, application designers have been reluctant to base their authentication services on the classic NT logon mechanism. Part of this reluctance was due to the inscrutable set of security APIs that Microsoft provided. Designers were also put off by the inflexible nature of the SAM.

This means trying to achieve true single sign-on under NT has been very difficult. This forces users to memorize passwords for many different applications as well as their network logon. Because users often select the same password for different applications, the entire security system becomes as secure as the most vulnerable interface.

Improvements Made by Active Directory

Now that I've listed the litany of sins in classic NT, let's take a quick look at what Active Directory does to resolve them:

  • The Active Directory account database in Windows Server 2003 can hold a billion objects. This resolves scalability concerns.

  • Multiple domain controllers can host read/write copies of Active Directory, eliminating the problems with a single point of failure and poor operational performance.

  • The Active Directory replication engine can be tuned to make best use of available bandwidth. This reduces WAN traffic.

  • A modern Windows server (Windows 2000 or Windows Server 2003) can be promoted to a domain controller and demoted back to a member server without the need to reinstall the operating system.

  • Active Directory can be configured with as many branches as needed to localize and compartmentalize administrative functions.

  • Active Directory domains still use “trusts” as an operational model but the trusts now give full, two-way access to resources and are fully transitive between domains.

  • The presence of a truly world-class directory service in Windows has sparked renewed interest among application developers in achieving single sign-on. Microsoft has helped encourage this interest by simplifying the security access methods and greatly expanding the access interfaces.

So, now we know what we're leaving behind. Let's move on to see what we're getting. The next section describes what goes into a directory service.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020