The upgrade didn't help - someone please

jkimb jkimb at kimberlyconsulting.com
Thu May 24 03:53:16 GMT 2001


I have been having problems with two Windows ME systems talking to my
Linux Samba Server.  The Server WAS RH 6.2 w/ Samba 2.0.6.  The problem
seemed to be oplocks.  I had adjusted the "wait" times, but it didn't
seem to help.

So, at everyone's suggestion, I upgraded the Server to RH 7.1 and Samba
2.0.8.  I am still having the same issues with the same Windows ME
systems.

Below is an example log entry:

kdurbin (10.0.0.151) closed connection to service hp4050
[2001/05/23 16:16:46, 1] smbd/service.c:make_connection(550)
  kdurbin (10.0.0.151) connect to service hp4500 as user kdurbin
(uid=520, gid=500) (pid 12591)
[2001/05/23 16:20:10, 1] smbd/service.c:close_cnum(581)
  kdurbin (10.0.0.151) closed connection to service hp4500
[2001/05/23 17:12:18, 0] lib/util_sock.c:read_socket_data(477)
  read_socket_data: recv failure for 4. Error = Connection reset by peer

[2001/05/23 17:12:18, 1] smbd/service.c:close_cnum(581)
  kdurbin (10.0.0.151) closed connection to service sys
[2001/05/23 17:12:18, 1] smbd/service.c:close_cnum(581)
  kdurbin (10.0.0.151) closed connection to service kdurbin
[2001/05/23 17:12:24, 1] smbd/service.c:make_connection(550)
  kdurbin (10.0.0.151) connect to service kdurbin as user kdurbin
(uid=520, gid=500) (pid 14574)
[2001/05/23 17:12:30, 1] smbd/service.c:make_connection(550)
  kdurbin (10.0.0.151) connect to service sys as user kdurbin (uid=520,
gid=500) (pid 14574)
[2001/05/22 17:19:44, 2] lib/interface.c:add_interface(83)
  added interface ip=10.0.0.5 bcast=10.0.0.255 nmask=255.255.255.0
[2001/05/22 17:19:44, 2] lib/interface.c:add_interface(83)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/05/22 17:19:44, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/05/22 17:19:44, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[2001/05/22 17:19:44, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_RCVBUF (Error Bad file descriptor)
[2001/05/22 17:19:44, 0] lib/util_sock.c:set_socket_options(148)
  Failed to set socket option SO_SNDBUF (Error Bad file descriptor)
[2001/05/22 17:19:44, 2] smbd/server.c:main(735)
  Changed root to /
[2001/05/22 17:19:44, 2] lib/access.c:check_access(258)
  Allowed connection from g7j9v4 (10.0.0.198)
[2001/05/22 17:19:44, 2] smbd/reply.c:reply_special(97)
  netbios connect: name1=RRESERVER        name2=G7J9V4

--------------------

At the point of the "read_socket_date: recv failure" the Windows ME
system gets a "Blue Screen of Death", containing a REDIR error and
"hoses" the system.

The other systems on this network are Win98 and Win2K's.  None of them
have any problems, just the Windows ME systems.

Below is my smb.conf file:

#======================= Global Settings
=====================================
[global]

    workgroup = RESOURCE
    netbios name = RRESERVER
    server string = Samba Server
   hosts allow = 10.0.0.0/255.255.255.0 127.
    printcap name = /etc/printcap
    load printers = yes
   printing = lprng
log file = /var/log/samba/log.%m
max log size = 100
security = user
password server = sbsserver
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
;  encrypt passwords = yes
;  smb passwd file = /etc/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*
all*authentication*tokens*updated*successfully*
;  username map = /etc/smbusers
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 10.0.0.5/24 127.0.0.1
   bind interfaces only = Yes
   local master = no
   os level = 0
domain master = No
preferred master = No
name resolve order = hosts wins lmhosts bcast
;   wins support = no
;   wins server = 10.0.0.5
    dns proxy = no
    unix password sync = yes
    encrypt passwords = no
    map to guest = never
    password level = 0
    null passwords = no
    os level = 5
    preferred master = no
    domain master = no
    wins support = no
    dead time = 0
    debug level = 1
#    debug level = 0

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no
  create mask = 777
  directory mask = 777

#shared mem size = 2097152
locking = yes
oplocks = no
oplock break wait time = 30
oplock contention limit = 2

#============================ Share Definitions
==============================
[homes]
    comment = Home Directories
    path = /export/home/%u
    browseable = no
    writable = yes
    force create mode = 0664
    force directory mode = 0777
    create mask = 0644

[sys]
    comment = Resource Data
    path = /realdata
    browseable = yes
    writable = yes
    public = yes
    force create mode = 0777
    force directory mode = 0777


[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    public = yes
    guest ok = no
    writable = no
    printable = yes


Just today, I set the oplocks = no.  It had been oplocks = yes.


Any insight to this problem will be GREATLY appreciated.

John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jkimb.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: Card for jkimb
Url : http://lists.samba.org/archive/samba-technical/attachments/20010523/f28878f5/jkimb.vcf


More information about the samba-technical mailing list