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.
|
 |
09-16-2005, 02:37 AM
|
#1
|
Member
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57
Rep:
|
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.
|
|
|
09-16-2005, 02:59 AM
|
#2
|
Member
Registered: May 2005
Location: Africa
Distribution: Ubuntu, Redhat 6.2 to 9, Centos 4, Suse 8 Ent.,Suse 9 Ent.
Posts: 51
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:49 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
|
|