TweetFollow Us on Twitter

Mac OS X Server 10.4

Volume Number: 21 (2005)
Issue Number: 8
Column Tag: Programming

Patch Panel

Mac OS X Server 10.4: Part Two Of Our Overview Of Mac OS X 10.4 Server

by John C. Welch

Last time, we took a long look at Mac OS X 10.4 Server from the Server Admin point of view, and concentrated mainly on server setup, features, and some management. Now, we're going to look at Mac OS X 10.4 Server from the Workgroup Manager point of view, or the tools and new features that Mac OS X 10.4 Server provides so you can better manage your network.

Workgroup Manager

Workgroup Manager is the tool you use to manage your overall Mac OS X network. Where Server Admin works with one server at a time, and only servers, Workgroup Manager works with multiple servers, client machines and client users. It's the primary tool for:

  • Setting sharepoints and access policies for those sharepoints
  • Setting client machines and client machine groups, their access policies and preferences
  • Setting users and user groups, their access policies and preferences
  • Manual manipulation of Open Directory data

Workgroup Manager is also the way you handle directory data from multiple directory systems. If you have multiple systems defined via the Directory Access application, then Workgroup Manager can work with those systems.


Directory Access in Mac OS X 10.4.x

One important point here is that you don't have to run Workgroup Manager on the server your using it with. You can also run Directory Access against a remote Mac OS X Server box via the cmd-K option, and this allows for what is called "directory mode", accessed via the "View Directories" option, or cmd-D in Workgroup Manager. In directory mode, you run Workgroup Manager from a remote administration Mac, that can be bound, via Directory Access to different directory systems than the server you're managing. This allows, for example, an Open Directory Master to integrate data from Active Directory without having to be itself bound to Active Directory. This allows for a great deal of flexibility, although my personal experience with directory mode has been inconsistent.

This does bring to mind one annoyance with directory service handling in Mac OS X in general, and that is how dependent it is on search order. If the search order in Directory Access is incorrect, you're in a world of hurt. As well, from what I can tell, if you have two external directory systems defined, and you try to authenticate, and the first one can't authenticate you, the directory services code won't fall through to the next one, and you can't authenticate. This is just a little annoying.

However, when directory mode in Workgroup Manager is working, and you have your authentication paths set right, it's neat as heck to use.

New Features

Since this is an article about Mac OS X 10.4 Server, I'm obviously going to concentrate on the new features that are in Mac OS X 10.4 Server that relate to Workgroup Manager. This isn't really a Workgroup Manager review; I'm just using that product as a framework. One change has to do with the new "Directory Admin" user concept. This just allows you to set up a Server so that the local machine administrator is not, by default the directory administrator, and in fact, the local administrator account that you first set up is a NetInfo only account, not an LDAP account. A second new feature is the Search button in the Workgroup Manager toolbar that allows you to search the Open Directory database by a number of items, such as UserID, Real Name, Comment, etc. If you have thousands of records in your Open Directory domain, that's a right handy feature to have.

User Accounts

The first obvious changes are due to the ACLs in Mac OS X 10.4. The old 16-group limits are gone, and there's support for inherited groups. As I said in July's article on this, ACLs give you great power, but you have to be careful, especially if you're talking about combined Active Directory and Open Directory networks. Careless application of ACLs will create security holes the likes of which you've never seen. Setting up groups for a user is still the same, although there's a new option for seeing inherited groups. This is for ACL usage, since you can have explicit and inherited permissions and groups. Mail and Print setup hasn't changed, although with the improvements to Mac OS X 10.4 Server's print architecture, the existing features probably work much better.

A new feature in Mac OS X 10.4 Server's client management is the Info tab for user accounts. This allows you to directly enter personal information on a user such as name, address, IM handle, etc. This is not a requirement for the account to work, but is a convenience for those using Open Directory as a shared address book. You could do this in Mac OS X 10.3 Server, but you had to directly edit the directory information, and it didn't always work correctly.


Workgroup Manager's Info Tab

The Windows settings for User accounts is unchanged, and the Inspector tab has only minor changes, such as showing the size of each entry in the user's record. One thing that hasn't changed from Mac OS X 10.3, and I really wish would, is the pane management in Workgroup Manager. You can't resize the panes in Workgroup Manager to show more info. You need to see the full Generated UID number? Changing the size of the window only increases the size of the account listing on the left. The data display on the right cannot be grown or shrunk depending on your needs, so get to scrolling. Shades of Windows 3.X! For a company that gets UI right far more than most, when they get it wrong, it's doubly frustrating.

Adding new users is unchanged, and still as kludgy as ever. Apple really needs to step up its sysadmin automation capabilities here. With regard to individual user preferences, there are a few updates here. The login prefs have some new features, such as "Add network home share point" and "Merge with user's items (Mac OS X 10.4 and later). The first one is how you make sure the user's network home share point always mounts. The second one, from what I can tell, is to merge the user's personal startup items and the ones you select for them so they all start up on login. I say, "from what I can tell", because this checkbox is pretty much undocumented. Apple's PDF and discussions group don't have anything on it, (at least not as of this writing, which is about a month before you read it) and searching the Apple Knowledge Base for that item gave me no results. Spotty documentation for a user is bad. Spotty sysadmin documentation is unacceptable. If they can take the time to code the function and the UI access for it, then Apple must take the time to document its basic function. Login Items is the only preference that you can manage for users or groups in the Workgroup Manager login preferences.

This gives me an opening to bring up a point about Workgroup Manager and the MCX (Managed Client OS X) here. There are three levels of management in MCX: User, Group, Machine. Most, but not all prefs can be set at all three levels. If you have contradictory settings, you may not get the results you want and you'll have great agony. You want to be very careful about setting the same preference on multiple levels, and do so as little as possible. Simple planning before you set will help here. Along these lines, Apple including a "Settings Check" function that would, if nothing else, highlight possible conflicts would be quite useful and very welcome.

The Media Access prefs haven't changed, but I wanted to point them out. If you have a need to limit how people can use removable media, this is an important setting. It allows you to lock down access to removable media at whatever level you require, with decent granularity. In today's SOX/GLB/HIPAA environment, being able to not allow copying of data to, or even from, removable media is an important feature, and I'm glad that Apple makes setting this up as easy as they do.

The Mobility setting is the biggest change to user management in OS X, and one that's been a long time in coming. With Mac OS X 10.3 Server, you could have "mobile" accounts, but all that did was deal with domain authentication. It did nothing for data synchronization. So, if you had a mobile account on one machine, and went to another machine, you didn't have any access to your home directory data on the first machine. Mobile accounts under Mac OS X 10.3 really only allowed you to log into the machine in situations where you were disconnected from the Open Directory network. In Mac OS X 10.4 Server, that's changed, and you now have (almost) full home directory synchronization. You can choose the items you want, or don't want to sync, and how. So, for example, you can have some directories sync on login and logout, (this would be the Windows Roaming Profile model), or have them sync in the background anywhere from once every 5 minutes to once an hour. You probably want to sync as little as possible to avoid network capacity problems. This means that if you have to switch machines a lot, you can have an almost uniform home directory setup, something that will be a major boon to mobile users, or schools, where a student may log into multiple machines throughout the day and then take a laptop home. There is one exception: Your home Library directory. That does not sync, even if you tell Workgroup Manager to sync it. This is primarily because you have some application and OS settings that use absolute hard coded paths that could break on different machines. Switching machines a lot will also make your ByHost preference management a lot more complicated. There is a workaround for this, at http://www.afp548.com/article.php? story=20050601101436323, but be warned, forcing that sync can cause problems, so be careful. However, even with that caveat, this is a feature that many have needed for a few years, and finally having it, even in this imperfect form, is a welcome change.


Portable Home Directory Sync setup

The Network preferences are a new feature, allowing administrators to set proxy preferences at the domain level, so that users can't bypass them. The Software Update prefs, also new in Mac OS X 10.4 Server, allow you to specify a local software update server you wish your users to use.

Group Accounts

At the group level, most of the account changes are wrapped around ACLs, so you can have groups within groups, etc. There are some other minor tweaks, like a group picture feature, and a comment for the group. Outside of preference features that don't exist at all in Mac OS X 10.3 Server, group preferences are unchanged.

Computer Accounts

This section has received more than a little work in Mac OS X 10.4 Server. In the Access tab, you have Mac OS X 10.4 - only options for Local - Only accounts picking workgroups from the list of groups allowed to access the machines in a computer list, and that computer administrators can disable management.

However, the specific machine information for Macs in a Computer List has grown by quite a bit. In Mac OS X 10.3 Server, about all you could do was set the computer list for a given machine, give it a name for use in Workgroup Manager, and a comment. In Mac OS X 10.4 Server, there are some new features here that work with the managed Network views. (I'll be getting to those later). So you can specify what Network view a machine can use, and the URLs that can be used to reach the computer based on what services it offers that you want used. So you can specify AFP, SMB, etc. When we go over managed Network views, you'll see how powerful this can be.

In the preferences, again, there aren't many changes that aren't Mac OS X 10.4 specific. The Login preferences are a little different for machines, in that you not only have features that only apply to the computer level, but you can now specify login and logout scripts that run instead of, or in addition to Login/LogoutHook scripts. This is a powerful, and potentially dangerous feature, so it only works if you enable this feature for root's loginwindow defaults AND you are using trusted binding to an Open Directory domain. This makes sense, as without that precaution, you could create a rogue server that would run 'bad' scripts on Macs that you shouldn't have control over. That would be A Bad Thing. And scripts have to be 30KB in size or smaller.

All Records

This (optional) tab hasn't changed in any noticeable way for Mac OS X 10.4 Server, and while that's good from a familiarity point of view, it perpetuates one of the worst design decisions ever made, and that is the decision to hide the structure of the directory from the humans. With almost any other Directory Service, such as Active Directory, you can see the tree view of the directory, and easily manipulate the data directly. So you can drag and drop items between OUs, groups, containers, etc. Workgroup Manager still doesn't allow you to do this, which is a shame, because even with Mac OS X 10.4 Server's rudimentary OU support, being able to handle those objects easily would make directory setup and administration far easier. I get that a lot of K-12 administrators don't want or need this kind of feature, but almost every other segment does want and need it. In the Enterprise Space, Workgroup Manager is one of the weakest directory management tools on the market, and things like this are a big part of it. Apple needs to, at least for Leopard; preferable well before, let the administrators who need this ability have access to it via Apple's own tools. Otherwise, you'll never be able to really scale Open Directory past a relatively smallish size.

Managed Network Views

This is a brand new feature for Mac OS X 10.4 Server, accessed, by clicking the Network button in Workgroup Manager, and in the short version, allows you to manage what your users see when they click on the Network icon in the Mac OS X 10.4 Finder. One of the problems with the Network view in Mac OS X 10.3 is that restricting what any Mac saw was quite hard, even effectively impossible. With Mac OS X 10.4 and Mac OS X 10.4 Server, you can now manage what neighborhoods and what machines any given client in an Open Directory domain can see. If you have a small network, this is not a big issue for you. If you have a few thousand clients on multiple subnets, this is a real help in controlling spurious browsing and its associated traffic.

There are three main kinds of views:

Named View: This is a network view that is visible only on those computers that you explicitly allow access for.

Default View: This is used for managed computers if there's no Named View.

Public View: This is used in lieu of the other two. If there's no Public View, but there is a Default View, that's used instead.

Within a Network View, you can have one or more of the following objects:

Network Neighborhood: This is a collection, (with a name stolen right from Windows, yeah, both sides do that), which can contain any of the three object types listed here. So it can contain individual computers, other Neighborhoods, or dynamic lists. It's a catchall that you can use as a root container type.

Computer: This is well, a computer. Specifically, it's a computer that Workgroup Manager knows about. You can add computers directly to a View, or to a Neighborhood. This allows you to better partition your browsing traffic, so you could, for example, have a Named View called "Directory Servers" and have only your Open Directory primaries and replicas listed there, and another Named View called "File Servers" which could contain Neighborhoods like "SMB Servers", "AFP Servers", etc.

Dynamic List: This is a collection of resources that is created on the fly when you access it in the Finder. Unlike the other two, you can only create a dynamic list from existing network structures, as seen below:


Dynamic View selection

Dynamic Lists are useful when you want to limit browsing and already have service discovery structures in place. Note that you can neither manually add nor remove items from a Dynamic List. You can however, put a Dynamic List in a Neighborhood and manage access in that fashion.

Once you have created your view types and the objects they contain, you can now manage their visibility, by either having the various views add to the unmanaged Finder Network Views, or replacing the standard Finder Network view entirely. This is a powerful tool if you need to limit access to various computers on your network, such as not allowing random access to the accounting servers, etc. It is also a good way to ensure that every computer isn't trying to browse entire network structures that they may have no need for. Limiting this kind of traffic helps enhance overall network performance, not just for the administrators, but for the users as well. If a user only needs access to four file servers, making them wait while an unmanaged browser view enumerates 150 machines is a waste of their time, not to mention bandwidth.

Sharing

ACLs are, again, the main source of changes here. In the All tab, you have the option to enable ACLs on a given volume. Note that this can only be done at the volume level, and outside of Workgroup Manager, you can only do this via fsaclctl. Once that's done, you can then apply ACLs to specific folders and files within that volume at your discretion. This can be done outside of any sharing you may implement for a folder, and unlike sharing you can set ACLs on files too. Remember that I've been saying be careful with ACLs a lot? This is why:


Workgroup Manager ACL settings dialog

ACLs give you a lot of capabilities, but setting them willy-nilly, and not watching how you set groups within groups, or tracking who is in what group for which ACL entry will, not can, but will cause you problems. One benefit of Apple's implementation is that if you do get into trouble you can, as a last resort, turn ACLs off and start over again. I know Windows Admins who would love to do that, because they accidently created an ACL for a folder that not only keeps everyone out, but won't even let them delete it without reformatting the drive or other very drastic action.

I don't want to scare you away from ACLs, but you need to give them a lot of respect. As the disclaimer says, not intended for amateurs.

Outside of ACLs, sharing hasn't changed much. There's some improvement to the strict locking for SMB shares, (Note: You should only enable oplocks on shares that will only be touched by Windows clients.), but from the Workgroup Manager point of view, sharing's pretty much the same as it was in Mac OS X 10.3 Server, you just have juicy ACL goodness.

Conclusion

That's it for part two of this series. It's quite a bit shorter than the Server Admin part was, but then Server Admin is the basis for most of what Workgroup Manager does, so there's not as much change to talk about. The final part of this series will show up next month, and cover, well, everything else.

Bibliography and References

As with the first article in this series, almost everything in this article can be found in Apple's Server Documentation, at http://www.apple.com/server/documentation/. What little isn't there, I pried from the ridiculously busy brains of people like Schoun Regan of I.T. Instruction, Michael Bartosh of 4am Media, and Joel Rennich of AFP548.com. Schoun and Michael are the authors of the two best books on Mac OS X Server available, the Visual Quickstart Guide to Mac OS X Server, and Essential Mac OS X Server Administration, respectively. Buy them both, they're great books. If you read any of my columns and don't regularly read AFP548.com, then you're missing out on a fantastic resource. All three of these guys, Schoun, Michael, and Joel are Apple Trainers too, a great reason to take the Apple courses if you haven't yet. Those courses are taught by the best folks in the Mac market, and well worth their cost.


John Welch jwelch@bynkii.com is an IT Staff Member for Kansas City Life Insurance, a Technical Strategist for Provar, (http://www.provar.com/) and the Chief Know-It-All for TackyShirt, http://www.tackyshirt.com/. He has over fifteen years of experience at making Macs work with other computer systems. John specializes in figuring out ways in which to make the Mac do what nobody thinks it can, showing that the Mac is a superior administrative platform, and teaching others how to use it in interesting, if sometimes frightening ways. He also does things that don't involve computertry on occasion, or at least that's the rumor. w

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Make the passage of time your plaything...
While some of us are still waiting for a chance to get our hands on Ash Prime - yes, don’t remind me I could currently buy him this month I’m barely hanging on - Digital Extremes has announced its next anticipated Prime Form for Warframe. Starting... | Read more »
If you can find it and fit through the d...
The holy trinity of amazing company names have come together, to release their equally amazing and adorable mobile game, Hamster Inn. Published by HyperBeard Games, and co-developed by Mum Not Proud and Little Sasquatch Studios, it's time to... | Read more »
Amikin Survival opens for pre-orders on...
Join me on the wonderful trip down the inspiration rabbit hole; much as Palworld seemingly “borrowed” many aspects from the hit Pokemon franchise, it is time for the heavily armed animal survival to also spawn some illegitimate children as Helio... | Read more »
PUBG Mobile teams up with global phenome...
Since launching in 2019, SpyxFamily has exploded to damn near catastrophic popularity, so it was only a matter of time before a mobile game snapped up a collaboration. Enter PUBG Mobile. Until May 12th, players will be able to collect a host of... | Read more »
Embark into the frozen tundra of certain...
Chucklefish, developers of hit action-adventure sandbox game Starbound and owner of one of the cutest logos in gaming, has released their roguelike deck-builder Wildfrost. Created alongside developers Gaziter and Deadpan Games, Wildfrost will... | Read more »
MoreFun Studios has announced Season 4,...
Tension has escalated in the ever-volatile world of Arena Breakout, as your old pal Randall Fisher and bosses Fred and Perrero continue to lob insults and explosives at each other, bringing us to a new phase of warfare. Season 4, Into The Fog of... | Read more »
Top Mobile Game Discounts
Every day, we pick out a curated list of the best mobile discounts on the App Store and post them here. This list won't be comprehensive, but it every game on it is recommended. Feel free to check out the coverage we did on them in the links below... | Read more »
Marvel Future Fight celebrates nine year...
Announced alongside an advertising image I can only assume was aimed squarely at myself with the prominent Deadpool and Odin featured on it, Netmarble has revealed their celebrations for the 9th anniversary of Marvel Future Fight. The Countdown... | Read more »
HoYoFair 2024 prepares to showcase over...
To say Genshin Impact took the world by storm when it was released would be an understatement. However, I think the most surprising part of the launch was just how much further it went than gaming. There have been concerts, art shows, massive... | Read more »
Explore some of BBCs' most iconic s...
Despite your personal opinion on the BBC at a managerial level, it is undeniable that it has overseen some fantastic British shows in the past, and now thanks to a partnership with Roblox, players will be able to interact with some of these... | Read more »

Price Scanner via MacPrices.net

You can save $300-$480 on a 14-inch M3 Pro/Ma...
Apple has 14″ M3 Pro and M3 Max MacBook Pros in stock today and available, Certified Refurbished, starting at $1699 and ranging up to $480 off MSRP. Each model features a new outer case, shipping is... Read more
24-inch M1 iMacs available at Apple starting...
Apple has clearance M1 iMacs available in their Certified Refurbished store starting at $1049 and ranging up to $300 off original MSRP. Each iMac is in like-new condition and comes with Apple’s... Read more
Walmart continues to offer $699 13-inch M1 Ma...
Walmart continues to offer new Apple 13″ M1 MacBook Airs (8GB RAM, 256GB SSD) online for $699, $300 off original MSRP, in Space Gray, Silver, and Gold colors. These are new MacBook for sale by... Read more
B&H has 13-inch M2 MacBook Airs with 16GB...
B&H Photo has 13″ MacBook Airs with M2 CPUs, 16GB of memory, and 256GB of storage in stock and on sale for $1099, $100 off Apple’s MSRP for this configuration. Free 1-2 day delivery is available... Read more
14-inch M3 MacBook Pro with 16GB of RAM avail...
Apple has the 14″ M3 MacBook Pro with 16GB of RAM and 1TB of storage, Certified Refurbished, available for $300 off MSRP. Each MacBook Pro features a new outer case, shipping is free, and an Apple 1-... Read more
Apple M2 Mac minis on sale for up to $150 off...
Amazon has Apple’s M2-powered Mac minis in stock and on sale for $100-$150 off MSRP, each including free delivery: – Mac mini M2/256GB SSD: $499, save $100 – Mac mini M2/512GB SSD: $699, save $100 –... Read more
Amazon is offering a $200 discount on 14-inch...
Amazon has 14-inch M3 MacBook Pros in stock and on sale for $200 off MSRP. Shipping is free. Note that Amazon’s stock tends to come and go: – 14″ M3 MacBook Pro (8GB RAM/512GB SSD): $1399.99, $200... Read more
Sunday Sale: 13-inch M3 MacBook Air for $999,...
Several Apple retailers have the new 13″ MacBook Air with an M3 CPU in stock and on sale today for only $999 in Midnight. These are the lowest prices currently available for new 13″ M3 MacBook Airs... Read more
Multiple Apple retailers are offering 13-inch...
Several Apple retailers have 13″ MacBook Airs with M2 CPUs in stock and on sale this weekend starting at only $849 in Space Gray, Silver, Starlight, and Midnight colors. These are the lowest prices... Read more
Roundup of Verizon’s April Apple iPhone Promo...
Verizon is offering a number of iPhone deals for the month of April. Switch, and open a new of service, and you can qualify for a free iPhone 15 or heavy monthly discounts on other models: – 128GB... Read more

Jobs Board

IN6728 Optometrist- *Apple* Valley, CA- Tar...
Date: Apr 9, 2024 Brand: Target Optical Location: Apple Valley, CA, US, 92308 **Requisition ID:** 824398 At Target Optical, we help people see and look great - and Read more
Medical Assistant - Orthopedics *Apple* Hil...
Medical Assistant - Orthopedics Apple Hill York Location: WellSpan Medical Group, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Now Read more
*Apple* Systems Administrator - JAMF - Activ...
…**Public Trust/Other Required:** None **Job Family:** Systems Administration **Skills:** Apple Platforms,Computer Servers,Jamf Pro **Experience:** 3 + years of Read more
Liquor Stock Clerk - S. *Apple* St. - Idaho...
Liquor Stock Clerk - S. Apple St. Boise Posting Begin Date: 2023/10/10 Posting End Date: 2024/10/14 Category: Retail Sub Category: Customer Service Work Type: Part Read more
Top Secret *Apple* System Admin - Insight G...
Job Description Day to Day: * Configure and maintain the client's Apple Device Management (ADM) solution. The current solution is JAMF supporting 250-500 end points, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.