smbd panic after per-thread UID handling changes (was: Re: Samba4:smb_panic(): calling panic action crash)
jra at samba.org
Sun Jul 1 00:13:00 MDT 2012
On Sun, Jul 01, 2012 at 03:49:23PM +1000, Andrew Bartlett wrote:
> For what it's worth, I've just run a wintest, using this code, and while
> it fails on some DRS things (which I need to look into), it certainly
> doesn't crash like this.
> Unlike make test, wintest runs as real root, and does real UID changing
> etc, so this isn't a generic issue just being masked by our test
Thanks Andrew. I tested under both waf and autoconf builds,
as root and non-root and also tested with a custom smbtorture
build that swapped userids on a single connection to a process
as well as using runas.exe under Windows7 (even though that
opens 2 connections these days) to make sure uid switching was
working correctly before committing this code.
Once I found some buildfarm breakage on Solaris/Nexenta I
worked with Ira to get the autoconf build fixed for that
I'm pretty confident this code should work as expected,
so I'm interested in tracking down any anomalies.
More information about the samba-technical