LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Fileserver, XP Pro Client, "Cannot Login From This Workstation"? (https://www.linuxquestions.org/questions/linux-networking-3/samba-fileserver-xp-pro-client-cannot-login-from-this-workstation-363848/)

rsmith 09-16-2005 02:37 AM

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.

XOR007 09-16-2005 02:59 AM

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


All times are GMT -5. The time now is 03:11 AM.