samba is sending service debug logs to ...?

Andreas Schneider asn at samba.org
Tue Sep 6 08:29:33 UTC 2022


Hi,

I've just found out that I do not get any debug logs from services. If I set 
the kerberos debug class:

diff --git a/source4/kdc/kdc-service-mit.c b/source4/kdc/kdc-service-mit.c
index 31cfef2eae1..d8ed1e19986 100644
--- a/source4/kdc/kdc-service-mit.c
+++ b/source4/kdc/kdc-service-mit.c
@@ -41,6 +41,9 @@
 
 #include "source4/kdc/mit_kdc_irpc.h"
 
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_KERBEROS
+
 /* PROTOTYPES */
 static void mitkdc_server_done(struct tevent_req *subreq);


and then start with:

  make testenv SERVER_LOG_LEVEL="1 kerberos:10"

I do not see a single log line from the kdc service! Where are those logs 
going to?


Best regards


	Andreas


-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list