question about winbindd.c in samba 3.0.25

Jeremy Allison jra at samba.org
Tue Feb 20 19:56:29 GMT 2007


On Mon, Feb 19, 2007 at 07:02:47AM -0800, Herb Lewis wrote:
> The end of the main function in winbindd.c has the
> following code
> 
>         /* Loop waiting for requests */
> 
>         while (1)
>                 process_loop();
> 
>         trustdom_cache_shutdown();
> 
>         return 0;
> }
> 
> Previously (in 3.0.8 - not sure where it changed) the while (1)
> was inside the process_loop function and there was a way to break
> out and then return and execute the trustdom_cache_shutdown function.
> 
> Now it appears that trustdom_cache_shutdown can never be called.

Yep - that's a bug - I just fixed it, thanks !

Jeremy.


More information about the samba-technical mailing list