View previous topic :: View next topic |
Author |
Message |
RUshan n00b
Joined: 02 Feb 2005 Posts: 8 Location: MAgnitogorsk
|
Posted: Wed Feb 02, 2005 10:27 am Post subject: Problem with Samba |
|
|
I have a problem. Samba (v. 3.0.9), here is my smb.conf:
Code: |
[global]
workgroup = mvshb
netbios name = RUsh
log file = /var/log/samba/samba-log.%m
lock directory = /var/lock/samba
guest account = nobody
share modes = yes
[homes]
comment = homes
browseable = no
read only = no
create mode = 0750
[public]
comment = Public Stuff
path = /home/ftp/pub
public = yes
writable = no
printable = no
|
When windows user is trying to connect my machine as guest (without pass), he couldn't and samba writes the following into log files:
Code: |
[2005/02/02 11:37:48, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/02/02 11:37:48, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer [2005/02/02 11:37:48, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer)
|
When i access smb shares from my machine using smbclient, everything is OK:
Code: |
rush@RUsh rush $ smbclient -U guest \\\\rush\\public
Password:
Anonymous login successful Domain=[MVSHB] OS=[Unix] Server=[Samba 3.0.9]
smb: \>
|
Thanx for advices beforehand
sorry for my english
Last edited by RUshan on Thu Feb 03, 2005 5:30 am; edited 1 time in total |
|
Back to top |
|
|
solomonHk Apprentice
Joined: 28 Mar 2004 Posts: 226 Location: int main(void) { };
|
Posted: Wed Feb 02, 2005 2:12 pm Post subject: |
|
|
Try browseable = yes in your smb.conf. |
|
Back to top |
|
|
RUshan n00b
Joined: 02 Feb 2005 Posts: 8 Location: MAgnitogorsk
|
Posted: Thu Feb 03, 2005 7:32 am Post subject: |
|
|
solomonHk wrote: | Try browseable = yes in your smb.conf. |
no effect |
|
Back to top |
|
|
sgould n00b
Joined: 30 Aug 2005 Posts: 5
|
Posted: Tue Aug 30, 2005 10:45 pm Post subject: |
|
|
This problem has to do with the ports Windows 200x and XP client machines use. See my solution on another thread.
Steve |
|
Back to top |
|
|
|