[csw-maintainers] Samba 4, take 2, versioned packages

slowfranklin slowfranklin at opencsw.org
Tue Sep 3 19:18:00 CEST 2013


Am 03.09.2013 um 19:05 schrieb Laurent Blume <laurent at opencsw.org>:

> 
> On 2013-09-03 4:43 PM, slowfranklin wrote:
>> o CSWlibwclient, CSWlibsmbsharemodes, CSWlibsmbclient and CSWlibnetapi will still be coming
>>  from Samba 3, Samba 4 will use private versions of these libs
> 
> I think you don't need libsmbclient, at all. Like you noted, only
> gnomevfs depends on it: no Samba binary uses it.

indeed. I'll see if they can be disabled in the build by configure.

> So, no need for even a
> private one; libnetapi appears to be the same case.
> I see the Debian packages for v4 also have a libsmbclientraw, but that's
> apparently a different lib, since their libsmbclient (without raw) do
> switch from 3.6 to 4.0 in experimental. Do you see that one too?

Yes:

$ ls /opt/samba/lib/libsmbclient-raw.so
/opt/samba/lib/libsmbclient-raw.so

> 
>> o the main  package is split into libs and common, because it seems in Samba4 libraries
>>  like libsmbclient are linked with tons of private Samba libs, so we really want
>>  these private libs to be available as a seperate package otherwise the whole
>>  Samba packaged would be pulled in when someone installs libsmbclient
> 
> Can you list them? I'm a bit surprised that this libsmbclient would have
> more dependencies, since it's supposed to be the same.

This is from git master HEAD, built on Solaris 11.1 with this simple configure invocation:

$ ./configure \
    --prefix=/opt/samba \
    --with-ads \
    --with-shared-modules=vfs_zfsacl

slow at solaris:~$ ldd /opt/samba/lib/libwbclient.so | grep /opt/samba
        libwinbind-client.so =>  /opt/samba/lib/private/libwinbind-client.so
        libreplace.so =>         /opt/samba/lib/private/libreplace.so

slow at solaris:~$ ldd /opt/samba/lib/libsmbclient.so | grep /opt/samba
        libsamba-util.so.0 =>    /opt/samba/lib/libsamba-util.so.0
        libgssapi-samba4.so.2 =>         /opt/samba/lib/private/libgssapi-samba4.so.2
        liblibsmb.so =>  /opt/samba/lib/private/liblibsmb.so
        libmsrpc3.so =>  /opt/samba/lib/private/libmsrpc3.so
        liblibcli_lsa3.so =>     /opt/samba/lib/private/liblibcli_lsa3.so
        libsamba-security.so =>  /opt/samba/lib/private/libsamba-security.so
        liberrors.so =>  /opt/samba/lib/private/liberrors.so
        libsmbconf.so.0 =>       /opt/samba/lib/libsmbconf.so.0
        libtalloc.so.2 =>        /opt/samba/lib/private/libtalloc.so.2
        libndr.so.0 =>   /opt/samba/lib/libndr.so.0
        libcli_smb_common.so =>  /opt/samba/lib/private/libcli_smb_common.so
        libgse.so =>     /opt/samba/lib/private/libgse.so
        libutil_cmdline.so =>    /opt/samba/lib/private/libutil_cmdline.so
        libndr-standard.so.0 =>  /opt/samba/lib/libndr-standard.so.0
        libdcerpc-samba.so =>    /opt/samba/lib/private/libdcerpc-samba.so
        libsmbregistry.so =>     /opt/samba/lib/private/libsmbregistry.so
        libsecrets3.so =>        /opt/samba/lib/private/libsecrets3.so
        libtevent.so.0 =>        /opt/samba/lib/private/libtevent.so.0
        libutil_setid.so =>      /opt/samba/lib/private/libutil_setid.so
        libreplace.so =>         /opt/samba/lib/private/libreplace.so
        libkrb5-samba4.so.26 =>  /opt/samba/lib/private/libkrb5-samba4.so.26
        libroken-samba4.so.19 =>         /opt/samba/lib/private/libroken-samba4.so.19
        libasn1-samba4.so.8 =>   /opt/samba/lib/private/libasn1-samba4.so.8
        libhcrypto-samba4.so.5 =>        /opt/samba/lib/private/libhcrypto-samba4.so.5
        libcom_err-samba4.so.0 =>        /opt/samba/lib/private/libcom_err-samba4.so.0
        libwind-samba4.so.0 =>   /opt/samba/lib/private/libwind-samba4.so.0
        libheimbase-samba4.so.1 =>       /opt/samba/lib/private/libheimbase-samba4.so.1
        libhx509-samba4.so.5 =>  /opt/samba/lib/private/libhx509-samba4.so.5
        libwbclient.so.0 =>      /opt/samba/lib/libwbclient.so.0
        libsamba-credentials.so.0 =>     /opt/samba/lib/libsamba-credentials.so.0
        libndr-samba.so =>       /opt/samba/lib/private/libndr-samba.so
        libcli_cldap.so =>       /opt/samba/lib/private/libcli_cldap.so
        libcliauth.so =>         /opt/samba/lib/private/libcliauth.so
        libkrb5samba.so =>       /opt/samba/lib/private/libkrb5samba.so
        libsamba-sockets.so =>   /opt/samba/lib/private/libsamba-sockets.so
        libgensec.so.0 =>        /opt/samba/lib/libgensec.so.0
        libasn1util.so =>        /opt/samba/lib/private/libasn1util.so
        libsamba-hostconfig.so.0 =>      /opt/samba/lib/libsamba-hostconfig.so.0
        libndr-nbt.so.0 =>       /opt/samba/lib/libndr-nbt.so.0
        libtevent-util.so.0 =>   /opt/samba/lib/libtevent-util.so.0
        libsmb_transport.so =>   /opt/samba/lib/private/libsmb_transport.so
        libsamba3-util.so =>     /opt/samba/lib/private/libsamba3-util.so
        libCHARSET3.so =>        /opt/samba/lib/private/libCHARSET3.so
        libdcerpc-binding.so.0 =>        /opt/samba/lib/libdcerpc-binding.so.0
        libndr-krb5pac.so.0 =>   /opt/samba/lib/libndr-krb5pac.so.0
        libevents.so =>  /opt/samba/lib/private/libevents.so
        libinterfaces.so =>      /opt/samba/lib/private/libinterfaces.so
        libccan.so =>    /opt/samba/lib/private/libccan.so
        libdbwrap.so =>  /opt/samba/lib/private/libdbwrap.so
        libutil_tdb.so =>        /opt/samba/lib/private/libutil_tdb.so
        libutil_reg.so =>        /opt/samba/lib/private/libutil_reg.so
        libsmbd_shim.so =>       /opt/samba/lib/private/libsmbd_shim.so
        libtdb-wrap.so =>        /opt/samba/lib/private/libtdb-wrap.so
        libtdb.so.1 =>   /opt/samba/lib/private/libtdb.so.1
        libserver-role.so =>     /opt/samba/lib/private/libserver-role.so
        libaddns.so =>   /opt/samba/lib/private/libaddns.so
        libauthkrb5.so =>        /opt/samba/lib/private/libauthkrb5.so
        libcli-nbt.so =>         /opt/samba/lib/private/libcli-nbt.so
        libutil_ntdb.so =>       /opt/samba/lib/private/libutil_ntdb.so
        libntdb.so.0 =>  /opt/samba/lib/private/libntdb.so.0
        libwinbind-client.so =>  /opt/samba/lib/private/libwinbind-client.so
        libldb.so.1 =>   /opt/samba/lib/private/libldb.so.1
        libsamdb-common.so =>    /opt/samba/lib/private/libsamdb-common.so
        libldbsamba.so =>        /opt/samba/lib/private/libldbsamba.so
        libcli-ldap-common.so =>         /opt/samba/lib/private/libcli-ldap-common.so
        libsamba-modules.so =>   /opt/samba/lib/private/libsamba-modules.so
        libsamdb.so.0 =>         /opt/samba/lib/libsamdb.so.0
        libauth_sam_reply.so =>  /opt/samba/lib/private/libauth_sam_reply.so
        libflag_mapping.so =>    /opt/samba/lib/private/libflag_mapping.so



More information about the maintainers mailing list