FW: [Samba]DOS app won't run off a Samba drive!

Greg Conway greg at gmlnt.com
Mon Jan 28 19:33:04 GMT 2002


My apologies, I totally forget these even exist! Hope they make some sense
to you...

There are three log files that are touched by the op. The first machine to
access the app (successfully) - not included here. Then the second machine,
that which fails! and the main smbd log.

I presume this is the error here, taken from samba.jane.log:

[2002/01/29 03:15:01, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/REPOFORM.CFS read=Yes write=No (numopen=11)
[2002/01/29 03:15:01, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/CONFIGUR.CFS (numopen=10)
[2002/01/29 03:15:46, 0] lib/util_sock.c:read_socket_data(478)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2002/01/29 03:15:46, 2] smbd/server.c:exit_server(448)
  Closing connections
[2002/01/29 03:15:46, 1] smbd/service.c:close_cnum(644)
  jane (192.168.50.211) closed connection to service data



Here is the samba.log.smbd file:

[2002/01/29 03:14:52, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.50.211)
[2002/01/29 03:14:52, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=GREGLUX          name2=JANE
[2002/01/29 03:14:52, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=greglux remote=jane


Here is the full log for the machine (jane) on which the error occurs:

[root at greglux logs]# more samba.log.jane
[2002/01/29 03:14:52, 0] smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust account password for domain
GMLNT
[2002/01/29 03:14:52, 2] smbd/reply.c:reply_sesssetup_and_X(990)
  Defaulting to Lanman password for greg
[2002/01/29 03:14:52, 1] lib/util_sock.c:get_socket_name(1001)
  Gethostbyaddr failed for 192.168.50.211
[2002/01/29 03:14:52, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.50.211)
[2002/01/29 03:14:52, 1] smbd/service.c:make_connection(606)
  jane (192.168.50.211) connect to service data as user greg (uid=500,
gid=501) (pid 2390)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/DE16M.EXE read=Yes write=No (numopen=1)
[2002/01/29 03:14:52, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/DE16M.EXE (numopen=0)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/DE16M.EXE read=Yes write=No (numopen=1)
[2002/01/29 03:14:52, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/DE16M.EXE (numopen=0)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/DE16M.EXE read=Yes write=No (numopen=1)
[2002/01/29 03:14:52, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/DE16M.EXE (numopen=0)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/DE16M.EXE read=Yes write=No (numopen=1)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/MASTER.INI read=Yes write=No (numopen=2)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/CONFIGUR.DAT read=Yes write=No (numopen=3)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/DEMESSAG.MSG read=Yes write=No (numopen=4)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/DEMESSAG.DAT read=Yes write=No (numopen=5)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/ZTERMDEF.DBZ read=Yes write=No (numopen=6)
[2002/01/29 03:14:52, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/RDRRPAAA.DBM read=Yes write=No
(numopen=7)
[2002/01/29 03:14:52, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/RDRRPAAA.DBM (numopen=6)
[2002/01/29 03:14:59, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/RDRRPAAA.DBM read=Yes write=Yes
(numopen=7)
[2002/01/29 03:14:59, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/RDRRFORM.TDS read=Yes write=No (numopen=8)
[2002/01/29 03:14:59, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/RDRRFORM.CFS read=Yes write=No (numopen=9)
[2002/01/29 03:14:59, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/RDRSPAAA.DBM read=Yes write=No
(numopen=10)
[2002/01/29 03:14:59, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/USERPAAA.DBM read=Yes write=Yes
(numopen=11)
[2002/01/29 03:14:59, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/USERFORM.TDS read=Yes write=No (numopen=12)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/DE16M.EXE (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/MASTER.INI (numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/USERFORM.CFS read=Yes write=No (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/CONFIGUR.DAT (numopen=10)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/DEMESSAG.DAT (numopen=9)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/MENUPAAA.DBM read=Yes write=Yes
(numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/MENUFORM.TDS read=Yes write=No (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/ZTERMDEF.DBZ (numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/MENUFORM.CFS read=Yes write=No (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/RDRRFORM.TDS (numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/REPOPAAA.DBM read=Yes write=Yes
(numopen=11)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/REPOFORM.TDS read=Yes write=No (numopen=12)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/RDRRFORM.CFS (numopen=11)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/REPOFORM.CFS read=Yes write=No (numopen=12)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/RDRSPAAA.DBM (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/REPOPAAA.DBM (numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/PRINTERS.DAT read=Yes write=No (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/PRINTERS.DAT (numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/PRINTERS.DAT read=Yes write=Yes (numopen=11)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/PRINTERS.TDS read=Yes write=No (numopen=12)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/USERFORM.TDS (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/USERFORM.CFS (numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/PRINTERS.CFS read=Yes write=No (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/USERPAAA.DBM (numopen=10)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/PRINTERS.DAT (numopen=9)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/CONFPAAA.DBM read=Yes write=Yes
(numopen=10)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/CONFIGUR.TDS read=Yes write=No (numopen=11)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/MENUFORM.TDS (numopen=10)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/MENUFORM.CFS (numopen=9)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/CONFIGUR.CFS read=Yes write=No (numopen=10)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/MENUPAAA.DBM (numopen=9)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/CONFIGUR.DAT read=Yes write=No (numopen=10)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/REPOFORM.TDS (numopen=9)
[2002/01/29 03:15:00, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/PRINTERS.DAT read=Yes write=Yes (numopen=10)
[2002/01/29 03:15:00, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/REPOFORM.CFS (numopen=9)
[2002/01/29 03:15:01, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/Pyrkes/REPOPAAA.DBM read=Yes write=Yes
(numopen=10)
[2002/01/29 03:15:01, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/REPOFORM.TDS read=Yes write=No (numopen=11)
[2002/01/29 03:15:01, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/CONFIGUR.TDS (numopen=10)
[2002/01/29 03:15:01, 2] smbd/open.c:open_file(213)
  GREG opened file dease516/REPOFORM.CFS read=Yes write=No (numopen=11)
[2002/01/29 03:15:01, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/CONFIGUR.CFS (numopen=10)
[2002/01/29 03:15:46, 0] lib/util_sock.c:read_socket_data(478)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2002/01/29 03:15:46, 2] smbd/server.c:exit_server(448)
  Closing connections
[2002/01/29 03:15:46, 1] smbd/service.c:close_cnum(644)
  jane (192.168.50.211) closed connection to service data
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/REPOFORM.CFS (numopen=9)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/REPOFORM.TDS (numopen=8)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/REPOPAAA.DBM (numopen=7)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/PRINTERS.DAT (numopen=6)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/CONFIGUR.DAT (numopen=5)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/CONFPAAA.DBM (numopen=4)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/PRINTERS.CFS (numopen=3)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/PRINTERS.TDS (numopen=2)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/Pyrkes/RDRRPAAA.DBM (numopen=1)
[2002/01/29 03:15:46, 2] smbd/close.c:close_normal_file(203)
  greg closed file dease516/DEMESSAG.MSG (numopen=0)
[root at greglux logs]#

Many thanks for the interest so far!

Regards,

Greg.

> -----Original Message-----
> From: Sanjiv Bawa [mailto:sbawa at tabmaster.com]
> Sent: 29 January 2002 02:18
> To: Greg Conway; Samba
> Subject: RE: [Samba]DOS app won't run off a Samba drive!
>
>
> Can you post the samba messages is /var/log/messages when this happens?
>
> Thanks.
>
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Greg Conway
> Sent: Monday, January 28, 2002 8:04 PM
> To: Samba
> Subject: [Samba]DOS app won't run off a Samba drive!
>
>
> Hi all,
>
> I've got this very strange occurence....
>
> A client has a Linux Samba Server - RedHat 7.1, Samba 2.2.1a. It is
> fileserving in place of an NT Server, providing networked drives to a
> network of only 3 client PC's - all Windows 98.
>
> They currently have three networked DOS apps running off this Server, all
> multi-user, all with no problems.
>
> However, when I added another in today, I got a shock!
>
> The first user can log into the App. When the second user tries
> to login in,
> the Win98 client pauses for a while, then comes back with "unknown disc
> error on drive Z:" (that being the mapped drive).
>
> If I moved the Server files to a network drive housed on a Windows PC,
> multiple users can log in okay! So the problem is with the Samba networked
> drive.
>
> I have bought the client's files back home, and have been reproducing the
> problem here. It turns out that using Windows 2000 Pro multiple users can
> run the app as required - so the problem occurs just on Windows 98.
>
> Has anybody ever experienced this before? Can anybody help?
>
> My SMB.CONF is included below, many many thanks for any help received!
>
> Regards,
>
> Greg Conway.
>
>
> smb.conf:
>
> [global]
>
>         workgroup = DEMO
>         netbios name = DEMOLUX
> #       netbios aliases = GMLFAXALIAS1 GMLFAXALIAS2
>         server string = DEMOLUX SAMBA %v on %L
>
>         security = domain
>         encrypt passwords = Yes
> #       unix password sync = no
>         smb passwd file = /etc/samba/smbpasswd
>
>         log file = /usr/local/logs/samba.log.%m
>         max log size = 1000
>         log level = 2
>         interfaces = 192.168.150.23 127.0.0.1
>         bind interfaces only = yes
>         socket address = 192.168.150.23
>         hosts allow = 192.168.150. 127.
> #               EXCEPT 192.168.150.1
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> #               IPTOS_LOWDELAY
> #               SO_BROADCAST
>
>         load printers = no
>
>         add user script = /usr/sbin/adduser -n -g samba -c Machine -d
> /dev/null -s /bin/false %m$
>
>         logon path = \\DEMOLUX\profiles\%u
>         logon drive = U:
>         logon home = \\DEMOLUX\homes
>         logon script = login.bat
>
>         domain logons = Yes
>         os level = 64
>         preferred master = yes
>         domain master = true
>         local master = yes
>
>         dns proxy = no
>
>         wins support = yes
>         wins proxy = yes
> #       name resolve order = wins lmhosts hosts bcast
>
>         valid users = bill ben rod jane freddy
>
> #       map archive = true
> #       map system = true
> #       map hidden = true
>
> [homes]
>         browseable = no
>         read only = no
>
> [printers]
>         path = /var/spool/uucppublic    # maybe change this!
>         min print space = 2048          # maybe this should be in [global]
>         printable = Yes
>         browseable = no
> #       valid users = bill
>
> [profiles]
>         comment = DEMOLUX profiles drive
>         browseable = no
>         path = /export/samba/profiles
>         writeable = no
>         volume = DEMOLUX-PROFILES
>
> [config]
>         comment = DEMOLUX config drive
>         path = /export/samba/config
>         writeable = yes
>         volume = DEMOLUX-CONFIG
>
> [data]
>         comment = DEMOLUX data drive
>         path = /17gb/data
>         read only = No
>         volume = DEMOLUX-DATA
>
> [users]
>         browseable = yes
>         path = /export/samba/users
>         comment = user home directories
>         read only = no
>         volume = DEMOLUX-USERS
>
> [netlogon]
>         comment = DEMOLUX NETLOGON directory
>         browseable = no
>         path = /export/samba/netlogon
>         read only = no
>         volume = DEMOLUX-NETLOGON
>
> [install]
>         comment = DEMOLUX installation files drive
>         browseable = yes
>         path = /export/nobackup/install
>         volume = DEMOLUX-INSTALL
>         read only = no
>
>
>
>
> --
> +-----------------------------------+
> |  Greg Conway, Technical Director  |
> |    GML Networking Technologies    |
> +-----------------------------------+
>  Email/MSN:    mailto:greg at gmlnt.com
>  ICQ#:                     100219981
>  mobile tel.:   +44 (0) 7974 666 967
>  mobile fax:    +44 (0) 7970 087 935
>  Internet:      http://www.gmlnt.com
>  office tel.:   +44 (0) 1255 672 103
>  office fax:    +44 (0) 1255 679 909
> +-----------------------------------+
> | GMLNT ** Sensible Smart Solutions |
> +-----------------------------------+
>
> ***********************************************************************
> This is a confidential communication between sender and addressee. If you
> are not the intended recipient of this message, please notify the
> sender and
> do not read, copy, use or disclose this communication to others. Any
> opinions or views expressed are those of the individual, and unless
> otherwise stated, are not those of the company. All attachments and
> intellectual rights remain the property of GML (NT) Limited.
> ***********************************************************************
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

***********************************************************************
This is a confidential communication between sender and addressee. If you are not the intended recipient of this message, please notify the sender and do not read, copy, use or disclose this communication to others. Any opinions or views expressed are those of the individual, and unless otherwise stated, are not those of the company. All attachments and intellectual rights remain the property of GML (NT) Limited.
***********************************************************************




More information about the samba mailing list