patch for rpcclient
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Mon Mar 8 22:35:50 GMT 1999
On Tue, 9 Mar 1999, Todd Sabin wrote:
> Luke wrote:
> > > Oh! That's the desired access parameter. It's a bitfield of what
> > > access you're requesting be granted to the handle you're opening.
> >
> > *oh*, yes. it's an ACE_INFO field, then (see incomplete list in
> > include/rpc_secdes.h).
> >
> > > I don't know what any of the bits mean in samr, but there's a generic
> > > access, MAXIMUM_ALLOWED (0x02000000), which means just give me
> > > everything I'm permitted. It's nice for this because we don't know
> > > what we really want and might be running as different users who don't
> > > have the same permissions. Ideally, you just ask for the access
> > > necessary for the whatever calls you're going to follow with, but I
> > > don't know what they are.
> >
> > i'd suggest leaving it as-seen over-the-wire, which so far has been 0x3e4.
> > anyone got any info on access rights bits?
> >
>
> The problem is that that's more access than a null session is permitted,
> meaning you can't do the enum stuff over a null session,
yes you can do some enum stuff over a null session.
> which is why I patched it. ;)
ok, i'll put it back.
luke
More information about the samba-technical
mailing list