Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-02-2005, 12:59 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Posts: 11
Rep:
|
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
|
|
|
02-02-2005, 01:05 PM
|
#2
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
did you edit the samba conf file to list the new user as a valid user?
and bounce samba after config file edit?
|
|
|
02-02-2005, 01:17 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
02-02-2005, 01:23 PM
|
#4
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
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...
|
|
|
02-02-2005, 01:25 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Posts: 11
Original Poster
Rep:
|
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).
|
|
|
02-02-2005, 01:33 PM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
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.
|
|
|
02-02-2005, 01:41 PM
|
#7
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|