Problem with samba - windows clients reboot when saving.

admin admin at tnn-network.org.tw
Fri Jun 11 07:47:23 PDT 2004


hello:

Freebsd 4.9
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 =3D 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 =3D 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 =3D 27406, inode =
=3D
2861321, file_id =3D 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 =3D 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 =3D 27406, inode =3D 2861321, file_id =3D 3
[2003/10/15 08:20:21, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error =3D 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 =3D 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 =3D 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 =3D 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 =3D MATZIKAMA
        netbios name =3D BSD1
        encrypt passwords =3D Yes
        unix password sync =3D Yes
        preferred master =3D Yes
        domain master =3D Yes
        admin users =3D %S
        create mask =3D 0777
        directory mask =3D 0777

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

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

[printers]
        path =3D /var/spool/samba
        guest ok =3D Yes
        printable =3D Yes
        browseable =3D No
[hp5000]
        comment =3D Hp 5000 at Amanda
        path =3D /var/spool/lpd/hp5000
        read only =3D No
        guest ok =3D Yes
        printable =3D Yes
        printer name =3D hp5000
        oplocks =3D 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.




More information about the freebsd-questions mailing list