Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 09:58:10 +0200
From:      "Leon Botes" <leon@trusc.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Problem with samba - windows clients reboot when saving.
Message-ID:  <000f01c392f2$141ef560$19ffa8c0@trusc.net>

next in thread | raw e-mail | index | archive | help
Freebsd 4.7
Recent install world and kernel after cvsup
Samba 2.2.8a

The clients have files in their home directories and on a common share on
the BSD box.
Every so often when they make a change to a file and save it the client
machine reboots.
Clients run win98 and office XP with SP2.

error for the log.smbd:
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/10/15 08:04:55, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:17:43, 0] lib/util_sock.c:read_socket_with_timeout(300)
  read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
[2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(794)
  oplock_break: receive_smb error (Connection reset by peer)
  oplock_break failed for file HONDE OORLASTE.doc (dev = 27406, inode =
2861321, file_id = 3).
[2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(879)
  oplock_break: client failure in break - shutting down this smbd.
[2003/10/15 08:18:11, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:18:15, 0] smbd/oplock.c:request_oplock_break(1011)
  request_oplock_break: no response received to oplock break request to pid
934 on port 1127 for dev = 27406, inode = 2861321, file_id = 3
[2003/10/15 08:20:21, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:38:18, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:42:08, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:49:09, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer

There have been a lot more reboots that don't appear in the log - don't know
why.

smb.conf :
# Global parameters
[global]
        workgroup = MATZIKAMA
        netbios name = BSD1
        encrypt passwords = Yes
        unix password sync = Yes
        preferred master = Yes
        domain master = Yes
        admin users = %S
        create mask = 0777
        directory mask = 0777

[homes]
        valid users = %S
        read only = No
        browseable = No

[shared]
        path = /usr/home/shared
        read only = No
        guest ok = Yes
        vfs object = /usr/local/lib/samba/recycle.so
        vfs options = /usr/local/etc/recycle.conf.default

[printers]
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes
        browseable = No
[hp5000]
        comment = Hp 5000 at Amanda
        path = /var/spool/lpd/hp5000
        read only = No
        guest ok = Yes
        printable = Yes
        printer name = hp5000
        oplocks = No
..... and six more printers identical to this one.

The problem appeared about 2 months after i upgraded to 2.2.8a

I have set the permissions on the users files to 777 and checked ownership
just to be sure. Still does the same.
I'm not sure if the problem lies on samba office xp or win98. All antivirus
software on the clients have been disabled.

Any help is needed urgently.
Thanks in advance leon.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c392f2$141ef560$19ffa8c0>