Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-26 Thread Andrew Bartlett
On Mon, 2013-06-24 at 15:26 +, philippe.simo...@swisscom.com wrote: Hi Andrew, and by putting more num-callers : valgrind --num-callers=50 samba -i -M single Thanks for getting me that. I've managed to reproduce it here, but not under valgrind, and only when I hack the code to force a

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-24 Thread Philippe.Simonet
- From: Andrew Bartlett [mailto:abart...@samba.org] Sent: Saturday, June 22, 2013 9:09 AM To: Simonet Philippe, ITS-OUS-OP-IFM-NW-IPE Cc: sa...@samba.org; samba-techni...@samba.org Subject: Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-24 Thread Michael Wood
Cc: sa...@samba.org; samba-techni...@samba.org Subject: Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups) On Fri, 2013-06-21 at 08:10 +, philippe.simo...@swisscom.com wrote: I tried both, and I get still crashes : 0001

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-24 Thread Philippe.Simonet
Bartlett [mailto:abart...@samba.org] Sent: Saturday, June 22, 2013 9:09 AM To: Simonet Philippe, ITS-OUS-OP-IFM-NW-IPE Cc: sa...@samba.org; samba-techni...@samba.org Subject: Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups) On Fri, 2013-06

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-24 Thread Philippe.Simonet
Bartlett [mailto:abart...@samba.org] Sent: Saturday, June 22, 2013 9:09 AM To: Simonet Philippe, ITS-OUS-OP-IFM-NW-IPE Cc: sa...@samba.org; samba-techni...@samba.org Subject: Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups) On Fri, 2013

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-22 Thread Andrew Bartlett
On Fri, 2013-06-21 at 08:10 +, philippe.simo...@swisscom.com wrote: I tried both, and I get still crashes : 0001-gensec-work-around-nested-event-loops-by-ensuring-th.patch 0002-s4-winbind-Add-special-case-for-BUILTIN-domain.patch - samba version 4.0.6 started. Copyright

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-22 Thread Andrew Bartlett
On Sat, 2013-06-22 at 17:08 +1000, Andrew Bartlett wrote: On Fri, 2013-06-21 at 08:10 +, philippe.simo...@swisscom.com wrote: I tried both, and I get still crashes : 0001-gensec-work-around-nested-event-loops-by-ensuring-th.patch

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-21 Thread Philippe.Simonet
Hi Andrew, many thanks for you patch, i tested it on 2 different systems but without success (the crash is always happening). before applying the patch, I had a strange problem : I couldn't reproduce the problem (with wbinfo --uid-info 300) on one of the machine. no chance even if I

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-21 Thread Andrew Bartlett
On Fri, 2013-06-21 at 05:58 +, philippe.simo...@swisscom.com wrote: Hi Andrew, many thanks for you patch, i tested it on 2 different systems but without success (the crash is always happening). before applying the patch, I had a strange problem : I couldn't reproduce the problem

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-21 Thread Philippe.Simonet
Hi Andrew, sorry (my English...) I was not clear. I tried to say that the patch does not change anything for me, the crash is still here. best regards Philippe -Original Message- From: Andrew Bartlett [mailto:abart...@samba.org] Sent: Friday, June 21, 2013 9:18 AM To: Simonet

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-21 Thread Andrew Bartlett
On Fri, 2013-06-21 at 07:23 +, philippe.simo...@swisscom.com wrote: Hi Andrew, sorry (my English...) I was not clear. I tried to say that the patch does not change anything for me, the crash is still here. Which (named) patch did you try? I've attached both patches which I proposed.

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-21 Thread Philippe.Simonet
I tried both, and I get still crashes : 0001-gensec-work-around-nested-event-loops-by-ensuring-th.patch 0002-s4-winbind-Add-special-case-for-BUILTIN-domain.patch - samba version 4.0.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2012 samba: using 'single' process model

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-19 Thread Andrew Bartlett
On Tue, 2013-06-18 at 10:07 +0200, Volker Lendecke wrote: On Tue, Jun 18, 2013 at 12:49:37PM +1000, Andrew Bartlett wrote: This patch attempts to address an issue some have reported where our nss_winbind is even slower than it's simple non-caching implementation needs to be. I think

Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

2013-06-18 Thread Volker Lendecke
On Tue, Jun 18, 2013 at 12:49:37PM +1000, Andrew Bartlett wrote: This patch attempts to address an issue some have reported where our nss_winbind is even slower than it's simple non-caching implementation needs to be. I think this comes from us not handling the BUILTIN domain properly, and