Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Manage Sidebar items with managed clients OS X Server
Tiger only hintThis hint is pretty obvious. I'm very glad, with OS 10.4 Server, Apple has implemented some form of managed preferences on a per-file basis. Yet in 10.4, they never added a UI for managing the Sidebar items in Workgroup Manager. Thankfully, you can just manage the file com.apple.sidebarlists.plist instead. I was a bit skeptical about this working at first, as I thought the home folder items (home, Documents, Desktop, ect) would break and you would get the "Original item not found" error. To my relief, they don't break.

There are two kinds of shared folders I want to add to the sidebar for my users. One (this is a hint'in'a'hint) is /Local Documents/ and this is a local 'everyone read/write' folder were users can save if they go off the network, server goes down, or saving to the server directly doesn't work (which is often an issue, especially with Photoshop on OS 9 or Office on OS X). The other, and much more beneficial, item(s) I will add (when I have time) are shared documents folders on the servers. Apple lets you add things like this to the Dock, but that doesn't help when you are in an open/save sheet.

You will want to log in as a user who is going to get the managed preference, and manually configure the Sidebar. Then log into an Admin account and connect to that user's home folder (who has the configured Sidebar), open Workgroup Manager, and add this file...

YourNetworkUser/Library/Preferences/com.apple.sidebarlists.plist

...to the managed preferences list for your User/Group/ComputerList. Putting these preferences under "Always" probably won't prevent the item from being "poofed," but I need to test that.

If there are any issues with the home folder items, I will just remove them from the managed preference, and let the OS create it by default when they login, and leave the other items I added. Also, if anyone knows how you can manage a non-plist file, or a file that is in a folder within the Preferences folder, please let me know!
  Post a comment  •  Comments (4)  
  • Currently 2.00 / 5
  You rated: 3 / 5 (11 votes cast)
 
[11,526 views]  View Printable Version
Prevent default Dock entries with Managed Clients OS X Server
One of the most frustrating things about Managed Clients is that the default Dock's items are applied for every user, instead of explicitly using only the items in your list for the managed Dock preferences on the server. I'm amazed that Apple doesn't see this as a problem (assumingly since the haven't fixed it yet). This prevents you from customizing your users' Docks exactly how you want to.

The fix is simple. Open /System -> Library -> CoreServices -> Dock.app -> Contents -> Resources -> English.lproj -> default.plist and delete everything under persistent-apps and persistent-others. I don't delete this file, or the persistent-apps and persistent-others arrays, just to be safe.

If a user has already logged in and gotten received the default Dock items, the easiest fix is to delete their com.apple.dock.plist file. Also, you should delete /Library -> Preferences -> com.apple.dockfixup.plist, as it can also add Dock items.
  Post a comment  •  Comments (8)  
  • Currently 2.22 / 5
  You rated: 1 / 5 (9 votes cast)
 
[9,597 views]  View Printable Version
Make Linotype FontExplorer work with network homes OS X Server
Linotype has recently released an excellent font manager called FontExplorer X that I highly recommend for service bureaus and designers. Its iTunes-like interface and speed make it perfect for activating thousands of fonts with excellent performance -- it was discussed in this recent hint.

This application doesn't normally work with network homes in a Mac OS X Server environment, but a simple symbolic link can fix the problem:
  1. Move the user's ~/Library/Caches/Linotype folder to a local location, such as a folder in /Users/Shared.

  2. Create a symbolic link from ~/Library/Caches/Linotype to the moved Linotype folder in /Users/Shared:
    ln -s /Users/Shared/Linotype-user_name ~/Library/Caches/Linotype 
Alternatively, a shell script supplied as a login script or login item can move and symlink the folder for you.
  Post a comment  •  Comments (3)  
  • Currently 2.11 / 5
  You rated: 5 / 5 (9 votes cast)
 
[8,919 views]  View Printable Version
10.4: Delete burn folders on OS X Server OS X Server
Tiger only hint`In a Mac OS 10.4 managed client / networked home environment, burn folders, once created, cannot be removed by the user. The only way to remove them is to log into the server as root. Do a find (Command-F) for "fpbf," which is the file extension for burn folders. You can then select all and drag them to the trash from the find window.

[robg adds: I can't confirm this one, nor do I know anyone using such a setup. If you can confirm and/or deny, please post a comment and I'll modify the hint as necessary.]
  Post a comment  •  Comments (9)  
  • Currently 2.25 / 5
  You rated: 3 / 5 (8 votes cast)
 
[26,126 views]  View Printable Version
Make Photoshop and Xsan work together OS X Server
Do you use Xsan and Photoshop? If so, you may have seen this error message:
Could not save as "image.tif" because an unexpected end-of-file was encountered.
To keep Xsan and Photoshop happy together, go to Photoshop's Preferences and choose File Handling. Under File Saving Options, select Image Previews and then choose Never Save.

I believe the error occurs because the Xsan filesystem just doesn't like all the resource fork data that Photoshop saves with images when the image preview is turned on. I was absolutely pulling my hair out until I figured this out.

[robg adds: I can't verify either the problem or the solution for this one...]
  Post a comment  •  Comments (4)  
  • Currently 2.11 / 5
  You rated: 1 / 5 (9 votes cast)
 
[7,898 views]  View Printable Version
Restrict network access per service based on IP address OS X Server
You can restrict access to a network service on a per-IP basis by configuring launchd to use TCP wrappers. First, install tcp_wrappers using Fink or DarwinPorts; see the tcp_wrappers page at DarwinPorts for more info.

Then set Program to /usr/libexec/tcpd in the plist for the daemon you want to wrap. You might also need to adjust ProgramArguments. Note that TCP wrappers only works for inetd-compatible jobs whose "Wait" setting is set to false.

[robg adds: I haven't tested this one...]
  Post a comment  •  Comments (4)  
  • Currently 2.13 / 5
  You rated: 4 / 5 (8 votes cast)
 
[7,135 views]  View Printable Version
Create a bootable XServe Remote Diagnostics CD OS X Server
Have you ever wanted to run the Xserve Remote Diagnostics without setting up a NetBoot server? Well now you can. Full instructions can be found here, and they are reproduced below as well...

Requirements:
  • Mac OS X 10.3 or Mac OS X Server 10.3.3 or later
  • Apple Developer Tools
Note that this hint was tested on version 1.0.4 of the Xserve Remote Diagnostics

Method One:
  1. Download and mount the XserveRemoteDiag104.dmg disc image

  2. Install the Xserve Remote Diagnostics

  3. Use Disk Utility to create a "Disk Image from Folder" of the folder '/private/tftpboot/xrdiags' using the Image Format of "read/write"

  4. Mount the disk image

  5. Run the following Terminal commands, replacing with the absolute path with the path to the mounted disk image:
    $ /Developer/Tools/SetFile -t "tbxi" //diags
    $ sudo bless --folder /
    $ unmount and burn the disk image
read more (69 words)   Post a comment  •  Comments (2)  
  • Currently 2.00 / 5
  You rated: 1 / 5 (10 votes cast)
 
[14,698 views]  View Printable Version
10.4: Create a Tiger image for cloned Net Installs OS X Server
Tiger only hintI work at a school where we are rolling out a new, custom image of Tiger for our Mac clients, but I've found that creating an image of Tiger 10.4.1 isn't as easy as it was for Panther. One, Mike Bombich's Carbon Copy Cloner doesn't work quite right for Tiger yet, removing an easy approach, and two, Apple's Disk Utility creates images that make visible crucial system files like "etc" and "var", which absolutely can't be visible in the final image or else my users will certainly mess with them and kill the client system.

So, after a few days' work, I've come up with a procedure for creating the image that I thought I'd share. If you're working on other stuff, allow a day or two to complete this process -- it takes a while, but is worth it in the end when you can NetInstall multiple clients (or even better yet, use Multicast ASR to image many clients simultaneously - ooooh, geeky).
read more (197 words)   Post a comment  •  Comments (22)  
  • Currently 2.22 / 5
  You rated: 5 / 5 (9 votes cast)
 
[26,673 views]  View Printable Version
10.4: Enable encrypted SquirrelMail on Server OS X Server
Tiger only hintI set up my mail server on OS X 10.4 and enabled SquirrelMail to provide webmail functionality. In my Mail Preferences for authentication, I had disabled LOGIN and PLAIN, so passwords wouldn't be sent in the clear when people check their mail.

With these settings, I could not login to my webmail. Using the conf.pl script in the squirrelmail directory, I could not change the authentication method, so I had to change it manually like this:

Open Terminal and type pico /etc/squirrelmail/config/config.php. Change $imap_auth_mech = 'login'; to $imap_auth_mech = 'cram-md5'; (or whatever you set as your method for authentication). Save and close the document. Now you can login to SquirrelMail using your username and password....
  Post a comment  •  Comments (8)  
  • Currently 1.70 / 5
  You rated: 1 / 5 (10 votes cast)
 
[13,223 views]  View Printable Version
10.4: Share AirPort in Tiger Server OS X Server
Tiger only hintI recently set up my Tiger Sever machine to serve (or share) its AirPort card as a base station, providing internet to anyone that connects to it. This was harder and more complicated than I originally thought, and I wish to share my experience.

First of all, there are two methods to share your AirPort connection. One is to manually set up (or use the new Gateway Setup Assistant) to configure NAT and DHCP and create a computer-to-computer network. The other is from the Internet Sharing (Sharing Preference Panel -> Sharing -> Internet) found in OS X Client (but hidden in Server). I will provide the benefits and disadvantages of both, as well as how to set them up from Tiger Server.
read more (385 words)   Post a comment  •  Comments (3)  
  • Currently 2.18 / 5
  You rated: 3 / 5 (11 votes cast)
 
[16,917 views]  View Printable Version