I'm not sure what you are wanting to do. You can make a script to mount shares with.
Code:
mount -t smbfs //machinename/share /mounting/point
If you are using KDE
Code:
kdesu mount -t smbfs //machinename/share /mounting/point
and you will be prompted for root psswrd.
Then there is
LinNeighborhood
smb4k
Konqueror will mount shares with fish://machine/share
There is also the Lisa demon, but I've never had much luck with it.
And you can make an entry in your /etc/fstab to mount a share.
You say auto mount shares. Do you mean as soon as the share turns on you want the linux box to mount it?