From: Stefan Metzmacher Date: Fri, 26 Jan 2024 08:21:03 +0000 (+0100) Subject: s3:passdb: use DBG_ERR() for 'talloc_strdup failed' messages X-Git-Tag: tdb-1.4.11~1279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72a4d3ad5a9d1ea5cd0b2a940893727f0283879a;p=thirdparty%2Fsamba.git s3:passdb: use DBG_ERR() for 'talloc_strdup failed' messages Otherwise it's completely unclear where the messages come from Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index adeb0e308c0..1296a32167d 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -1607,7 +1607,7 @@ static bool smbpasswd_search_next_entry(struct pdb_search *search, if ((entry->account_name == NULL) || (entry->fullname == NULL) || (entry->description == NULL)) { - DEBUG(0, ("talloc_strdup failed\n")); + DBG_ERR("talloc_strdup failed\n"); return false; } @@ -1677,7 +1677,7 @@ static bool smbpasswd_search_users(struct pdb_methods *methods, if ((entry.account_name == NULL) || (entry.fullname == NULL) || (entry.description == NULL)) { - DEBUG(0, ("talloc_strdup failed\n")); + DBG_ERR("talloc_strdup failed\n"); break; } diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index f9ba193df3b..c42a912317b 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -1264,7 +1264,7 @@ static bool tdbsam_search_next_entry(struct pdb_search *search, if ((entry->account_name == NULL) || (entry->fullname == NULL) || (entry->description == NULL)) { - DEBUG(0, ("talloc_strdup failed\n")); + DBG_ERR("talloc_strdup failed\n"); return false; }