Bug 57906 - Harmless slapd startup error message from SASL module "oauthbearer"
Summary: Harmless slapd startup error message from SASL module "oauthbearer"
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: LDAP
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UCS maintainers
QA Contact: UCS maintainers
URL:
Keywords:
Depends on: 49006
Blocks:
  Show dependency treegraph
 
Reported: 2025-01-28 12:34 CET by Arvid Requate
Modified: 2025-04-17 01:02 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2025-01-28 12:34:36 CET
If OIDC is not configured, slapd outputs startup error message from the SASL module "oauthbearer":

===
slapd[3966]: oauthbearer_client_plug_init() failed in sasl_server_add_plugin(): error when parsing configuration file
slapd[3966]: _sasl_plugin_load failed on sasl_server_plug_init for plugin: oauthbearer
===

Even if it looks like this is fatal, it almost certainly is not the cause of whatever problem you are facing. It's just telling you that /etc/ldap/sasl2/slapd.conf doesn't contain any trusted idp config. slapd will still start, only the SASL module tells you that it will not be available.
Comment 1 Florian Best univentionstaff 2025-04-17 01:02:35 CEST
https://github.com/cyrusimap/cyrus-sasl/blob/master/lib/server.c#L443-L449
>    if ((result != SASL_OK) && (result != SASL_NOUSER)
>        && (result != SASL_CONTINUE)) {
>        _sasl_log(NULL, SASL_LOG_DEBUG,
>                  "%s_client_plug_init() failed in sasl_server_add_plugin(): %z\n",
>                  plugname, result);
>        return result;
>    }