Clifford Ton
2005-Nov-07 17:36 UTC
[Samba] can not create directory/file under samba server
Hello,>From window client, I can read file but I can not create directory/fileunder samba server. I got the following error in /var/log/samba: [2005/11/07 09:11:03, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2005/11/07 09:11:03, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 24: ERRNO = Connection reset by peer [2005/11/07 09:11:03, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer) My setup info: [root@corba11 samba]# testparm -s Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[home]" Loaded services file OK. # Global parameters [global] server string = Samba security = SHARE guest account = cliffton passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No guest ok = Yes [homes] comment = opt path = /opt valid users = cliffton read only = No create mask = 0664 directory mask = 0775 [home] comment = opt3 path = / read only = No [root@corba11 samba]# uname -r 2.6.11-1.1369_FC4 Any help will be much appreciated Clifford