Home > Articles > Operating Systems, Server > Microsoft Servers

  • Print
  • + Share This
This chapter is from the book

File and Print Services and Authentication

We're going to talk about file and print services before we talk about authentication, merely to acknowledge that it exists. We won't get heavily into it because it's pretty simple, and typical problems don't actually have much to do with the file and print services themselves. Problems getting to files and printers are usually related to protocol problems, name service problems, WINS problems, DNS problems, and authentication problems.

As Figure 12.1 shows, once service location and name resolution is finished, authentication is done, Windows file-sharing and print-sharing happens through a mechanism called server message block, or SMB. SMB exists in all versions of Windows, with some modifications that have to do with authentication, which we'll get to in a moment, and service location/name resolution, which has already been discussed. The SMB service (the "server" service in the Windows NT family) is what makes it possible to offer access to a Windows computer's files and printers. The SMB client program (the "workstation" service in the Windows NT family) on a client PC makes it possible to use SMB-offered files and printers on a server.

Figure 12.1 After a client makes a Windows Networking request, there is a very definite order of operations.

Authentication: Domains, Trees, and Forests, Oh My

Three types of authentication are performed on Windows networks:

  • Workgroup (password per-share)

  • NT Domain (username and password)

  • Active Directory (username and password)

There's nothing remarkable about workgroup sharing. If one share doesn't work, a good strategy is to create another and see if it works. If it does, you might have to re-create the share that isn't working.

NT domains and Active Directory are a little trickier, but they share a lot of common features. A notable one is that they implement the concept of "secure workstations;" that is, workstations that are explicitly allowed to join the domain by an administrator. In a world where physical access to a machine allows a user to decrypt passwords, there's a lot of debate about just how secure this is, but for our purposes, we just need to know a couple of things.

In particular, because part of the concept behind a secure NT workstation is the idea that you cannot access a given workstation until you've identified yourself, we as troubleshooters roll our eyes and think to ourselves, "Great, so I can't try to fix it if it's having trouble authenticating. That's just grand."

Don't sweat it if you can't get logged in; see "Non-Bootable OS Recovery Methods," later in this hour.

NT Trust

Because NT domains are not hierarchical—that is, they are flat, rather than tree- structured—there needs to be some way for a user on one NT domain to use the resources of another NT domain. The mechanism that allows users of one domain to use resources of another is called trust. Trust relationships can be a one- or two-way relationship.

Say that your boss gives you access to the file cabinet with everybody's salaries. He has placed trust in you that you won't blab everybody's salaries all over town. Similarly, you trust your boss to pay you on Friday. This is a two-way trust relationship. On the other hand, your small children must trust you to put food on the table. You do not trust the older child at the tender age of 6 years old to stay with his 2-year-old brother; his idea of fun would be to feed his dinner to the dog and to feed the dog food to his brother. This, of course, is a one-way trust relationship.

You make NT domain trust decisions in a similar fashion. If you need for folks in domain A to be able to access resources in domain B, but not vice versa, you establish a trust relationship between domains B and A. You would say that B trusts A.

If one person in one of your NT domains (domain B) cannot access a resource (a share or a printer) in another one of your NT domains (domain A), you probably want to check the trust relationship. Make sure that the domain providing the resource is trusting, and that the domain needing the resource is trusted.

If you are administering NT, you use USRMGR.EXE to generate explicit trusts (that is, trusts that you tell Windows about). Be aware that implicit trusts also exist: For example, your Windows NT Workstation implicitly trusts the Domain Controller once it joins the domain.

Here's one interesting note about how name resolution and service location can affect trust relationships and thus authentication: I was called in to troubleshoot a trust relationship that had apparently been set up correctly; but even though it had, the system administrator got the following message when he attempted to administer the remote domain:

There are no logon servers available to service the logon request

The key was in the fact that these were wide-area linked domains, and the two WINS servers were not replicating properly; once they were, the problem went away.

Active Directory: Hierarchical and Scalable Domains

I find that a lot of folks tend to be uncertain about exactly what Active Directory Services (AD) does, and if you're uncertain about its exact function, it's kind of hard to rule it in or out as a problem.

So, you already know that although AD needs DNS as a name resolution and service location mechanism, you know that DNS is a separate entity from the AD—it in fact runs as a separate service on your server. Like any directory service, AD offers authentication services for more than one server in a hierarchical and distributed manner: That is, more than one server is capable of serving the database; and even within the AD namespace, sub-containers are used so that not all network objects are in the same place. Basically, AD is what you get when you hook up a bunch of NT-like domains to a DNS-like hierarchy.

A domain, like in the NT world, is a database that contains fields like usernames, passwords, and groups. In the AD world, these fields are called object classes; the sum of all these fields are called the schema of the directory. Unlike NT, the schema is not fixed; programs can add object classes to the database. The global catalog server is, among other things, responsible for the schema, which makes it the proper server to turn your gaze upon should you get schema errors.

A tree is a collection of domains—the first of which is known as the root domain. The tree is known by the same DNS name as the root domain; other domains in the tree have child names, as shown in Figure 12.2. Domains in the same tree have a trust relationship, which works similarly to the NT 4 trusts I just discussed.

Figure 12.2 The hierarchical relationship between a forest, a tree, a domain, and a child domain.

For organizations that want to keep administration separate, separate trees are used; but, trust relationships are still allowed. A group of trees that have trust relationships between them are known as a forest.

In reality, many smaller organizations using AD use perhaps one or two servers, so they use one root domain living in one tree—with no forest.

Microsoft does a pretty good job of offering a knowledgebase about common problems at support.microsoft.com—but keep in mind, many AD problems are either resource related, infrastructure related, or, ultimately, design related. Whether you are trouble-shooting someone else's AD gone wild, or deploying a new system, following Microsoft's design guidelines is not only a good idea, it will likely save you many hours of trouble. One good design document is located at http://www.microsoft.com/technet/prodtechnol/ad/windows2000/plan/w2kdomar.asp.

Because AD not only supports, but integrates the LDAP (Lightweight Directory Access Protocol) into AD operations, many folks are starting to hook third-party devices to AD's LDAP, such as firewall appliances and other devices that require authentication. Pretty cool, but, alas, my experience shows that you will definitely want a troubleshooting tool to do this—that is, the ability to tell a vendor, "Well, I'm able to use the LDAP with another tool, but your device is acting funny." Shazam! LDAP browsers come to your rescue. Plenty of LDAP browsers are out there, but my favorite is the Java-based LDAP Browser/Editor from the University of Chicago's Jarek Gawor. Check it out at http://www.iit.edu/~gawojar/ldap.

It's worth noting that AD does not allow an "anonymous bind" (where bind means "connect," in this context) to LDAP; you must specify a username and password. Most of the time, the mapping of your Active Directory name space is pretty easy; Figure 12.3 shows an LDAP browser attaching to the feldmonster.com domain, using the administrator login.

Figure 12.3 An LDAP browser attaching to the feldmonster.com domain using the administrator login.

  • + Share This
  • 🔖 Save To Your Account

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