LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2005, 12:59 PM   #1
Cagao
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
Mapping drives to multiple users from XP


I've got Linux setup with Samba, with several users, one for my personal stuff, then the others for websites, etc.

I can map a drive in XP to my personal user on Linux, but can't seem to map any other drives for the other users.

I have created another user for Samba and set the password (smb -a user).

Now everytime I try to map a drive, it keeps asking for the password, even tho I know the password is correct.

Is it possible to do what I'm doing? It would just make my work a LOT easier!

Thanks in advance.

Rob
 
Old 02-02-2005, 01:05 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
did you edit the samba conf file to list the new user as a valid user?

and bounce samba after config file edit?
 
Old 02-02-2005, 01:17 PM   #3
Cagao
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
In my smb.conf file i have entries such as...

[ujj]
comment = UJJ Shared Drive
path = /home/ujj
username = ujj


I've created 3 seperate shares, one for each user - i was getting errors in XP about trying to connect to the same share as a different user.
 
Old 02-02-2005, 01:23 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
oh yeah... that's different... XP seems to have a limitation about connecting as different users to the same resource...

so if you're trying to connect to \\192.168.1.1\joe as joe, and \\192.168.1.1\jim as jim, XP would crap on the second connection, because it cannot handle multiple logons to the same resource (being \\192.168.1.1)

--i haven't really looked into this much, just that i know it exists as a limitation... my solution is sym links on the server side...
 
Old 02-02-2005, 01:25 PM   #5
Cagao
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Well that's a bit poo then!

I did start using sym links (all other users in the same group as my main user), but for some of my work, files cannot be writable by the group otherwise they don't work (CGI scripts).
 
Old 02-02-2005, 01:33 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
As an ULTRA clunky solution, you can give your machine netbios aliases and connect to those instead... that generally fools windows, unless you use an IP directly.
 
Old 02-02-2005, 01:41 PM   #7
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
hmmm... i thought i'd be clever, given the solution above, and tried putting in a dummy entry in XP hosts file to point to my server...

and then access by \\dummy
rather than \\10.1.1.25 (in my case)

-- the existing login information went through anyways, what a bunch of losers.

although i did notice:
given that my user is in the same group as the other users, and i samba on user level access, i can run
\\10.1.1.25\otherUsername\ and it pulls up... but then again, this is a group level share, and apparently you have problems with that...


edit:
solution -- by using tools->map network drive and the dummy entry in the hosts file, i can pass a different login!

Last edited by secesh; 02-02-2005 at 01:43 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mapping network drives foliva SUSE / openSUSE 2 09-20-2005 03:02 PM
suse 9.1 device mapping for usb drives cj12345 Linux - Distributions 1 04-11-2005 03:18 PM
Samba and mapping drives Veteq Linux - Newbie 1 03-08-2004 05:56 PM
Mapping Linux Drives on XP agallant Programming 2 12-15-2003 09:29 AM
Mapping Remote Windows Drives Odd_Bloke Linux - Newbie 3 08-29-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration