Tuesday, May 10, 2011

OS X Server: users can not connect to SMB or AFP shares

We have been troubleshooting several reports from offices with bound OS X servers where Mac and PC clients are unable to connect to shares using AFP or SMB.  Additionally these offices have reported that Macs will randomly drop their AFP connections to the OS X server.

When the connection problem occurs often times the server shares will display generic ACL GUIDs: a series of numbers and letters instead of the group name.   In cases such as these restarting Directory Services generally resolves the problem- at least temporarily:

sudo /usr/bin/killall DirectoryService

Other times the GUIDs display normally but the connection problems still persist.  In these cases two things are suggested:
  1. Nest AD users into local groups and then use the local groups to populate the ACLs
  2. Flush the group membership cache by running this command:  
sudo dsmemberutil flushcache

Generally these problems occur most often on Leopard servers- Snow Leopard servers have improved group membership caching.

Friday, May 6, 2011

Mac administrator account changing to a standard account

We have had several reports of Macs that have their admin account changed to a standard account.

The fix is to login to the machine as root, go to "Accounts", select the admin account and put a tick in "allow user to administer this computer".

If the root account is disabled or you do not know the password you will have to boot the machine from the OS DVD and enable the account/reset the root password.

Full instructions can be found here:

http://support.apple.com/kb/TS1278