Displaying 20 results from an estimated 163 matches for "tcp_keepcnt".
2019 Nov 25
4
big share problem
...LAN:backend = ad
idmap config ENSIMLAN:schema_mode = rfc2307
idmap config ENSIMLAN:range = 10000-999999
idmap config ENSIMLAN:unix_nss_info = yes
acl allow execute always = yes
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15
unix extensions = no
[share_one]
path = /data/dir1/
read only = no
force create mode = 0600
force directory mode = 0700
follow symlinks = yes
wide links = yes
browseable = no
hide files = /desktop.ini/$RECYCLE.BIN/
[share_two]
path = /data/dir2/
browseable = no
read only = No...
2016 Apr 01
2
knit and smbclient executed with different users but no error thrown
...ening cache file at /usr/local/samba/var/lock/gencache_notrans.tdb
sitename_fetch: No stored sitename for TEST.LOCAL
name ADIR#20 found.
Connecting to 10.133.140.66 at port 445
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 0
SO_SNDBUF = 19800
SO_RCVBUF = 87380
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP...
2016 Nov 03
1
deadtime/keepalive not working as expected
...TCP keepalive's should
> detect the socket is down and thus shut off the servicing
> smbd. Check this by doing a wireshark capture and a
> debug level 10 on that smbd.
Is that still valid for SMB2? On Linux I always use socket options for
that these days:
socket options = TCP_NODELAY TCP_KEEPCNT=4 TCP_KEEPIDLE=240 TCP_KEEPINTVL=15
Volker
2017 Mar 13
1
Any risks of modifying tcp_keepidle etc params?
...folks
Recently, I find that the number of the smbd connections may increase if the network is abnormal. And the repeated connections will exist for a long time (which is not accepted for me)
So, I modify the following params and shorten the existing time of those repeated connections:
TCP_KEEPCNT 3
TCP_KEEPIDLE 60
TCP_KEEPINTVL 15
My concern is that:
Are there any risks of modifying above params to those values?
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送...
2019 Feb 14
2
Automaticaly unlock files
Hi all,
I've been looking for an answer for this issue but Google didn't help. So I
resource to the next best thing: the Samba mailing list.
Question: Is there a way to automaticaly, after a certain amount of time,
unlock a file after, for example, a client crash or network problem?
I know how to do it manually of course, but that is, well, cumbersome.
I've looked at
2019 Feb 14
1
Automaticaly unlock files
...u, Feb 14, 2019 at 12:37:20AM +0000, Carlos Jesus via samba wrote:
> > Question: Is there a way to automaticaly, after a certain amount of time,
> > unlock a file after, for example, a client crash or network problem?
>
> Try
>
> socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4
> TCP_KEEPINTVL=15
>
> which should remove the connection after 5 minutes. See "man 7 tcp"
> for the meaning of those values.
>
> Volker
>
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: 0551-370000-0, mailto:kontakt at sernet.de
> Gesch.F...
2011 Oct 29
0
samba 3.5.6 & win2k8 r2, session request fails
...8:02.876908, 3] lib/util_sock.c:979(open_socket_out_send)
Connecting to 172.16.0.200 at port 139
[2011/10/29 10:38:02.877069, 5] lib/util_sock.c:304(print_socket_options)
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 16384
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
[2011/10/29...
2018 Sep 27
1
smbd process don't auto close
...the smbd process not auto quit? If so, when I have many connections, my server can’t afford definitely. I find an answer to set auto close connection in http://www.spectrumscale.org/pipermail/gpfsug-discuss/2017-October/003975.html, the parameter:
deadtime=10
and TCP level:
TCP_NODELAY SO_KEEPALIVE TCP_KEEPCNT=4 TCP_KEEPIDLE=240 TCP_KEEPINTVL=15
But I didn’t find any description about these parameters. So I want to ask which is the right way to prevent this issue? And what is the effect?
2020 Mar 16
2
Winbind does not show all groups of all users
...winbind enum users
= No winbind enum groups = No wide links =
Yes unix extensions = No
bind interfaces only = yes interfaces = 127.0.0.1,
172.16.0.2 ntlm auth = yes template shell = /bin/bash
socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4
TCP_KEEPINTVL=15
For examle the user sta is member of the group 10A:ldbsearch -H
/var/lib/samba/private/sam.ldb CN=10A | grep stainstanceType: 4member:
CN=sta,OU=teachers,DC=xxxxx,DC=lokal
ldbsearch -H /var/lib/samba/private/sam.ldb CN=sta | grep 10AmemberOf:
CN=10A,CN=Users,DC=xxxxx,DC=lokal
But...
2024 Apr 24
1
domain join becomes invalid every 24h
...fig WORKGROUP : range = 500-1000000
idmap config WORKGROUP : unix_nss_info = yes
idmap config WORKGROUP : unix_primary_group = yes
idmap config WORKGROUP : schema_mode = rfc2307
reset on zero vc = yes
socket options = TCP_NODELAY SO_KEEPALIVE TCP_KEEPIDLE=30
TCP_KEEPCNT=3 TCP_KEEPINTVL=3
disable spoolss = yes
>
> Rowland
>
> PS there really wasn't much point in sanitising the realm in the
> fileserver and not in the DC, also what happened to the 'workgroup'
> line ?
Oups... I guess it's too late now.
Here a more complete...
2017 Aug 25
2
Cannot login to Samba server remotely
...1:<none> 2:<none> 3:<none>
[2017/08/25 15:44:12.256376, 5, pid=24534, effective(0, 0), real(0, 0)]
../lib/util/util_net.c:1057(print_socket_options)
Socket options:
SO_KEEPALIVE = 8
SO_REUSEADDR = 4
SO_BROADCAST = 0
TCP_NODELAY = 4
TCP_KEEPCNT = 0
TCP_KEEPIDLE = 0
TCP_KEEPINTVL = 0
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 512
SO_SNDBUF = 34000
SO_RCVBUF = 66640
SO_SNDLOWAT = 2048
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0...
2017 Aug 15
2
cannot join windows 7 samba4-ad-dc fresh install, get NT_STATUS_INTERNAL_ERROR
...le at /var/run/samba/gencache_notrans.tdb
sitename_fetch: No stored sitename for realm 'RONA.LOC'
name sambadc.rona.loc#20 found.
Connecting to 192.168.19.2 at port 445
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 0
SO_SNDBUF = 2626560
SO_RCVBUF = 1061808
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
Could not test socket option SO_SNDTIMEO....
2017 Mar 30
1
winbind requires restart after boot
...log file = /var/log/samba/%m.log
load printers = No
server max protocol = SMB2
unix extensions = No
client ipc signing = required
client signing = required
security = ADS
server signing = if_required
socket options = TCP_NODELAY TCP_KEEPCNT=4 TCP_KEEPIDLE=240
TCP_KEEPINTVL=15
template shell = /bin/bash
winbind use default domain = Yes
rpc_daemon:spoolssd = fork
rpc_server:spoolss = external
idmap config campus : base_rid = 0
idmap config campus : range = 10000-10000000
idmap conf...
2020 Jan 07
1
ACL inheritance not working as expected.
...S's
strict allocate = yes
smbd profiling level 1
min receivefile size = 16384
use sendfile = yes
server min protocol = SMB2
write cache size = 65536
#For 4 minutes to release lock (Outlook remember?)
socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15
load printers = no
printcap name = /dev/null
[Tecnico]
comment = Departamento Tecnico
writeable = yes
path = /mnt/disco2/Users/Tecnico
vfs objects = full_audit
full_audit:prefix = %u|%I
full_audit:failure = none...
2016 Apr 04
0
knit and smbclient executed with different users but no error thrown
.../gencache_notrans.tdb
> sitename_fetch: No stored sitename for TEST.LOCAL
> name ADIR#20 found.
> Connecting to 10.133.140.66 at port 445
> Socket options:
> SO_KEEPALIVE = 0
> SO_REUSEADDR = 0
> SO_BROADCAST = 0
> TCP_NODELAY = 1
> TCP_KEEPCNT = 9
> TCP_KEEPIDLE = 7200
> TCP_KEEPINTVL = 75
> IPTOS_LOWDELAY = 0
> IPTOS_THROUGHPUT = 0
> SO_REUSEPORT = 0
> SO_SNDBUF = 19800
> SO_RCVBUF = 87380
> SO_SNDLOWAT = 1
> SO_RCVLOWAT = 1
> S...
2023 Aug 29
1
GlusterFS, move files, Samba ACL...
...obal]
log file = /var/log/samba/log.%M
map to guest = Bad User
netbios aliases = CUPSSV FILESV HOMESV
ntlm auth = mschapv2-and-ntlmv2-only
panic action = /usr/share/samba/panic-action %d
printcap name = cups
realm = AD.FVG.LNF.IT
security = ADS
socket options = TCP_NODELAY TCP_KEEPIDLE=240 TCP_KEEPCNT=4 TCP_KEEPINTVL=15
syslog = 0
username map = /etc/samba/user.map
usershare max shares = 0
winbind offline logon = Yes
winbind use default domain = Yes
wins support = Yes
workgroup = LNFFVG
spoolss: architecture = Windows x64
rpc_daemon:spoolssd = fork
rpc_server:spoolss = external
idmap...
2019 Sep 24
6
Windows 10 temporary profile error, when domain remote profile directory exists and is empty
Hello,
The below happens with Samba 4.7.* (didn't checked with other Samba 4
versions):
Setup: Samba 4.7.* AD, two domain controllers, 'computer A' and
'computer B' are Windows 10 domain members.
1. A user (login 'username') logs in into domain for the first time, on
a 'computer A'.
Samba DC doesn't find existing profile directory and creates an empty
2015 May 31
1
unable to join a SAMBA linux box to MSWindows 2012 AD
....
name fask#1B found.
namecache_status_fetch: key NBT/fask#1B.20.192.168.1.218 ->
fask-SERVER01
Connecting to host=fask-SERVER01
Connecting to 192.168.1.218 at port 445
Connecting to 192.168.1.218 at port 139
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 16384
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
Substituting charset 'UTF-8' for LOCALE
Bind RPC Pipe: host fask-SERVER01 auth_t...
2012 Jun 27
2
WINS doesn't work on some ip addresses in multihome setup
...erpret_interface: using netmask value 24 from config file on
interface tun0
not adding non-broadcast interface tun0
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 1
SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 124928
SO_RCVBUF = 124928
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0...
2014 Jul 08
1
Homes shares randomly dissapear on AD-DC'S
...rectory domain controller
idmap_ldb:use rfc2307 = yes
dns forwarder = 192.168.160.200
template shell = /bin/bash
log level = 3
wins support = Yes
deadtime = 10
socket options = TCP_NODELAY SO_KEEPALIVE TCP_KEEPIDLE=120
TCP_KEEPINTVL=10 TCP_KEEPCNT=5
ea support = yes
store dos attributes = yes
map readonly = no
map archive = no
map system = no
map hidden = no
strict allocate = yes
acl allow execute always = yes
vfs objects = dfs_samba4, acl_xattr, aio_pthread...