Bug 41066

Summary: smbd start fails: libwinbind-client.so: cannot open shared object file
Product: UCS Reporter: Arvid Requate <requate>
Component: Samba4Assignee: Samba maintainers <samba-maintainers>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P2 CC: grandjean, hahn, requate
Version: UCS 3.2   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
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:

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)