backup intent and dptr_create failure because of become_root() (was Re: Samba4 panic action)

Jeremy Allison jra at samba.org
Wed Oct 24 12:43:54 MDT 2012


On Sat, Oct 20, 2012 at 09:39:46PM +1100, Andrew Bartlett wrote:
> 
> Because we are in a become_root(), the token is NULL, and so we
> segfault.
> 
> Jeremy,
> 
> I think you can probably handle it from here.  We don't call
> get_current_nttok() in many places, perhaps we might be able to replace
> it with a call that doesn't need to inspect the unix security stack, but
> instead directly de-references conn or something similar?

Now tracking as :

[Bug 9329] New: Directory listing with SeBackup can crash smbd.

Thanks !

Jeremy.


More information about the samba-technical mailing list