[Samba] Problem to many connection
Epsilon Minus
theepsilonminus at gmail.com
Fri Apr 21 04:08:17 UTC 2017
2017-04-21 0:38 GMT-03:00 Epsilon Minus <theepsilonminus at gmail.com>:
>
>
> I'm desperate. My English is terrible, but I will try to be as clear as possible.
>
> I have Samba 4.4.4 in a Centos 7.
>
> I have many connections for each ip.
>
> The command smbstatus -b returns me infinity of these:
>
>
> Samba version 4.4.4
> PID Username Group Machine Protocol Version Encryption Signing
> ----------------------------------------------------------------------------------------------------------------------------------------
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 mmunarriz mmunarriz 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - partial(AES-128-CMAC)
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 - -
> 17739 nobody nobody 10.0.0.28 (ipv4:10.0.0.28:57631) SMB3_11 -
>
> And repeat to infinity.
>
> The smbd.log log:
>
> Ssing section "[Reception]"
> [2017/04/21 00: 34: 52.460998, 2] ../source3/param/loadparm.c:2688(lp_do_section)
> Processing section "[Systems]"
> [2017/04/21 00: 34: 52.461107, 2] ../source3/param/loadparm.c:2688(lp_do_section)
> Processing section "[files]"
> [2017/04/21 00: 34: 52.461236, 2] ../source3/param/loadparm.c:2688(lp_do_section)
> Processing section "[Public]"
> [2017/04/21 00: 34: 52.461395, 3] ../source3/param/loadparm.c:1588(lp_add_ipc)
> Adding IPC service
> [2017/04/21 00: 34: 52.462930, 2] ../source3/lib/interface.c:345(add_interface)
> Added interface virbr0 ip = 192.168.122.1 bcast = 192.168.122.255 netmask = 255.255.255.0
> [2017/04/21 00: 34: 52.462994, 2] ../source3/lib/interface.c:345(add_interface)
> Added interface enp4s0 ip = 10.0.0.99 bcast = 10.0.0.255 netmask = 255.255.255.0
> [2017/04/21 00: 34: 52.463058, 3] ../source3/smbd/server.c:1448(main)
> Loaded services
> [2017/04/21 00: 34: 52.465517, 1] ../source3/profile/profile.c:51(set_profile_level)
> INFO: Profiling turned OFF from pid 17701
> [2017/04/21 00: 34: 52.465579, 3] ../source3/smbd/server.c:1467(main)
> Standard input is not a socket, assuming -D option
> [2017/04/21 00: 34: 52.465607, 3] ../source3/smbd/server.c:1479(main)
> Becoming a daemon.
> [2017/04/21 00: 34: 52.467405, 2] ../source3/passdb/pdb_interface.c:160(make_pdb_method_name)
> No builtin backend found, trying to load plugin
> [2017/04/21 00: 34: 52.483328, 2] ../lib/util/modules.c:196(do_smb_load_module)
> Module 'tdbsam' loaded
> [2017/04/21 00: 34: 52.504892, 3] ../source3/auth/token_util.c:547(finalize_local_nt_token)
> Failed to fetch domain sid for IUBA
> [2017/04/21 00: 34: 52.504984, 3] ../source3/auth/token_util.c:579(finalize_local_nt_token)
> Failed to fetch domain sid for IUBA
> [2017/04/21 00: 34: 52.505915, 3] ../source3/rpc_server/svcctl/srv_svcctl_reg.c:565(svcctl_init_winreg)
> Initialise the registry keys if needed.
> [2017/04/21 00: 34: 52.508934, 3] ../source3/rpc_server/eventlog/srv_eventlog_reg.c:59(eventlog_init_winreg)
> Initialise the eventlog registry keys if needed.
> [2017/04/21 00: 34: 52.509418, 0] ../lib/util/become_daemon.c:124(daemon_ready)
> STATUS = daemon 'smbd' finished starting and ready to serve connections
> [2017/04/21 00: 34: 52.526014, 3] ../source3/printing/queue_process.c:335(start_background_queue)
> Start_background_queue: Starting LPQ thread background
> [2017/04/21 00: 34: 52.536757, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
> Failed to fetch record!
> [2017/04/21 00: 34: 52.536825, 2] ../source3/smbd/server.c:1125(smbd_parent_loop)
> Waiting for connections
> [2017/04/21 00: 34: 52.536786, 3] ../source3/printing/pcap.c:140(pcap_cache_reload)
>
>
>
> I've been with this for many hours and I can not find the problem. I'll be very greatful.
>
I have more logs..:
smbd_dirptr_get_entry mask=[*] found CGS/IUBA5.CDX fname=IUBA5.CDX (IUBA5.CDX)
[2017/04/21 01:06:20.291908, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/Actualización de
debitos.xls fname=Actualización de debitos.xls (Actualización de
debitos.xls)
[2017/04/21 01:06:20.291971, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/EMPRESA.CDX
fname=EMPRESA.CDX (EMPRESA.CDX)
[2017/04/21 01:06:20.292018, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/0022202.au3
fname=0022202.au3 (0022202.au3)
[2017/04/21 01:06:20.292063, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/GV fname=GV (GV)
[2017/04/21 01:06:20.292108, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/MUÑ.XLS fname=MUÑ.XLS (MUÑ.XLS)
[2017/04/21 01:06:20.292158, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/MUN.XLS fname=MUN.XLS (MUN.XLS)
[2017/04/21 01:06:20.292202, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/vpa.exe fname=vpa.exe (vpa.exe)
[2017/04/21 01:06:20.292246, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/vpc.exe fname=vpc.exe (vpc.exe)
[2017/04/21 01:06:20.292290, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/AB.ods fname=AB.ods (AB.ods)
[2017/04/21 01:06:20.292334, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/ST fname=ST (ST)
[2017/04/21 01:06:20.292378, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/SJ fname=SJ (SJ)
[2017/04/21 01:06:20.292422, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS/LITO.ods fname=LITO.ods (LITO.ods)
[2017/04/21 01:06:20.292496, 3]
../source3/smbd/smb2_server.c:3098(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[STATUS_NO_MORE_FILES] || at
../source3/smbd/smb2_query_directory.c:154
[2017/04/21 01:06:20.304837, 3]
../source3/smbd/smb2_server.c:3098(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at
../source3/smbd/smb2_create.c:293
[2017/04/21 01:06:20.312691, 2] ../source3/smbd/open.c:1006(open_file)
mmunarriz opened file CGS/upexe3.exe read=Yes write=No (numopen=7)
[2017/04/21 01:06:20.315317, 3]
../source3/smbd/smb2_read.c:413(smb2_read_complete)
smbd_smb2_read: fnum 3158341796, file CGS/upexe3.exe, length=12666
offset=0 read=12666
[2017/04/21 01:06:20.350757, 3]
../source3/smbd/nttrans.c:2033(smbd_do_query_security_desc)
smbd_do_query_security_desc: sd_size = 20.
[2017/04/21 01:06:20.351192, 3]
../source3/smbd/smb2_server.c:3098(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
status[NT_STATUS_ACCESS_DENIED] || at
../source3/smbd/smb2_getinfo.c:154
[2017/04/21 01:06:20.354577, 3] ../source3/smbd/dir.c:629(dptr_create)
creating new dirptr 0 for path ., expect_close = 0
[2017/04/21 01:06:20.354645, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found . fname=. (.)
[2017/04/21 01:06:20.354696, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found .. fname=.. (..)
[2017/04/21 01:06:20.354756, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found feafip fname=feafip (feafip)
[2017/04/21 01:06:20.354803, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found srvlocal fname=srvlocal (srvlocal)
[2017/04/21 01:06:20.354848, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found escaneos fname=escaneos (escaneos)
[2017/04/21 01:06:20.354893, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found CGS fname=CGS (CGS)
[2017/04/21 01:06:20.354939, 3]
../source3/smbd/dir.c:1188(smbd_dirptr_get_entry)
smbd_dirptr_get_entry mask=[*] found recetarios impresos
fname=recetarios impresos (recetarios impresos)
[2017/04/21 01:06:20.355001, 3]
../source3/smbd/smb2_server.c:3098(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5]
status[STATUS_NO_MORE_FILES] || at
../source3/smbd/smb2_query_directory.c:154
More information about the samba
mailing list