Samba configuration

Asked by Bryan Mitchell

I found Rouben's answer to R K Mission very helpful and I followed his instructions. All went well until I tried the final test, "smbclient //thakur/bryan". The result was asfollows:-

bryan@bryan-desktop:~$ sudo smbpasswd -a bryan
New SMB password:
Retype new SMB password:
Added user bryan.
bryan@bryan-desktop:~$ smbclient //thakur/bryan
Connection to thakur failed

Could Rouben please suggest where I am going wrong?
I am running Ubuntu 7.04 and trying to network to an XP machine.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Peter L Jones
Solved:
Last query:
Last reply:
Revision history for this message
Alan (mrintegrity) said :
#1

1) Start the windows share on the windows computer or 2) allow the
connection through the firewall on the windows computer.

I think this is probably the root of the problem.

Alan

On Wed, 2007-10-03 at 15:44 +0000, Bryan Mitchell wrote:
> New question #14443 on Ubuntu:
> https://answers.launchpad.net/ubuntu/+question/14443
>
> I found Rouben's answer to R K Mission very helpful and I followed his instructions. All went well until I tried the final test, "smbclient //thakur/bryan". The result was asfollows:-
>
> bryan@bryan-desktop:~$ sudo smbpasswd -a bryan
> New SMB password:
> Retype new SMB password:
> Added user bryan.
> bryan@bryan-desktop:~$ smbclient //thakur/bryan
> Connection to thakur failed
>
> Could Rouben please suggest where I am going wrong?
> I am running Ubuntu 7.04 and trying to network to an XP machine.
>
>

Revision history for this message
Bryan Mitchell (bryan-aberdar) said :
#2

My problem now seems to be on the XP computer. On it I can see my Linux machine in the MSHOME workgroup and access my Linux files. However my XP machine does not show up in the workgroup!
On the Linux machine only Linux shows in the MSHOME workgroup, no XP machine.
When I try to share my My Documents folder on XP I get an error message "An error occurred while trying to share My Documents. The Server service is not started."
Both computers ping each other successfully.

Revision history for this message
Peter L Jones (peter-drealm) said :
#3

On Windows, Run
%SystemRoot%\system32\eventvwr.msc /s
Clear out all the logs, reboot, try setting up a share, then check the logs. That might throw some light on why the service isn't starting.

Is the maching running XPHome or XPPro? If XPPro, check
http://support.microsoft.com/kb/304040
in the "Turning on and turning off Simple File Sharing" section.

Revision history for this message
Bryan Mitchell (bryan-aberdar) said :
#4

Thank you for your suggestion. The machine is running Windows XP Home and I have set up MSHOME networks on other people's machines once or twice without seeing this problem.
The new log showed a failure audit as follows:-
"Logon failure; Unknown user name or bad password"
Username: Bryan
Domain: BLACK (my computer name)
Logon type: 2
Logon process: Advapi
Authentication package: Negotiate
Work station name: BLACK

I have only one account on this computer called "Bryan"
and I am the administrator, therefore I cannot see where
logon comes into it.

Revision history for this message
Best Peter L Jones (peter-drealm) said :
#5

From a quick bit of googling, I'd say check you have the Guest account enabled... but I don't know if that applies on XPHome. It doesn't sound like the right answer (and, to be honest, this sounds like it's no longer a Ubuntu / Linux issue - not to say I'm not interested!)...

Revision history for this message
Bryan Mitchell (bryan-aberdar) said :
#6

Thanks Peter L Jones, that solved my question.