Vista and setting printer ACLs

Jeremy Allison jra at samba.org
Wed Jan 31 20:17:18 GMT 2007


On Wed, Jan 31, 2007 at 10:35:51AM -0800, Jeremy Allison wrote:
> On Wed, Jan 31, 2007 at 01:50:03PM +0100, Martin Zielinski wrote:
> > Too hasty ;-/
> > 
> > --- samba-3.0.23d.orig/source/rpc_parse/parse_spoolss.c 2006-06-23 
> > 15:16:52.000000000 +0200
> > +++ samba-3.0.23d/source/rpc_parse/parse_spoolss.c      2007-01-31 
> > 13:49:02.000000000 +0100
> > @@ -3897,7 +3897,7 @@
> >                         break;
> >                 }
> >         }
> > -       if (ptr_sec_desc)
> > +       if (q_u->level == 3 || ptr_sec_desc)
> >         {
> >                 if (!sec_io_desc_buf(desc, &q_u->secdesc_ctr, ps, depth))
> >                         return False;
> 
> Can you send me an ethereal capture trace of this please ?
> Is Vista really sending a NULL SD here ?
> I'm not sure this is the correct fix. Wouldn't the attached
> patch work better ?

Ah, ok - now I see. Vista is sending a SD, just not setting
the pointer in q_u->info.info_3->secdesc_ptr - correct ?

I'd love to see that trace.....

Jeremy.


More information about the samba-technical mailing list