]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
passdb: Fix a DBG statement
authorVolker Lendecke <vl@samba.org>
Tue, 24 Jan 2023 09:28:26 +0000 (10:28 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 14 Aug 2023 19:53:37 +0000 (19:53 +0000)
This is not pdb_getsampwent()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/passdb/pdb_tdb.c

index 493a4e9411e32d595dda0d8c917814dfe09b3ecb..4c578f8069d88ece7763d031885ca8b7dfa94a06 100644 (file)
@@ -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;
        }