Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with Samba
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RUshan
n00b
n00b


Joined: 02 Feb 2005
Posts: 8
Location: MAgnitogorsk

PostPosted: Wed Feb 02, 2005 10:27 am    Post subject: Problem with Samba Reply with quote

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
View user's profile Send private message
solomonHk
Apprentice
Apprentice


Joined: 28 Mar 2004
Posts: 226
Location: int main(void) { };

PostPosted: Wed Feb 02, 2005 2:12 pm    Post subject: Reply with quote

Try browseable = yes in your smb.conf.
Back to top
View user's profile Send private message
RUshan
n00b
n00b


Joined: 02 Feb 2005
Posts: 8
Location: MAgnitogorsk

PostPosted: Thu Feb 03, 2005 7:32 am    Post subject: Reply with quote

solomonHk wrote:
Try browseable = yes in your smb.conf.


no effect
Back to top
View user's profile Send private message
sgould
n00b
n00b


Joined: 30 Aug 2005
Posts: 5

PostPosted: Tue Aug 30, 2005 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum