[Samba] diconnections when using roaming-profiles with samba4
bugblatterbeast
samba at bugblatterbeast.de
Fri Sep 5 13:04:22 MDT 2014
Hello Chan Min Wai,
feel free to ask, if you need more information.
Our problem was, that our workstations lost their network-connection for
a few seconds at irregular intervals. This did not happen simultaneously
and some workstations were more affected than others. At first I thought
the problem was related to samba. It was almost unnoticeable, when you
were working on a local account but it was sometimes quite annoying when
you were using a roaming profile, since windows doesn't react very well
on those short interrupts.
It took me quite some time and effort to relate it to dhcp-delays. I
never bothered to change the default-values of bind and I was quite
surprised, to find this in the /etc/named.conf file:
default-lease-time 600;
max-lease-time 7200;
I've changed the values to:
default-lease-time 43200;
max-lease-time 172800;
12 hours as default lease-time and 48 hours max. That solved the problem
for us.
Nice regards, bbb
Am 05.09.2014 14:39, schrieb Chan Min Wai:
> Hello,
>
> Can help to explain more about this.
> I do have a similar issue which I've not idea what caused it until now.
>
> Thank you.
>
> Regards,
> Chan Min Wai
>
>> bugblatterbeast <samba at bugblatterbeast.de> 於 05/09/2014 1:26 PG 寫道:
>>
>> Hello,
>>
>> this message is just FYI. We're using samba4 with bind9 on ubuntu-server-edition with roaming-profiles. We had to deal with unpredictable disconnections, that were most noticeable by the sudden dissapearance of all desktop-icons and often also led to the loss of edited data. The problem turned out, to be caused by dhcp-negotiation-delays due to heavy network traffic. Perhaps this is already common knowledge, but I'd recommend anybody to try increasing bind's default lease-time if facing the same problem. The default value of 10 minutes is quite short. We were able to get rid of the problem by setting it to 12 hours.
>>
>> Nice regards, bbb
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list