Patch: Add init and cleanup functions to registry backends and call them if they are defined

Richard Sharpe realrichardsharpe at
Sun Jan 11 12:59:44 MST 2015

On Sat, Jan 10, 2015 at 1:02 PM, Richard Sharpe
<realrichardsharpe at> wrote:
> Hi folks,
> Sometimes, as in my zookeeper backend, you need an init and cleanup function.
> This small patch provides that.
> Please provide feedback or push if OK ...

A small update. If the init function fails, we should not install it.
Rather, we should print a level 0 message in the log.

Richard Sharpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-init-and-cleanup-functions-to-the-registry-backe.patch
Type: text/x-patch
Size: 2532 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list