[PATCH] Change system handling in smbd
Andrew Bartlett
abartlet at samba.org
Tue Jun 12 02:02:40 MDT 2012
On Tue, 2012-06-12 at 17:16 +1000, Andrew Bartlett wrote:
> On Mon, 2012-06-11 at 12:13 +0200, Andreas Schneider wrote:
> > On Monday 11 June 2012 19:53:18 Andrew Bartlett wrote:
> > > Andreas,
> >
> > Andrew,
> >
> > > I can't find a record of asking you about this patch, but before the
> > > beta, I was working on this tree:
> > >
> > > https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/fix
> > > -system
> > >
> > > In short, it make the system token just that, SID_NT_SYSTEM. The unix
> > > portion remains as is, the sec_initial_uid() and it's primary group.
> > >
> > > I wondered if you could confirm that this doesn't break the special case
> > > that started you on modifying this area?
> >
> > the plan was to completely fake this structure. So don't call and getpw*
> > functions. Only use sec_initial_uid() and sec_initial_gid().
> >
> > utok and security_token should be enough.
>
> How about the attached?
Updated patches (currently under test) are at
https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/fix-system
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list