#2143 backend not loading because of mistyped filename "libsss_krb5 .so" with a space character
Closed: Invalid None Opened 10 years ago by orclex.

Running a domain with ldap as id_provider and kerberos as auth_provider. The backend is not loading. In /etc/sssd/sssd_DOMAIN.log I find following error:

[load_backend_module] (0x0010): Unable to load krb5 module with path (/usr/lib/x86_64-linux-gnu/sssd/libsss_krb5 .so), error: /usr/lib/x86_64-linux-gnu/sssd/libsss_krb5 .so: cannot open shared object file: No such file or directory

There is a space in the filename libsss_krb5.so and that's why the module is not loading. Please fix it! Thanks!


Fields changed

keywords: sssd krb5 => sssd krb5 kerberos
summary: backend not loading because of misstyped filename libsss_krb5 .so => backend not loading because of mistyped filename "libsss_krb5 .so" with a space character

Could you tell me version of libini_config and used distributions?

cc: => lslebodn@redhat.com

This is a bug in ding-libs, not SSSD. It doesn't strip trailing whitespace. The bug was already fixed upstream and in Fedora, so you should report a bug against the distribution you use.

As a workaround, please remove the trailing whitespace on the line that says "auth_provider = krb5".

resolution: => invalid
status: new => closed

Hm, there is NO trailing whitespace in any line in my sssd.conf!

I'm running Kubuntu 13.10 with

dpkg -l | grep libini

ii libini-config3:amd64 0.3.0.1-1 amd64 INI file parser for C

Setting 'auth_provider="krb5"' would search for /usr/lib/x86_64-linux-gnu/sssd/libsss_"krb5".so without a whitespace. Removing the quotation marks and to be sure there is no whitespace again searches for /usr/lib/x86_64-linux-gnu/sssd/libsss_krb5 .so with whitespace.

Can you upload your configuration file?

There is a single whitespace after chpass_provider=krb5:

id_provider = ldap
auth_provider= krb5
chpass_provider = krb5
 <--- HERE

Try removing the blank line completely.

Thanks, it is working after removing every blank line or commenting out blank lines.
The bug is still present in ding-libs 0.3.0.1-2.

Metadata Update from @orclex:
- Issue set to the milestone: NEEDS_TRIAGE

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3185

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata