script to create mac share on win srv2k3..?

hey…i was wondering how possible it would be to write a script so that whenever a user logged in to a mac, it would check if the user already had a share that could be mounted and if not, create the mac share on the server and then mount it.
so if there was a share at //dcname/user.blah and user.blah logged in, it would mount this share but if blah.user logged in, it would create //dcname/blah.user and then mount this share?
thanks for any help :]