[Samba] dos application - Samba
This is a discussion on [Samba] dos application - Samba ; Hi,
By few months I have some troubles with a network dos application.
Precisely application, randomly, get errors referring to access denied
to any shared files or path not found and crash.
I would ask you what kind of parameters ...
-
[Samba] dos application
Hi,
By few months I have some troubles with a network dos application.
Precisely application, randomly, get errors referring to access denied
to any shared files or path not found and crash.
I would ask you what kind of parameters I have to set in my "smb.conf"
file (Samba v. 3.0.24), to make it more compatible with DOS 6.22.
Many thanks.
Marco.
Marco Meli (IT Dept.)
GKN SINTER METALS
Via Verdi, 82
Cernusco S/N I-20063 (MI) - Italy
Tel: +39 02 929051 (452) (252)
Fax: +39 02 9230690
Email: marco.meli@gknsintermetals.com
P Before printing, think about the Environment
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: [Samba] dos application
Hallo, Meli,
Du (Marco.Meli) meintest am 22.05.08:
> By few months I have some troubles with a network dos application.
> Precisely application, randomly, get errors referring to access
> denied to any shared files or path not found and crash.
Sounds like an "oplock" problem - I prefer setting all "oplock" options
to "no".
> I would ask you what kind of parameters I have to set in my
> "smb.conf" file (Samba v. 3.0.24), to make it more compatible with
> DOS 6.22.
You should update to 3.0.28a - the versions from 3.0.23 to 3.0.27 have
made some problems with "oplocks".
Viele Gruesse!
Helmut
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: [Samba] dos application
On Thu, May 22, 2008 at 10:22:46AM +0200, Meli Marco wrote:
> Hi,
>
> By few months I have some troubles with a network dos application.
> Precisely application, randomly, get errors referring to access denied
> to any shared files or path not found and crash.
>
> I would ask you what kind of parameters I have to set in my "smb.conf"
> file (Samba v. 3.0.24), to make it more compatible with DOS 6.22.
I'm not aware of anything in particular. Can you send your
smb.conf debug logs?
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFINTgFUzqjrWwMRl0RAoeKAJ9WRGdj8uXJp3RoX4z+LY Lhc2ymoQCgg/tF
PyezKxYN6ca2xjoU509MhvY=
=Qoqp
-----END PGP SIGNATURE-----
-
Re: [Samba] dos application
On Thu, May 22, 2008 at 10:41:00AM +0200, Helmut Hullen wrote:
> Hallo, Meli,
>
> Du (Marco.Meli) meintest am 22.05.08:
>
> > By few months I have some troubles with a network dos application.
> > Precisely application, randomly, get errors referring to access
> > denied to any shared files or path not found and crash.
>
> Sounds like an "oplock" problem - I prefer setting all "oplock" options
> to "no".
Just to make sure: Generally disabling oplocks is not what I
would recommend.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFINULnUzqjrWwMRl0RAsxKAJ4vyM/GXE1zwoAz+qaoT+GCUeCd2wCfZKQz
GFnjzpiL/zScpiN7lvDUbuk=
=umvr
-----END PGP SIGNATURE-----
-
Re: [Samba] dos application
Hallo, Volker,
Du (Volker.Lendecke) meintest am 22.05.08:
>>> By few months I have some troubles with a network dos application.
>>> Precisely application, randomly, get errors referring to access
>>> denied to any shared files or path not found and crash.
>> Sounds like an "oplock" problem - I prefer setting all "oplock"
>> options to "no".
> Just to make sure: Generally disabling oplocks is not what I
> would recommend.
May be - I'm maintaining a school server which runs in some thousand
schools, and disabling all oplocks is the most helpful way to avoid
blocking the samba system (which most times needs a server restart to
run again).
If you have a better way: no problem to change to this way.
------------------
Samba 3.0.22 had few such problems (but not zero problems), and Samba
3.0.28x seems to have few such problems too.
A colleague has developped a simple test mechanism: the (german) play
"digdogs.exe" (a DOS game), lying on the server and run from many
clients. If "oplock" is not set to "no" 10 clients can stop the server.
http://helmut.hullen.de/filebox/spiele/
Viele Gruesse!
Helmut
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: [Samba] dos application
Hallo!
On Thu, May 22, 2008 at 12:12:00PM +0200, Helmut Hullen wrote:
> A colleague has developped a simple test mechanism: the (german) play
> "digdogs.exe" (a DOS game), lying on the server and run from many
> clients. If "oplock" is not set to "no" 10 clients can stop the server.
>
> http://helmut.hullen.de/filebox/spiele/
If you can reproduce this, any chance you send in logfiles
of a failure?
debug pid = yes
debug level = 10
debug hires timestamp = yes
max log size = 0
... together with a sniff?
This is a bug that definitely needs to be fixed. And I don't
have the environment right now with 10 or more clients, a
classroom full of PCs would make this a lot easier :-)
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFINU/0UzqjrWwMRl0RArzUAJ9SQufcw5yqrpnNOzGNzfMaSoqLXwCfZ uOw
5Q9H9WuX+3EJkt/xmKViUig=
=pcBC
-----END PGP SIGNATURE-----
-
Re: [Samba] dos application
Hallo, Volker,
Du (Volker.Lendecke) meintest am 22.05.08:
>> A colleague has developped a simple test mechanism: the (german)
>> play "digdogs.exe" (a DOS game), lying on the server and run from
>> many clients. If "oplock" is not set to "no" 10 clients can stop the
>> server.
>>
>> http://helmut.hullen.de/filebox/spiele/
> If you can reproduce this, any chance you send in logfiles
> of a failure?
Not simple - sorry.
The schools I'm looking for all have set "* oplock = no", and they have
3.0.28 or 3.0.28a.
Maybe I can use one more special school, but I can't do the work within
a short time.
> debug pid = yes
> debug level = 10
> debug hires timestamp = yes
> max log size = 0
> ... together with a sniff?
> This is a bug that definitely needs to be fixed. And I don't
> have the environment right now with 10 or more clients, a
> classroom full of PCs would make this a lot easier :-)
Just wait some days.
Viele Gruesse!
Helmut
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
R: [Samba] dos application
Hi,
Below I've reported the debug logs and smb.conf.
Could be something referred to SOCKET OPTIONS settings?
Many thanks.
Logs:
tail -n 100 log.00005a12c17c
[2008/04/14 06:05:24, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 16193)
[2008/04/14 06:05:24, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 16193)
[2008/04/24 21:20:04, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 10.90.19.64. Error = No
route to host
[2008/04/24 21:20:04, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/24 21:20:04, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/24 21:36:09, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 10315)
[2008/04/24 21:36:09, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 10315)
[2008/04/28 23:56:49, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/28 23:56:49, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/28 23:56:55, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 4960)
[2008/04/28 23:56:55, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 4960)
[2008/04/29 00:00:47, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:00:47, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:06:39, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 5022)
[2008/04/29 00:06:39, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 5022)
[2008/04/29 00:06:46, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:06:46, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:06:52, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 5023)
[2008/04/29 00:06:52, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 5023)
[2008/04/29 00:11:26, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 5071)
[2008/04/29 00:11:26, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 5071)
[2008/04/29 00:12:25, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 10.90.19.64. Error =
Connection reset by peer
[2008/04/29 00:12:25, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:12:25, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:19:23, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:19:23, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/29 00:19:28, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 5128)
[2008/04/29 00:19:28, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 5128)
[2008/04/30 09:45:08, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/30 09:45:08, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/04/30 09:45:11, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 19663)
[2008/04/30 09:45:11, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 19663)
[2008/05/05 10:31:30, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 21669)
[2008/05/05 10:31:30, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 21669)
[2008/05/05 10:31:54, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 10.90.19.64. Error =
Connection reset by peer
[2008/05/05 10:31:54, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/05 10:31:54, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/05 11:03:54, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 22081)
[2008/05/05 11:03:54, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 22081)
[2008/05/05 11:06:34, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 10.90.19.64. Error =
Connection reset by peer
[2008/05/05 11:06:34, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/05 11:06:34, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/16 12:04:07, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/16 12:04:07, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/16 12:13:01, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 24030)
[2008/05/16 12:13:01, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/diskless (uid=15751, gid=10000) (pid 24030)
[2008/05/16 12:13:05, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/16 12:13:05, 1] smbd/service.c:close_cnum(1150)
00005a12c17c (10.90.19.64) closed connection to service data
[2008/05/16 12:13:07, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 24031)
[2008/05/16 12:13:07, 1] smbd/service.c:make_connection_snum(950)
00005a12c17c (10.90.19.64) connect to service data initially as user
GKNSMI/term (uid=15744, gid=10000) (pid 24031)
SMB.CONF:
[global]
netbios name =
wins server =
unix charset = LOCALE
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
workgroup =
realm =
security = ADS
password server =
encrypt passwords = yes
allow trusted domains = Yes
winbind use default domain = Yes
winbind separator = /
winbind enum users = Yes
winbind enum groups = yes
idmap uid = 10000-100000
idmap gid = 10000-100000
hide unreadable = Yes
template shell = /bin/false
use sendfile = No
admin users =
log file = /var/log/samba/log.%m
log level = 1
max log size = 50
printing = cups
printcap name = cups
load printers = Yes
map acl inherit = Yes
nt acl support = Yes
client schannel = No
[data]
comment = %D Share
path = /data
read only = No
create mask = 0775
security mask = 0777
force security mode = 0
directory mask = 0775
directory security mask = 0777
force directory security mode = 0
dos filetimes = Yes
valid users =
-----Messaggio originale-----
Da: Volker Lendecke [mailto:Volker.Lendecke@SerNet.DE]
Inviato: 22 May 2008 11:08
A: Meli Marco
Cc: samba@lists.samba.org
Oggetto: Re: [Samba] dos application
On Thu, May 22, 2008 at 10:22:46AM +0200, Meli Marco wrote:
> Hi,
>
> By few months I have some troubles with a network dos application.
> Precisely application, randomly, get errors referring to access denied
> to any shared files or path not found and crash.
>
> I would ask you what kind of parameters I have to set in my "smb.conf"
> file (Samba v. 3.0.24), to make it more compatible with DOS 6.22.
I'm not aware of anything in particular. Can you send your
smb.conf debug logs?
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: R: [Samba] dos application
On Thu, May 22, 2008 at 04:29:36PM +0200, Meli Marco wrote:
> Below I've reported the debug logs and smb.conf.
> Could be something referred to SOCKET OPTIONS settings?
> Many thanks.
Oh, sorry. By debug logs I meant debug level 10 logs of smbd
leading to that error.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFINYeAUzqjrWwMRl0RAmNZAJ9oWcMz27aXuRlNvAjNLG NVeAGKAgCeIrP/
6NwbQkgeng8ghSfv249tVWc=
=ji1y
-----END PGP SIGNATURE-----
-
R: R: [Samba] dos application
Ok, I've set log level = 10.
I've to restart smb and winbind?
Thanks.
Marco.
-----Messaggio originale-----
Da: Volker Lendecke [mailto:Volker.Lendecke@SerNet.DE]
Inviato: 22 May 2008 16:47
A: Meli Marco
Cc: samba@lists.samba.org
Oggetto: Re: R: [Samba] dos application
On Thu, May 22, 2008 at 04:29:36PM +0200, Meli Marco wrote:
> Below I've reported the debug logs and smb.conf.
> Could be something referred to SOCKET OPTIONS settings?
> Many thanks.
Oh, sorry. By debug logs I meant debug level 10 logs of smbd
leading to that error.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: R: R: [Samba] dos application
On Thu, May 22, 2008 at 04:58:32PM +0200, Meli Marco wrote:
> Ok, I've set log level = 10.
> I've to restart smb and winbind?
Yes, please.
Please also set max log size large enough so that the
logfiles are not rotated away.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFINYsPUzqjrWwMRl0RApH2AJwNegIeVt8NNaIsewUN1D az1mYXaACfZf40
3de5ER/mLfCbjqMRlQOA6xw=
=hR7n
-----END PGP SIGNATURE-----
-
RE: R: R: [Samba] dos application
> -----Original Message-----
> From: samba-bounces+jdinkel=bucoks.com@lists.samba.org [mailto:samba-
> bounces+jdinkel=bucoks.com@lists.samba.org] On Behalf Of Volker
Lendecke
> Sent: Thursday, May 22, 2008 10:03 AM
> To: Meli Marco
> Cc: samba@lists.samba.org
> Subject: Re: R: R: [Samba] dos application
>
> On Thu, May 22, 2008 at 04:58:32PM +0200, Meli Marco wrote:
> > Ok, I've set log level = 10.
> > I've to restart smb and winbind?
>
> Yes, please.
>
> Please also set max log size large enough so that the
> logfiles are not rotated away.
>
> Volker
Shouldn't he be able to just do "sudo smbcontrol smb reload-config" ?
James
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
R: R: R: [Samba] dos application
Hi Volker,
Could I send the log files? It's happen again this morning.
Thanks.
Marco.
-----Messaggio originale-----
Da: Volker Lendecke [mailto:Volker.Lendecke@SerNet.DE]
Inviato: 22 May 2008 17:03
A: Meli Marco
Cc: samba@lists.samba.org
Oggetto: Re: R: R: [Samba] dos application
On Thu, May 22, 2008 at 04:58:32PM +0200, Meli Marco wrote:
> Ok, I've set log level = 10.
> I've to restart smb and winbind?
Yes, please.
Please also set max log size large enough so that the
logfiles are not rotated away.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: R: R: R: [Samba] dos application
On Mon, May 26, 2008 at 08:56:39AM +0200, Meli Marco wrote:
> Could I send the log files? It's happen again this morning.
Please file a bug report at https://bugzilla.samba.org/ and
upload the logfiles there. Then it's available for review by
everyone.
Thanks,
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFIOmv/UzqjrWwMRl0RAroUAJ0bd2YjlKVTVMKGpuSNei/q8wr9jgCfUc8t
u1jHCeWF5a0ohRpDZuw7a9s=
=v/U0
-----END PGP SIGNATURE-----