LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-09-2010, 07:16 PM   #1
debsys07
Member
 
Registered: Mar 2007
Posts: 46

Rep: Reputation: 16
Samba: Login from Win XP Problem


I have a very "vanilla" smb.conf file that I haven't touched since I last reloaded Debian (Lenny). After adding users (smbpasswd -a) & setting passwords, all have been able to map to their home directories from Win XP machines, with one exception.

One user can map to his directory on MY Win laptop & I can map to my directory on MY laptop.

I can map to my directory on HIS laptop, but he can't map to his directory on HIS laptop.

This was verified today as he was sitting next to me. Both of our machines were connected via Ethernet to the same n/w through the same hub.

There is no specific username info or user IPs in my smb.conf.

So far I assume it's something on the Win side in his machine. Anyone noticed a phenomenon like this?

Thanks,
Ron
 
Old 03-09-2010, 07:35 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
What do you mean "can't map" ?

Is that "can't see the directory" or "can see but mapping fails" ?
 
Old 03-10-2010, 08:12 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
If you are running a firewall program on the Windows machine, have a look there. Some settings might be user specific. I am not sure as I have not tried to connect to a Samba share with a different user account.

I do recall that when I first used Linux several years ago (RedHat 5.8) I setup Samba and it was working great. Then one day it quit. I tweaked Samba, uninstalled it, reinstalled it, upgraded it, compiled it, reinstalled Linux and after several months gave up. Then one day I happened to turn of my firewall, Zonealarm, for some reason. All of the sudden my Samba server appeared! Seems that an upgrade to Zonealarm decided to protect the PC from its peers.

Or... When you are on the other person's PC who are you? Are you logging on as yourself or is the "owner" of the PC logged onto his PC? If you Ron are logged onto Ron's PC as Ron and can connect to Ron's Samba share and Other's Samba share but Other logged on to Other's PC cannot connect to Other's Samba share but Ron can connect to Ron's Samba share from the PC where Other is logged into Windows - I thought I was going somewhere with this. No wonder Samba is confused. Might post you Samba config file for folks to have a look at.

Ken
 
Old 03-10-2010, 11:36 AM   #4
debsys07
Member
 
Registered: Mar 2007
Posts: 46

Original Poster
Rep: Reputation: 16
By "can't map" I mean he can't "map a network drive" in Windows parlance from Windows File Explorer. When he tries, using the usual directory spec format (\\<host>\username) it won't accept the username/password. That is, not in one particular case. This is the same whether "host" is expressed as a URL or the IP address.

The firewall is the same in any case, & I can connect to my home directory on his machine without doing so as a different user.

Just one of those samba "features," I guess...

Ron
 
Old 03-10-2010, 12:52 PM   #5
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
What I was asking is if he can browse to the directory in the map network drive dialogue.

If the directory is not visible it's one problem, if it is but it won't connect, then it's another.

It should be visible inside View Workgroup Computers as well, inside the computer concerned.
 
  


Reply



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
unable to login to samba server from win XP professional mummaneni Linux - Software 2 02-17-2005 04:08 PM
unable to login to samba server from win XP professional mummaneni Linux - Software 1 02-17-2005 06:49 AM
Win XP and Samba Share red X on login janon Linux - Software 0 04-30-2003 01:35 PM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM
win xp won't login to samba but win 2k works great mrtwice Linux - Networking 4 03-28-2003 01:27 PM

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

All times are GMT -5. The time now is 01:14 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