Re: [Samba] Building rpcclient statically linked?
- Date: Wed, 20 Jun 2018 09:07:10 +1200
- From: Andrew Bartlett via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Building rpcclient statically linked?
On Tue, 2018-06-19 at 12:41 -0400, pisymbol wrote:
> On Tue, Jun 19, 2018 at 5:31 AM, pisymbol <pisymbol@xxxxxxxxx> wrote:
> > On Mon, Jun 18, 2018 at 11:36 PM, Andrew Bartlett <abartlet@xxxxxxxxx> wrote:
> > > On Mon, 2018-06-18 at 15:56 -0400, pisymbol wrote:
> > > > I have a binary based off of rpclient that prints out the raw share
> > > > SD as a binary stream instead of trying to parse it into human
> > > > readable format (the default behavior). That is what I'm after.
The Python would give you an SD object that you can do what you want
with, either pack it again in NDR, endode it into SDDL or inspect it
> > > > Hopefully that makes more sense.
> > >
> > > Personally I would do that with our python bindings.
> > >
> > i would be thrilled to get the Python stuff working.
This is just about complete Python3 support. Python2 works fine with
Python 2.6 or later (but please, please use 2.7), and the RPC stuff
probably works with Python3.
> AFAICT, it's not officially supported yet, right?
No, these are part of the APIs we support
> i.e. it's in major flux.
There isn't major flux, and existing scripts should keep working with
the Python3 work.
> But I could be misrepresenting the current state of python API/bindings for samba.
Please take a look again.
In terms of how to use it, there are some good examples now in the
traffic_runner tool and the tests for auth_audit.
While the particular interface you want is probably not previously
used, other examples should help you pattern it.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
To unsubscribe from this list go to the following URL and read the