Samba DEBUG in OpenChange

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Dec 6 10:14:00 UTC 2015


On Sat, Dec 05, 2015 at 10:31:37PM +0000, Jelmer Vernooij wrote:
> > Sure. What I propose is a patch to Samba's debug.c, along
> > the lines of f9e92fc or 1257977.
> 
> How would that only log openchange-related NDR calls to the openchange
> backend and the other calls to another backend?

I haven't tried, but I'd say

logging = openchange at ndr:10 syslog at 1 file

should do it.

> Samba can't link against OpenChange, as that would create a circular
> dependency - OpenChange already links against Samba.

Right. We'd need something that both Samba and OpenChange
can link to. It would be mainly a function that accepts a
string.

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