summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-07-15 11:10:47 +0200
committerAndreas Schneider <asn@cryptomilk.org>2022-07-28 11:51:29 +0000
commitb54188cbe39796f1a827fcac98d3a480220bb854 (patch)
treee5d550a24fa4356dec80dde4e5dd750d293c2240 /source3/rpc_server
parent63c4b16d2fce6f8f547cb99f9bc626668e6ad379 (diff)
downloadsamba-b54188cbe39796f1a827fcac98d3a480220bb854.tar.gz
s3:rpc_server: Set missing debug class for srv_samr_chgpasswd
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/samr/srv_samr_chgpasswd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_server/samr/srv_samr_chgpasswd.c b/source3/rpc_server/samr/srv_samr_chgpasswd.c
index b5cd308a119..56dc7397b9d 100644
--- a/source3/rpc_server/samr/srv_samr_chgpasswd.c
+++ b/source3/rpc_server/samr/srv_samr_chgpasswd.c
@@ -59,6 +59,9 @@
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_RPC_SRV
+
#ifndef ALLOW_CHANGE_PASSWORD
#if (defined(HAVE_TERMIOS_H) && defined(HAVE_DUP2) && defined(HAVE_SETSID))
#define ALLOW_CHANGE_PASSWORD 1