R: [Samba] dos application

Meli Marco Marco.Meli at gknsintermetals.com
Thu May 22 14:29:36 GMT 2008


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 at SerNet.DE] 
Inviato: 22 May 2008 11:08
A: Meli Marco
Cc: samba at 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


More information about the samba mailing list