Thursday, January 29, 2009

Configuring Kanaka with a shell script

Kanaka is a product that connects Macs to Novell storage. Here is how it can be configured at the command line.

# defaults write /Library/Preferences/DirectoryService/Kanaka "Kanaka Options" -dict-add "File URL" https://server.me.com:8009/KANANA/HTTP_GetClientFile
# defaults write /Library/Preferences/DirectoryService/Kanaka "Kanaka Options" -dict-add "Kanaka Servers" '(https://server.me.com:8009)'

# dscl /Search append / CSPSearchPath /Kanaka/Auth

# searchPolicyAuth=`(dscl /Search -read / | grep SearchPolicy: | awk ‘{print $2}’)`

# dscl /Search -change / SearchPolicy $searchPolicyAuth CSPSearchPath

# killall DirectoryService

Labels:

0 Comments:

Post a Comment

<< Home