OpenLDAP and Samba4

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Apr 22 05:33:39 MDT 2013


On Mon, Apr 22, 2013 at 01:27:32PM +0200, Andreas Schneider wrote:
> On Monday 22 April 2013 13:16:18 Volker Lendecke wrote:
> > On Mon, Apr 22, 2013 at 01:12:04PM +0200, Andreas Schneider wrote:
> > > On Friday 19 April 2013 09:59:40 Jeremy Allison wrote:
> > > > > It might mean linking with our socket_wrapper library.
> > > > 
> > > > This is code-mongering, fidley, but doable. We can do this if we have
> > > > the cooperation of the OpenLDAP coders.
> > > 
> > > JFYI: I've created a version of the socket_wrapper library you can
> > > LD_PRELOAD. I wanted to be able to use it in other projects with daemons
> > > I don't build.
> > > 
> > > Code:
> > > 
> > > http://git.cryptomilk.org/projects/socket_wrapper.git/
> > > 
> > > Example:
> > > 
> > > http://git.cryptomilk.org/projects/socket_wrapper.git/tree/example/openssh
> > > .sh
> > Is it possible to run the full Samba autobuild cycle with
> > this and a Samba version compiled without the socket
> > wrapper?
> 
> Yes, it should be. I haven't had the time to change 'selftest' to use this 
> version with LD_PRELOAD.
> 
> You just need to make sure all executeables are started with this. Maybe it is 
> enough to just set it once in selftest and it will just work.
> 
> I need to make uid wrapper and nss wrapper LD_PRELOADable too. Maybe I can do 
> it during SambaXP.

If it works for autobuild, then I think it is a good
separation of concerns that might be worthwhile to add
permanently to Samba.

Volker

-- 
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-technical mailing list