mountnetworkshare.sh script error

wangl2
Contributor

Hi guys,
I have used mountnetworkshare.sh from resource kit on my 10.6.8 clients and received an error: no such file or folder. The share still get mounted but it only shows the server name in the Finder. It does not map all the way to the actuall folder. Any advice are welcome. Thanks guys.

The bit I filled in the script.

serverAddress="IPofShareServer"
share="Sharefolder/Staff/$3" (I also tried Sharefolder/Staff/$3/)

Script Result: /private/tmp/mountNetworkShare.sh: line 171: read: `/System/Library/CoreServices/SystemVersion': not a valid identifier
/private/tmp/mountNetworkShare.sh: line 172: TransientSKFS03/Staff/localadmin/: No such file or directory
Attempting to mount smb://skfs03/TransientSKFS03/Staff/localadmin/ using localadmin's kerberos ticket...
- 0 com.jamfsoftware.mapdrive.
Unloading com.jamfsoftware.mapdrive....
Loading com.jamfsoftware.mapdrive....

1 REPLY 1

teknikal35
New Contributor III

yes , what the correct path I will try our this as well