LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-16-2005, 02:37 AM   #1
rsmith
Member
 
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Rep: Reputation: 15
Samba Fileserver, XP Pro Client, "Cannot Login From This Workstation"?


I hope someone can help me. I've been through dozens of Google response pages with no luck. Here's the situation:

I have a Linux fileserver running Whitebox Enterprise Linux 3.0 (basically redhat without the redhat logos). All clients on the network are running Windows XP Professional with SP2 and only one is having a problem. When I attempt to map network drives or even browse the fileserver, I get a message stating that "The user account is not authorized to login from this workstation." This is an error that one would get if running Windows Server as it would mean that you've restricted account logon access from the workstation.

I've checked the /etc/hosts.deny and /etc/hosts.allow. I have no rules setup to either deny or allow access. Thusly, everything should flow smoothly as long as the credentials are correct.

I have checked the /etc/samba/smb.conf file. There is no valid users or write list options enabled and the security level is set to SHARE.

I have also verified that the Windows XP account is synchronous with the Linux user and Samba user accounts. All passwords match.

I have even tried adding another user on the network that I know has access to the local workstation thinking that the account may be corrupt. However, the known good account recieves the same message.

I read somewhere that it could be that the Linux server doesn't know who the IP address is, so I set up a static mapping of the workstation to the IP address so that the server could correctly ping and communicate with the worsktation.

Yesterday I reviewed the logfiles for the workstation in question and saw the following repeating quite frequently through the file:

lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected

I spent hours googling and searching through responses but everything I found was of no solution. I erased the logfiles in hopes of new ones creating new leads as the user attempted to access the network. Now, after checking the /var/log/samba/workstation .log file, I see no error entries, the file is blank. I do know that when the machine was originally configured a few months back everything was functioning correctly. No software had been added recently except for a piece of antispyware software that has since been removed. When it was working I was able to use the same credentials as now to browse the server, map drives, and store data.

All I am able to do at this point is ping the server by hostname and IP. I cannot browse nor map drives without getting the error listed earlier in my post.

Please someone help me. I've tried everything I can think of short of reloading the workstation's OS.
 
Old 09-16-2005, 02:59 AM   #2
XOR007
Member
 
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51

Rep: Reputation: 15
Re: Samba Fileserver, XP Pro Client, "Cannot Login From This Workstation"?

Quote:
Originally posted by rsmith
I ......

I have checked the /etc/samba/smb.conf file. There is no valid users or write list options enabled and the security level is set to SHARE.

...
Since you are able to access your samba shares from other workstations, this is more likely to be a Windows XP problem (from that machine).

THE SOLUTION: Either every other machine is using encrypted password but this machine is not(most likely) or every other machine on your network is using plain text password and this machine is using encrypted password.

You might have changed the registry settings on that machine

Last edited by XOR007; 09-21-2005 at 11:12 PM.
 
  


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
No UTMPX entry, You must EXEC "login" for the lowest "shell" ooihc Solaris / OpenSolaris 7 03-12-2007 02:09 PM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 02:55 PM
Samba - Win workstation, Linux Fileserver, password failure cornellS Linux - Networking 12 02-05-2004 07:20 PM
"Swisting" samba login to do more? 3inone Linux - Security 4 08-09-2003 05:25 PM
Samba & Win2K pro, "network path not found" RedHat123 Linux - Networking 8 02-05-2002 09:57 PM

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

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