[Samba] Samba connection problem

tonight23 tonight23 at 126.com
Sat Apr 16 21:48:21 MDT 2011


Hi,everyone,

I'm currently sharing files with Samba,but  i can't collect the samba server.the samba server is a centos5.5 and the client is a windows 7 PC.

I can't find any resolution for this

this is the log

[2011/04/17 11:13:27, 1] smbd/service.c:make_connection_snum(1077)
  192.168.1.14 (192.168.1.14) connect to service public initially as user nobody                                                                              (uid=99, gid=99) (pid 9026)
[2011/04/17 11:13:28, 1] smbd/service.c:make_connection_snum(1077)
  192.168.1.14 (192.168.1.14) connect to service exchage initially as user nobod                                                                             y (uid=99, gid=99) (pid 9026)
[2011/04/17 11:13:55, 1] smbd/service.c:close_cnum(1274)
  192.168.1.14 (192.168.1.14) closed connection to service public
[2011/04/17 11:13:55, 1] smbd/service.c:close_cnum(1274)
  192.168.1.14 (192.168.1.14) closed connection to service exchage
[2011/04/17 11:14:25, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.1.14. Error = Connection                                                                              reset by peer


this is my smb.conf 

[global]
        workgroup = WORKGROUP
        server string = Samba Server
        hosts allow = 192.168.1.14
        security = share
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
        valid users = %S
        create mode = 0664
        directory mode = 0755

 [caiwu]
  comment   =   caiwu
  path   =   /home/samba/caiwu
  public   =   no
  valid   users   =   @caiwu, at lingdao,network02
  write   list   =   caiwu01
  printable   =   no

 [lingdao]
  comment   =   lingdao
  path   =   /home/samba/lingdao
  public   =   no
  browseable   =   no
  valid   users   =   @lingdao,network02
  printable   =   no
  
[exchage]
  comment   =   Exchange   File   Directory
  path   =   /home/samba/exchange
  public   =   yes
  writable   =   yes
 
 [public]
  comment   =   Read   Only   Public
  path   =   /home/samba/public
  public   =   yes
  read   only   =   yes


More information about the samba mailing list