Koozali.org: home of the SME Server

XP SP2 Drive mapping to SME

RobRoye

XP SP2 Drive mapping to SME
« on: December 29, 2004, 06:43:39 PM »
I can map a drive in Windows XP Home to a Samba share in 6.0.1 and it works swimmingly well. When I restart the Windows box, however, it is unable to reconnect to the share (I did tell it to use specific usr/pwd). I open the mapped drive, it asks for usr/pwd and immediately connects. I need it to connect all by it's lonesome so I don't have to manually connect it at every restart.

Ideas? Comments? Anyone? Bueller?

Olsen

XP SP2 Drive mapping to SME
« Reply #1 on: December 29, 2004, 10:21:06 PM »
In order to get around having to "reconnect" to the shared drive, you must have the username and password the same on the computer when you login.  It has to be the same username and password that is used on the server.  This way, when you login, you will have instant access to server resources.

RobRoye

XP SP2 Drive mapping to SME
« Reply #2 on: December 29, 2004, 11:41:06 PM »
I tried that as well with no success.

You can map a share as a drive and specify which username and password to use for the share, which I did with this one. I've done it many times on my SME server at home (6.0.0) but the new one at work (6.0.1) doesn't seem to like it.

Olsen

XP SP2 Drive mapping to SME
« Reply #3 on: December 29, 2004, 11:48:04 PM »
I would try making another user on your computer, same as the username used on the server.  Try that.  If it does not work, well then you have other issues.  I am running 6.0.1 here and have 50+ users with XP sp2 all working.

RobRoye

XP SP2 Drive mapping to SME
« Reply #4 on: December 29, 2004, 11:55:41 PM »
I tried doing that just to be sure it wasn't something odd with Windows authentication, but they still don't want to connect. I'm not sure what the problem is.

Olsen

XP SP2 Drive mapping to SME
« Reply #5 on: December 30, 2004, 12:06:20 AM »
Are you trying to access the "Primary" ibay? Or have you created a different ibay you are mapping to?

Offline smeghead

  • *
  • 563
  • +0/-0
XP SP2 Drive mapping to SME
« Reply #6 on: December 30, 2004, 02:59:41 AM »
.. to map to a remote share using a user name other than that you logged in with is possible but (shock, horror :-)) requires the use of the command prompt in Windows.

Open a command prompt in Windows and type:

net help use

This will clue you into the info you need; the command you need to use will be something like:

NET USE [\\computername\sharename] [password] [/USER:[domainname\]username] | /PERSISTENT:YES

HTH
..................

RobRoye

XP SP2 Drive mapping to SME
« Reply #7 on: December 30, 2004, 03:56:43 PM »
I've done that, but the GUI tool does the same thing.

The main thing I'm wondering is - is there something in Samba or SME that may be preventing this from being allowed? I know the Windows side, I'm just wondering if it's something on the Linux side that I need to take into account when I set things up.

Normally I've had no trouble with Samba shares - either mapping or setting them as DFS shares on a Windows server. This one is stumping me, however. All suggestions are indeed welcome.

RobRoye

XP SP2 Drive mapping to SME
« Reply #8 on: January 06, 2005, 03:34:02 PM »
Didn't answer the other question - yes, it is going to the Primary i-bay. There is only one i-bay set up ion on the machine.

Offline p-jones

  • *
  • 594
  • +0/-0
XP SP2 Drive mapping to SME
« Reply #9 on: January 08, 2005, 01:52:11 PM »
Write a bat file like smehead suggested above and stick it in the startup folder of you XP Home machines. Also force XP to use the classic logon screen:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Insert or change a value with the following details:
Data Type: DWORD
Value Name: LogonType
Value: 0
Restart the computer for the changes to take effect

and all your problems will just melt away.....
...

Offline p-jones

  • *
  • 594
  • +0/-0
XP SP2 Drive mapping to SME
« Reply #10 on: January 08, 2005, 02:09:53 PM »
Oh yeah - I amost forgot - Turn off system restore.

I have interfaced all M$ OS from 98 up into SME - XP HOME was by far the worst to interface !!
...