[SAMBA] samba - bind : program guideline suggestion

Adam Tauno Williams awilliam at whitemice.org
Wed Dec 8 04:32:13 GMT 2004

> I'm currently developping a program that takes the smbtree output, parse it, 
> retrieve all connected workstations, then call nmblookup for each 
> workstation, resolve the IP, create a BIND zone file with this.

Why not use "wins hook"?

> Now; to secure this programs; I tought about 2 things
> -> secure the program using pipes
>        However; I would have to make an update at each samba release since 
> there's no way to guarante that the smbtree and nmblookup arguments and 
> output will be the exact same file format as the current one

Have you checked out the python bindings (included on most distros now i
think) if the hook scripts are not sufficient?

More information about the samba mailing list