Friday, February 27, 2009

Enable random signature in Entourage

  • Setup your signatures in tools/signatures
  • In the signature put a tick in "Include in random list"
  • Close the signatures and go to tools/accounts/
  • Double click on your mail account and go to the Options tab
  • In the "Default signature" pull-down select "Random"
  • Click "OK"
Now each time you create a new mail message it will select a signature from your Random list.

Thursday, February 19, 2009

OS X Server: Speeding up directory searches

One of the major complaints about OSX Server is that once they are bound, searching for users/groups from the AD can take a long time (and sometimes times out before completion).

The problem, according to Apple, is that AD doesn’t index any attributes for a substring search and therefore all records have to be searched. The Workgroup Manager plug-in times out after 60 seconds and even an ldapsearch from the command line will only search for 120 seconds and then give up.

Apple has two suggestions to speed up searches:

  • In Workgroup Manager, click on the little magnifying glass in the search window and select "Name is" and enter the last, first of the user you are searching for
  • In Workgroup Manager, click on the little magnifying glass in the search window, go to “advanced” and search for “Real Name” This will search the cn attribute and is much faster than a normal search- this works for groups too

I have tested both of the above work-arounds and found that they work very well. The Real Name search is particularly fast.

Monday, December 1, 2008

Enable access rights in ARD

Run this from the Unix command in ARD as root. It will set the user's access privileges in ARD to "all".

cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/
^M
./kickstart -configure -access -on -users [USER SHORT NAME] -privs -all

OS X: create user account from command line and ARD

For Tiger:

Run the following as "root" in ARD:

dscl / -create /Users/toddharris
dscl / -create /Users/toddharris UserShell /bin/bash
dscl / -create /Users/toddharris RealName "Dr. Todd Harris"
dscl / -create /Users/toddharris UniqueID 503
dscl / -create /Users/toddharris PrimaryGroupID 1000
dscl / -create /Users/toddharris NFSHomeDirectory /Local/Users/toddharris
dscl / -passwd /Users/toddharris PASSWORD
dscl / -append /Groups/admin GroupMembership toddharris

Replace "toddharris" with the user name and "PASSWORD" with the password you want to use.

For Leopard use:

dscl . -create /Users/toddharris
dscl . -create /Users/toddharris UserShell /bin/bash
dscl . -create /Users/toddharris RealName "Dr. Todd Harris"
dscl . -create /Users/toddharris UniqueID 503
dscl . -create /Users/toddharris PrimaryGroupID 1000
dscl . -create /Users/toddharris NFSHomeDirectory /Local/Users/toddharris
dscl . -passwd /Users/toddharris PASSWORD
dscl . -append /Groups/admin GroupMembership toddharris