From 2bea8a80e576714227de8bcc61dbf2c6d1e4d744 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 24 Jan 2023 10:28:26 +0100 Subject: [PATCH] passdb: Fix a DBG statement This is not pdb_getsampwent() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/passdb/pdb_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 493a4e9411e..4c578f8069d 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -613,7 +613,7 @@ static NTSTATUS tdbsam_getsampwnam (struct pdb_methods *my_methods, /* unpack the buffer */ if (!init_samu_from_buffer(user, SAMU_BUFFER_LATEST, data.dptr, data.dsize)) { - DEBUG(0,("pdb_getsampwent: Bad struct samu entry returned from TDB!\n")); + DBG_ERR("Bad struct samu entry returned from TDB!\n"); TALLOC_FREE(data.dptr); return NT_STATUS_NO_MEMORY; }