Bug 41066 - smbd start fails: libwinbind-client.so: cannot open shared object file
smbd start fails: libwinbind-client.so: cannot open shared object file
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.2
Other Linux
: P2 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-18 11:19 CEST by Arvid Requate
Modified: 2016-04-18 14:18 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
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): Troubleshooting
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 2016-04-18 11:19:17 CEST
With the Errata from Bug #41049 this dependency issue has been reported:


`apt-get install samba=2:4.3.7-1.827.201604141315` fails:
>Starting SMB/CIFS daemon: smbd
>/usr/sbin/smbd: error while loading shared libraries: libwinbind-client.so: cannot open shared object file: No such file or directory
> failed!

Samba was not installed previously, so this is a post-install on a new system.

# ldd /usr/sbin/smbd
        libwinbind-client.so => not found

/usr/sbin/smbd
  /usr/lib//samba/libsmbd-base.so.0
    /usr/lib//samba/libprinting-migrate.so.0
      /usr/lib/libsmbconf.so.0
        /usr/lib//samba/libcli-smb-common.so.0
          /usr/lib/libgensec.so.0
            /usr/lib/libwbclient.so.0
              libwinbind-client.so MISSING

# dpkg -S /usr/lib/libwbclient.so.0
libwbclient0: /usr/lib/libwbclient.so.0
# dpkg-query -W libwbclient0
libwbclient0    2:4.1.0-1.821.201512142147
Comment 1 Arvid Requate univentionstaff 2016-04-18 14:18:31 CEST
That appears to be a shortcoming of the calculation of shlibs:Depends for the samba package. I compiled the current package from stretch and it's the same there.

Fortunately, we install samba via univention-samba / univention-samba4, which depend on winbind, so this problem should not arise in UCS in general.

Package: winbind
Version: 2:4.3.7-1.827.201604141315
Depends: libwbclient0 (>= 2:4.3.7-1)