Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Log in to a single SMB share with multiple user names' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Log in to a single SMB share with multiple user names
Authored by: mzs on Apr 13, '09 12:17:09PM

Has anyone got the analog of this for the case you are mounting the drive from Windows. What I do now is I fire-up cmd.exe and type:

start \\192.168.1.2

(In reality I have dns entries in my router so I do not type the IPs but I do not want to confuse here.) Then I right-click on my home dir (which is on the eMac) and pick map network drive. I select as different user and put in my short user name and password. Then my home dir gets mounted as drive Z: and when I am done I go to computer and right-click drive Z: and select disconnect.

I wish I could simplify this to typing something like:

start \\mzs@192.168.1.2

I've tried also tried:

start \\192.168.1.2\mzs

The reason for this is that the Windows machine is pretty much only there for media center so it only has one non-admin user. If I mount the home dir as that user I cannot get to the ~/Movies dir, which has the movies I want to show on the TV, grumble. If I were to create another user they would fight over the the tuner. (I need to get to videos and pictures on my wife's account in the eMac as well, so one account will not cut it.)

Oh sometimes Windows complains about the disconnect. You can see what is up with this:

net use

And then get rid of the offending entry with this:

net use /delete *

Then only type Y to the troublesome one.



[ Reply to This | # ]