Link to home
Start Free TrialLog in
Avatar of bountycyclops
bountycyclopsFlag for New Zealand

asked on

Leopard Volume Mounting Issues

I have a script I used in Tiger that mounts SMB volumes. In Leopard these scripts don't work

The heart of the script would do:

for smb:
mount volume "smb://userName:password@serverName/volumeName"

I have many users requiring multiple mapped drives with varying permission levels.
When I enter an actual user and their password into the script it works, but the script above which worked before won't run now in 10.5

Any comments are welcome...
Avatar of Eoin OSullivan
Eoin OSullivan
Flag of Ireland image

Remove the username and password
mount volume "smb://serverName/volumeName

It should then prompt to login .. if you save the username/password in the keychain then it should reconnect in future.
Avatar of bountycyclops

ASKER

Thanks for your reply

Yeah the problem I have is different users who each have different permissions and the keychain would be storing a single password. The line in the script is there so that their own authentication is used.
Are all these different users using the same account on OSX and not logging in and out as separate user accounts?
No they are all logging in with their own separate accounts.
Sorry I should have mentioned we have multiple Mac's bound to active directory, multiple user logging on to both Mac's and PC's with the same AD account.
OK this should not affect
As just check by going into system preference first that samba protocol is enabled
then by going into applicaion>>utilities>>directory untilities join it to the active directory.
Then type this command which you showed above
I hope that you have enabled the services on server side for mac as you said you were previously conncting with the same server and active directory with mac tiger.
ASKER CERTIFIED SOLUTION
Avatar of bountycyclops
bountycyclops
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial