Possibly incorrect handling of SeBackupPrivilege and SeRestorePrivilege

Jeremy Allison jra at samba.org
Thu Mar 1 10:25:12 MST 2012

On Thu, Mar 01, 2012 at 07:11:40AM -0800, Richard Sharpe wrote:
> On Wed, Feb 29, 2012 at 7:13 PM, Jeremy Allison <jra at samba.org> wrote:
> >
> > Ok, I just (with Volker's review) pushed a changeset to
> > master that implements SeBackup in trans2 findfirst/findnext
> > - please take a look and let me know what you think.
> I don't understand why we need to keep privilege paths? When a
> FindNext comes in we should already have the dir path open, shouldn't
> we?

It's not for the findnext, it's for the NtCreateX paths.

We privilege paths allow us to check at open time that
we're in the correct directory/accessing the correct

Watch for the code :-).


More information about the samba-technical mailing list