LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SAMBA connection problems (https://www.linuxquestions.org/questions/linux-newbie-8/samba-connection-problems-767705/)

nicshoe18 11-08-2009 10:34 AM

SAMBA connection problems
 
hey everyone, still a little new to the forum, hope you can help. All setup guides for Samba do not cover new releases, which has undergone quite a bit of change. Im currently running 3.4.0 on Ubuntu. played with the smb.conf for a little while with no luck. I can access my windows shares with no problem. XP can see the Ubuntu share folders but cannot access them. prompts for password, sometimes it takes it, sometimes not. but always get the same error message that Im not authorized. all the commands for the conf file from the setup howtos appear to be outdated.

Ive been working on this all weekend with no luck. as always, all help is greatly appreciated!!

maslik 11-08-2009 10:45 AM

Have you created a samba password for your user name? You can also try to use chmod 777 on your folder even if it's not too nice. Or you can have a look at my article about samba sharing: http://justlinuxguide.blogspot.com/2...ba-server.html.

nicshoe18 11-08-2009 11:35 AM

i just chmod'd the folders with no luck. password is setup for smb. so those two are good. i setup a new conf file with the one provided in your guide. no luck there either.

i am prompted for user/password at Network Places where i can see the folders. but when i try to access through workgroup, no prompt just access denied. figured that might provide a little more insight to diagnose the problem.

pcunix 11-08-2009 01:39 PM

It might not be Samba.

Windows can sometimes send the wrong information when an account name as been changed.

What could be happening is that you think that "bobf" with password "aM2133" is being sent, but the user name being sent by Windows XP is still "Administrator" or whatever the previous name was. If you don't have an "Administrator" account on the Unix side, or if it has a different password, you won't get access.

I have a longer explanation at http://aplawrence.com/Unixart/winauth.html but the short version is to take a look at the account with

Code:

Start->Run->control userpasswords2
If not that, the Samba logs can give you a clue. If you see an error you don't understand, post it: odds are that somebody here has seen it.


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