Bug 1273633 - Wrong linking in sssd-libwbclient package
Wrong linking in sssd-libwbclient package
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd (Show other bugs)
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: SSSD Maintainers
Steeve Goveas
Depends On:
  Show dependency treegraph
Reported: 2015-10-20 16:17 EDT by Jakub Hrozek
Modified: 2016-11-04 03:12 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-11-04 03:12:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jakub Hrozek 2015-10-20 16:17:21 EDT
This bug is created as a clone of upstream ticket:

Version 0.12 is installed but 0.11 is linked.

[root@fclient-1120245 ~]# rpm -q libwbclient sssd-libwbclient

[root@fclient-1120245 ~]# rpm  --scripts -ql sssd-libwbclient
postinstall scriptlet (using /bin/sh):
/usr/sbin/update-alternatives --install /usr/lib64/libwbclient.so.0.11 \
                                libwbclient.so.0.11-64 \
                                /usr/lib64/sssd/modules/libwbclient.so.0.11.0 20
preuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ]; then
        /usr/sbin/update-alternatives --remove \
                                libwbclient.so.0.11-64 \

[root@fclient-1120245 ~]# wbinfo -n SSSDAD2012R2\\Domain\ Users
could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE
could not obtain winbind separator!
failed to call wbcLookupName: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not lookup name SSSDAD2012R2\Domain Users

** Fixed by

[root@fclient-1120245 ~]# /usr/sbin/update-alternatives --install /usr/lib64/libwbclient.so.0.12 libwbclient.so.0.12-64 /usr/lib64/sssd/modules/libwbclient.so.0.12.0 20

[root@fclient-1120245 ~]# wbinfo -n SSSDAD2012R2\\Domain\ Users
S-1-5-21-988729707-3926255045-3384196396-513 SID_DOM_GROUP (2)

Comment 1 Jakub Hrozek 2016-07-01 09:55:15 EDT
This was fixed in the downstream build.
Comment 3 shridhar 2016-09-12 05:02:26 EDT
Verified with:

~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Client release 7.3 Beta (Maipo)

[root@dell-pesc1425-02 ~]#  rpm -q libwbclient sssd-libwbclient

[root@dell-pesc1425-02 ~]#  rpm  --scripts -ql sssd-libwbclient
postinstall scriptlet (using /bin/sh):
/usr/sbin/update-alternatives \
    --install /usr/lib64/libwbclient.so.0.12 \
              libwbclient.so.0.12-64 \
              /usr/lib64/sssd/modules/libwbclient.so.0.12.0 20
preuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ]; then
    /usr/sbin/update-alternatives \
        --remove libwbclient.so.0.12-64 \
Comment 5 errata-xmlrpc 2016-11-04 03:12:17 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.