Samba share working intermittently - don't know why
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Samba share working intermittently - don't know why
Hello,
I am running Slackware 10.1 w/ the 2.6.12.5 kernel, and Samba 3.0.14a. Until recently, the Samba share that I had created between my Slackware and Windows XP boxes was working properly. Now, I keep receiving the following error message when trying to connect to my share via my Windows machine:
Logon Failure: The target account name is incorrect.
I have not changed either the username or password with which I was connecting, and have removed and created my Samba account on my Slackware machine using the same settings as before. I have had limited success with removing and installing Samba, and after a kernel recompile my share was accessible to Windows for a few days w/o any problems, until now. I am perplexed about this, so if anyone could shed some light on this issue for me I would be grateful. Thank you.
Last edited by swampdog2002; 08-22-2005 at 10:51 AM.
The way i see it there are two possible basic things that can go wrong:
1) the linux box is not sharing samba
2) the windows box is not authenticating itself properly.
Although the fact that it occured after a kernel recompile may tell us something. That said it was a few days.
Anyway, my first advice would be to try a different windows machine. and in that way you can isolate where the problem actually lies.
I haven't heard too much about different kernel versions having an effect on samba. Unless you somehow disabled support for something in the kernel.
I presume you have also tried creating a NEW samba user. Also what level of security are you using? if it's server or domain, you didn't change your windows username did you?
I have tried creating different users, but this does not seem to resolve anything. What's interesting is that after being logged on to my Windows machine for some time, I am able to access my Samba share. After rebooting, however, I am locked out, receiving the error mentioned in my original post. But, I do not beleive that it is machine-centric, since I have tried other machines on the network and am unable to log into my Smaba share as well. I'll have to keep looking for an answer to this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.