FAQ

From radmind

Jump to: navigation, search

Contents

Client

Making login hooks work in Leopard (10.5.2)

Here are the steps I took after reading Andrew Mortensen's post in the radmind project at sourceforge

1) Downloaded and installed iHook v1.1.1

2) Double-checked that the path to my hooks are /etc/login.hook and /etc/logout.hook

3) Issued these commands exactly as written:

 sudo defaults write com.apple.loginwindow LoginHook /path/to/login.hook
 sudo defaults write com.apple.loginwindow LogoutHook /path/to/logout.hook

That seems to make the hooks work again.

Server

Can I move /var/radmind/postapply and /var/radmind/preapply?

Yes. By default, the radmind server looks for postapply scripts in /var/radmind/postapply and preapply scripts in /var/radmind/preapply. You can store these scripts in a different location by creating symlinks for these directories that points to the desired location.

Can I move /var/radmind to another volume?

Yes. As with the above answer, you can use a symlink, and radmind will follow. It's not uncommon, for example, to create a softlink from /var/radmind to a locally attached RAID storage device.

Note that, under some circumstances, clients may get a 500 error when executing a ktcheck if you've recently created the symlink. There may be a corresponding command_k: snet_open: config: No such file or directory error on the radmind server's system log. This indicates that radmind can't find the config file. The easiest way to resolve this is to reboot the radmind server; after which, radmind should successfully follow the symlink.

Personal tools