Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Apple > Operating Systems

Want to Share Your Stuff with Mac OS X Server? The Basics of Share Points and Home Directories

Want to share your stuff with Mac OS X Server? If you need to understand the basics of file sharing using Mac OS X Server, Ryan Faas walks you through both the underlying concepts and the actual steps involved in setting up file sharing and share points. This article is everything you need to know about creating a file server using Mac OS X Server: from the basics of share points to customizing user home directories and everything in-between.
Like this article? We recommend

For more information on the Macintosh, visit our Macintosh Reference Guide or sign up for our Macintosh Newsletter.

One of the primary uses of servers within a network is to host shared files. For some small offices or organizations, this task can be the only use for a server. Usually, however, the documentation for a server (be it the several volumes of PDFs that accompany Mac OS X Server or one of the books on the subject) can make deploying a simple file server (or learning how to manage one) seem like a daunting task. For those who simply need to understand the basics of file sharing using Mac OS X Server, this article walks you through both the underlying concepts and the actual steps involved in setting up file sharing and share points. Along the way, I’ll also discuss home directories—continuing some of the discussion of Apple’s Open Directory from my recent article "So You Want to Be a Mac OS X Server Admin? Understanding the Building Blocks of Open Directory and Mac OS X User Management."

Apple Filing Protocol (AFP), occasionally referred to as AppleShare, is the native file service for Macintosh computers. It is a protocol that operates over TCP/IP and AppleTalk. It is supported by, and is the default file service for, both Mac OS X and the classic Mac OS versions (although Mac OS 8 clients should have their AppleShare client updated to version 3.8.8, which can be downloaded from Apple’s support site, to interact properly with Mac OS X Server). Mac OS X Server supports AFP for accessing shared files over TCP/IP only, although it can support locating servers and share points using AppleTalk. AFP enforces access restrictions based on user account and group membership and supports Kerberos authentication for additional security and single-sign-on access to servers when used in an Open Directory environment.

To make share points and files available using AFP, you need to configure the AFP service using Server Admin. This needs to be done for any servers that will host share points, regardless of whether they are Open Directory servers or whether they are part of a shared directory services environment (Open Directory or other) or are standalone file servers. If share points hosted by a given server are meant to be accessed using user account information from a shared domain, they must either be a directory server for that domain (master or replica) or be bound to the domain. To use Kerberos authentication, they must also be joined to the appropriate Kerberos realm (which should occur when the server is joined to a shared domain).

Telling Your Server How To Share with Other Macs

To configure the AFP service, launch Server Admin and select AFP in the Computers " Services list for the server; then select the Settings tab at the bottom of the right pane of the window. After you configure the AFP service, click the Start Service button in the toolbar to enable AFP access, if the service is not running already (see Figure 1).

The General tab allows you to specify a logon greeting that is displayed to users when they connect to the server (logon greetings are not displayed for auto-mount share points, which we’ll discuss later) and to select whether the server will broadcast its name and availability using AppleTalk and BonJour/Rendezvous.

The Access tab settings offer you six options to control who can access AFP share points and some of the access methods:

  • Authentication: This pop-up menu allows you to choose whether to use Kerberos for the AFP service. The options are Kerberos to requires Kerberos authentication, Standard to specify that Kerberos should not be used, and Any Method to allow Kerberos to be used when possible and non-Kerberos methods to be used when Kerberos is not an option (early Mac OS X versions do not support Kerberos, for example).
  • Enable Guest access: When checked, users can log in as Guest. The Guest user does not require a password or any identifying information. Guest access is inherently insecure, but might be needed in situations where there are frequent shifts in who is accessing files on a network or when files need to be made available to anyone who sits down at a computer. Guest access can also be enabled or disabled for each share point you create (although it must be enabled for the AFP service for a share point to support it), which allows you to tighten the security of specific share points. You can further limit Guest access using share point and folder and file permissions. However, unless absolutely needed, my advice is to not use Guest access because in addition to its insecurity, it is difficult to identify who a Guest is. In a school situation, in which you need to grant generic access to all students, creating a generic student user or a generic user for each classroom or each workstation might be a better option because it allows you to at least have some trail to identifying who guest users are and to identify between them and what they are accessing.
  • Enable secure connections: This option allows workstations to establish secure connections using the various encryption methods supported by Mac OS X Server and Open Directory for authentication and access to shared resources. As a rule, you should make use of this option at all times, particularly if you will support connections that do not make use of Kerberos (that is, connections from computers that are not part of a shared directory domain and as such will require users to transmit their username and password when they connect to the server).
  • Enable administrator to masquerade as any registered user: This option can be considered somewhat controversial. When checked, it is possible for an administrator to log in as a user, using the user’s username but the administrator’s password instead of the user’s password. This has obvious privacy implications and you should specify in a company or school network or computer policy that you reserve the right to access user information before using this option (or you could find yourself in a legal battle). The other concern is that this feature does present an additional security concern if someone does gain access to an administrator password (though if that happens, you will probably have greater security issues to worry about). If you use this feature at all, my suggestion is to leave it disabled unless you are choosing to log in as a user for some explicit reason.
  • Maximum Connections: These last two options let you define how many users can connect to a server using AFP at a given time. You can set a connection limit for all users (those with users accounts as well as Guest users) or for just Guest users. Limiting the number of connections can be used to improve server performance and security, but it raises the question of users being unable to access data that they need. As with many things, this is a balance you need to strike in your network. Generally, you can limit connections based on the number of users or workstations in your infrastructure (keep in mind, however, that some users might establish multiple connections to a server).

The Logging tab allows you designate what information is stored in the AFP service logs and how often those logs are archived. There are two AFP logs (and I suggest using both), one for file access and one for service errors—which is always enabled. Both logs can be viewed in Server Admin by selecting the AFP service and then selecting the Logs pane using the tab at the bottom of the window. To free up resources within Server Admin, you should select the option to archive logs (that is, only display the current logs in Server Admin and save the rest to dated files located in the /Library/Logs directory of the server’s startup drive).

The Idle Users tab for the AFP service settings determines how the server responds to connections where users stop interacting with files on the server. Each time a user connects to the server, the server creates and maintains a session for that user. While the session is open, the user can open files and modify them. The session is considered idle if the user stops opening, closing, or saving files or folders (although the user is still connected, the user isn’t doing anything with data on the server). While a session is open, it uses server and network resources, even when it is idle. Therefore, a large number of idle sessions can degrade performance. Also, you cannot back up files that are open (and users can have open files while being idle). If a session is terminated while a user has open files that they have made changes to but not saved, the file is closed and those changes are lost. The Idle Users tab gives you some options in how to deal with users that have open and idle sessions with a server:

  • Allow clients to sleep X number of hours: When this option is enabled, the server will terminate the network connection to the workstation but maintain the user’s session for the specified number of hours (the default is 24). This frees up the network resources (but not the server resources) used by the session and can keep a user from losing changes they made to files on the server. After the number of sleep hours you specify has elapsed, the session is considered idle.
  • Disconnect Idle users after X number of minutes: This option allows you to automatically disconnect users who have idle sessions. This can free up server resources (as well as network resources), but if users have unsaved changes, they will be lost. You can also specify exceptions to the automatic disconnect for users who are Guests, Administrators, Registered users (non-Guest users, those that have logged in with a user account), and Idle users who have open files. Finally, you can type in a message to be displayed when a user is disconnected.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit 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 Peachpit 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 ask@peachpit.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 Adobe Press. 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.peachpit.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