1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

winbind: Log NOT_IMPLEMENTED as debug

This message happens frequently when running a
PDC/NT4 mode w/out winbind.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 27 02:15:31 UTC 2024 on atb-devel-224
This commit is contained in:
David Mulder 2024-03-11 07:36:58 -06:00 committed by Andrew Bartlett
parent 03240c91fb
commit 9550d37f2f

View File

@ -124,7 +124,11 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
}
status = pdb_enum_trusted_domains(talloc_tos(), &num_domains, &domains);
if (!NT_STATUS_IS_OK(status)) {
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
DBG_DEBUG("pdb_enum_trusted_domains() not implemented "
"for this passdb backend\n");
return status;
} else if (!NT_STATUS_IS_OK(status)) {
DBG_ERR("pdb_enum_trusted_domains() failed - %s\n",
nt_errstr(status));
return status;