<listitem><para><parameter moreinfo="none">dsdb_transaction_json_audit</parameter></para></listitem>
<listitem><para><parameter moreinfo="none">dsdb_group_audit</parameter></para></listitem>
<listitem><para><parameter moreinfo="none">dsdb_group_json_audit</parameter></para></listitem>
+ <listitem><para><parameter moreinfo="none">ldapsrv</parameter></para></listitem>
</itemizedlist>
<para>Various modules register dynamic debug classes at first usage:</para>
[DBGC_DSDB_TXN_AUDIT_JSON] = "dsdb_transaction_json_audit",
[DBGC_DSDB_GROUP_AUDIT] = "dsdb_group_audit",
[DBGC_DSDB_GROUP_AUDIT_JSON] = "dsdb_group_json_audit",
+ [DBGC_LDAPSRV] = "ldapsrv",
};
#define DBGC_DSDB_TXN_AUDIT_JSON 35
#define DBGC_DSDB_GROUP_AUDIT 36
#define DBGC_DSDB_GROUP_AUDIT_JSON 37
+#define DBGC_LDAPSRV 38
/* So you can define DBGC_CLASS before including debug.h */
#ifndef DBGC_CLASS
"smb2", "smb2_credits", "dsdb_audit", "dsdb_json_audit",
"dsdb_password_audit", "dsdb_password_json_audit",
"dsdb_transaction_audit", "dsdb_transaction_json_audit",
- "dsdb_group_audit", "dsdb_group_json_audit"]
+ "dsdb_group_audit", "dsdb_group_json_audit", "ldapsrv"]
CLASS_CODES = {k: i for i, k in enumerate(CLASS_LIST)}
#include "libcli/ldap/ldap_proto.h"
#include "source4/auth/auth.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LDAPSRV
+
static int map_ldb_error(TALLOC_CTX *mem_ctx, int ldb_err,
const char *add_err_string, const char **errstring)
{
#include "../lib/util/tevent_ntstatus.h"
#include "lib/util/time_basic.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LDAPSRV
+
static char *ldapsrv_bind_error_msg(TALLOC_CTX *mem_ctx,
HRESULT hresult,
uint32_t DSID,
#include "librpc/gen_ndr/auth.h"
#include "libcli/security/security_token.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LDAPSRV
+
struct ldapsrv_starttls_postprocess_context {
struct ldapsrv_connection *conn;
};
#undef strcasecmp
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LDAPSRV
+
static void ldapsrv_terminate_connection_done(struct tevent_req *subreq);
/*