Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-657

SSSD integration does not work when using productized rpms (libunix-dbus)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • RH-SSO-7.1.0.ER3
    • RH-SSO-7.1.0.ER2
    • Distribution
    • None
    • Hide

      Install rh-sso server - yum install rh-sso7-keycloak-server
      install the libunix-dbus yum install rh-sso7-libunix-dbus-java
      Configure the SSSD integration according to the doc
      Try to log in

      Show
      Install rh-sso server - yum install rh-sso7-keycloak-server install the libunix-dbus yum install rh-sso7-libunix-dbus-java Configure the SSSD integration according to the doc Try to log in

      Following error occurred during user login when sssd is configured and the rh-sso7-libunix-dbus-java is installed.

      There is a workaround for this issue. Copy or create symlinks for the libunix_dbus_java.so files
      cp /opt/rh/rh-sso7/root/usr/lib64/libunix_dbus_java.so.0* /usr/lib64

      Caused by: java.lang.UnsatisfiedLinkError: cx/ath/matthew/unix/UnixSocket.native_connect(Ljava/lang/String;Z)I
      at cx.ath.matthew.unix.UnixSocket.connect(UnixSocket.java:111)
      at org.freedesktop.dbus.Transport.connect(Transport.java:787)
      at org.freedesktop.dbus.Transport.<init>(Transport.java:757)
      at org.freedesktop.dbus.DBusConnection.<init>(DBusConnection.java:301)
      at org.freedesktop.dbus.DBusConnection.getConnection(DBusConnection.java:284)
      at org.keycloak.federation.sssd.api.Sssd$SingletonHolder.<clinit>(Sssd.java:71)
      at org.keycloak.federation.sssd.api.Sssd.infopipe(Sssd.java:46)
      at org.keycloak.federation.sssd.api.Sssd.getUserAttributes(Sssd.java:94)

              pdrozd1@redhat.com Pavel Drozd
              pdrozd1@redhat.com Pavel Drozd
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: