Web lists-archives.com

Re: [Samba] SAMBA4 API




>From the inventory server, which is a separate server from the DC.  it's a
FOG server which has had several additional tables bolted onto the database
and a PHP inventory page added to it.

On Tue, Nov 14, 2017 at 12:05 PM, Rowland Penny via samba <
samba@xxxxxxxxxxxxxxx> wrote:

> On Tue, 14 Nov 2017 11:48:29 -0600
> Taylor Hammerling <thammerling@xxxxxxxxxxxx> wrote:
>
> > We aren't using BIND, we are using the builtin SAMBA backend.  Also
> > the requests for updates are going to come from external to the DC.
> > IE, the inventory server needs to send a request to the DC to
> > add/update/remove etc DNS records.  This is why I'm looking for an
> > API.
> >
>
> The samba_dnsupdate script doesn't need Bind either.
>
> You could always script around the 'samba-tool dns' commands, see
> 'samba-tool dns --help'
>
> Samba is written using 'C' and the tools are mostly written in Python,
> there isn't an easily findable API that I am aware of.
>
> What I am trying to say is, why make things hard for yourself ? If you
> are going to be using PHP, you can make this run other scripts that run
> nsupdate.
>
> Where are the updates going to come from ?
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
*Taylor Hammerling* |  *IT Manager*
2800 Laura Lane | Middleton, WI 53562
*O *(608) 669-9070 *| C *(608) 512-7849
tcsbasys.com | ubiquistat.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba