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...
bountycyclopsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eoin OSullivanConsultantCommented:
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.
0
bountycyclopsAuthor Commented:
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.
0
Eoin OSullivanConsultantCommented:
Are all these different users using the same account on OSX and not logging in and out as separate user accounts?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

bountycyclopsAuthor Commented:
No they are all logging in with their own separate accounts.
0
bountycyclopsAuthor Commented:
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.
0
vishal_impactCommented:
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.
0
bountycyclopsAuthor Commented:
Thanks for your input guys, have rolled back to Tiger, will take  your advice vishal_impact  in the future when we do move forwards with Leopard.

Ta
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Networking

From novice to tech pro — start learning today.