[Samba] The Recycled PIDs Fix

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jan 24 02:06:26 MST 2012

On Tue, Jan 24, 2012 at 12:19:14AM -0700, Manoj Dahal wrote:
> Thanks a lot for your response. I have some more doubts.
> What is the issue with libsmbsharemodes to make it cluster aware?

It's licensing. The cluster code is a significant piece of
GPLv3+ code that has had contributions from many people. So
relicensing under a more liberal license will be a
challenge. Eventually we will implement a lgpl-friendly ctdb
database access layer and use it in Samba, but this is
nowhere on anyones concrete plans.

If you are willing to relicense your NCP server code under a
GPLv3-compatible license, making libsmbsharemodes
cluster-aware will become a lot easier.

> If the serverid is included in libsmbsharemodes without
> the dbwrap for clustering,
> I believe without the *_ctdb() calls and without the
> #ifdef CLUSTER_SUPPORT would be enough, right?
> That is mainly re-writing  dbwrap.c . Or in serverid.c

Rewriting dbwrap.c under a liberal license is not enough.
The big one is dbwrap_ctdb.c and its dependencies.

> should I replace the db_open() and other related calls by
> tdb_open() etc.

This is the way to go. You need to make sure the other
contributors to serverid.c also agree to re-licensing it
under LGPL.

With best regards,

Volker Lendecke

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba mailing list