backend not loading because of mistyped filename "libsss_krb5 .so"

Bug #1248087 reported by Alexander Fieroch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ding-libs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

We are running a domain with ldap as id_provider and kerberos as auth_provider. The backend is not loading in ubuntu 13.10. Ubuntu 13.04 was working with the same configuration.

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 character in the filename libsss_krb5.so and that's why the module is not loading. The file /usr/lib/x86_64-linux-gnu/sssd/libsss_krb5.so without the space character does exist.

Please fix it! It blocks connecting to our domin with ubuntu 13.10. Thanks!

description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

it's a typo in your sssd.conf, check that there is no trailing whitespace in it

Changed in sssd (Ubuntu):
status: New → Invalid
Revision history for this message
Jakub Hrozek (jakub-hrozek) wrote :

Timo, libini (a component of ding-libs) should be stripping the trailing whitespace. This was a known upstream bug fixed in 7a2eb259b2e22ce5e2395fbf578b5fef57667489 in ding-libs.

There is a number of pending patches upstream, when those are reviewed, a new ding-libs release will be done.

Sorry for the inconvenience.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

right, that's what it was.. moving to ding-libs then

affects: sssd (Ubuntu) → ding-libs (Ubuntu)
Changed in ding-libs (Ubuntu):
status: Invalid → Triaged
Revision history for this message
Alexander Fieroch (fieroch) wrote :

sounds good but I do not find any trailing whitespaces in each configuration line in my sssd.conf.
Which corresponding option is used to build the mistyped filepath "/usr/lib/x86_64-linux-gnu/sssd/libsss_krb5 .so"?

Revision history for this message
Alexander Fieroch (fieroch) wrote :

I found the corresponding option 'auth_provider=krb5' but there is NO whitespace! There has to be a bug in libini.

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 a whitespace.

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

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

check the next line too..

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ding-libs - 0.3.0.1-2

---------------
ding-libs (0.3.0.1-2) unstable; urgency=low

  * rules, *-dev.install: Build static libs again, include in respective
    -dev packages. (LP: #1183490)
  * Cherry-pick 7a2eb259b2e22: Trim trailing spaces. (LP: #1248087)

 -- Timo Aaltonen <email address hidden> Wed, 06 Nov 2013 17:05:07 +0200

Changed in ding-libs (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Alexander Fieroch (fieroch) wrote :

Hm, I upgraded to ding-libs - 0.3.0.1-2 but it still doesn't work.
After commenting out every blank line in sssd.conf it works! There is still a problem with blank lines in 0.3.0.1-2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.