AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Installing Samba on AIX

  • 1.  Installing Samba on AIX

    Posted Mon November 02, 2020 08:41 AM
    Hello 

    I would like to install samba on AIX, and as mentioned in the following link
    https://developer.ibm.com/technologies/systems/articles/au-aix_samba/
    there are three packages should be installed
    - Samba.base
    - Samba.license S
    - Samba.man

    The  samba packages are found on https://www.ibm.com/support/pages/node/883796?_ga=2.206565329.35408613.1604315651-1232417942.1604315651  

    I don't know which packages I have to choose to start installation, I tried to install the package " 'Server and Client software to interoperate with Windows machines' but it failed unfortunately due to dependencies.

    Appreciate your assistance.


    ------------------------------
    Moeen Sokakr
    ------------------------------


  • 2.  RE: Installing Samba on AIX

    Posted Mon November 02, 2020 08:52 AM
    Samba for AIX is provided through AIX Toolbox ( in rpm format ) in the recent years. 
    https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha

    I would recommend to use yum to install samba as it has numerous other dependencies. 
    https://developer.ibm.com/articles/configure-yum-on-aix/

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Installing Samba on AIX

    Posted Tue November 03, 2020 03:27 AM
    But how can I configure yum to install packages without getting access to AIX Toolbox, because it is not allowed to have access with internet, I need to download the required packages and then install it.

    thanks.

    ------------------------------
    Moeen Sokakr
    ------------------------------



  • 4.  RE: Installing Samba on AIX

    Posted Tue November 03, 2020 04:21 AM
    Below are the required packages. libgcc and libstdc++ are AIX version specific rpms, so take the one which matches the AIX level. 

    bash
    bzip2
    coreutils
    cups-libs
    db
    dbus
    expat
    gdbm
    gettext
    glib2
    gmp
    gnutls
    info
    libffi
    libgcc
    libiconv
    libpcap
    libsmbclient
    libstdc++
    libtasn1
    libunistring
    libxml2
    ncurses
    nettle
    openldap
    p11-kit
    popt
    python3
    readline
    samba
    samba-client
    samba-common
    samba-devel
    samba-libs
    samba-winbind
    samba-winbind-clients
    sqlite
    xz-libs
    zlib

    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: Installing Samba on AIX

    Posted Sun November 08, 2020 06:13 AM
    Do you have the arrangement for the above packages?

    ------------------------------
    Moeen Sokakr
    ------------------------------



  • 6.  RE: Installing Samba on AIX

    Posted Mon November 09, 2020 03:11 AM
    You can download all these rpms, put it inside a directory and run " rpm -ivh * "
    If you have some rpms already installed in the machine, then run " rpm -Uvh --force * "

    ------------------------------
    Ayappan P
    ------------------------------



  • 7.  RE: Installing Samba on AIX

    Posted Thu December 17, 2020 07:09 AM

    unfortunately it didn't work, I download all packages from AIX tool Box but the installation failed due to missing dependencies which are not available on the AIX tool Box, any suggestion is appreciated

    libwbclient.so is needed by libsmbclient-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by libsmbclient-4.12.7-1.ppc
    cyrus-sasl >= 2.1.26-3 is needed by openldap-2.4.50-1.ppc
    libsasl2.a is needed by openldap-2.4.50-1.ppc
    libwbclient.so is needed by samba-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by samba-4.12.7-1.ppc
    libwbclient.so is needed by samba-client-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by samba-client-4.12.7-1.ppc
    libwbclient.so is needed by samba-common-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by samba-common-4.12.7-1.ppc
    samba-winbind-clients = 4.12.7-1 is needed by samba-common-4.12.7-1.ppc
    libwbclient.so is needed by samba-devel-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by samba-devel-4.12.7-1.ppc
    libwbclient.so is needed by samba-libs-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by samba-libs-4.12.7-1.ppc
    libwbclient.so is needed by samba-winbind-4.12.7-1.ppc
    libwinbind-client-samba4.so is needed by samba-winbind-4.12.7-1.ppc
    samba-winbind-clients = 4.12.7-1 is needed by samba-winbind-4.12.7-1.ppc



    ------------------------------
    Moeen Sokakr
    ------------------------------



  • 8.  RE: Installing Samba on AIX

    Posted Thu December 17, 2020 10:04 AM

    You could also use bullfreeware.com, which compiles a .zip file with all the dependencies (don't forget to select the appropriate OS level), for example: http://www.bullfreeware.com/pkg?id=6479 Also, http://www.oss4aix.org/download/RPMS/ has a similar solution, as well, but here some of the dependencies are just lists inside a text file, as in you need to search and download them separately.

    In any case, seeing the sheer list of dependencies, I also think that yum would be your best choice. Or use the bullfreeware zip on some test LPAR to see how it goes.



    ------------------------------
    DARADICS CSABA
    ------------------------------



  • 9.  RE: Installing Samba on AIX

    Posted Mon December 21, 2020 08:12 AM

    unfortunately failed due to dependencies 



    ------------------------------
    Moeen Sokakr
    ------------------------------



  • 10.  RE: Installing Samba on AIX

    Posted Thu December 17, 2020 10:08 AM

    Include "samba-winbind-clients" rpm and "cyrus-sasl" rpm.



    ------------------------------
    Ayappan P
    ------------------------------



  • 11.  RE: Installing Samba on AIX

    Posted Thu December 24, 2020 02:21 AM

    Hello,

    Could you please give an idea how to resolve the following issue while installing samba-4.12.7

    error: Failed dependencies:

                    libldb-key-value-samba4.so is needed by samba-common-4.12.7-1.ppc



    ------------------------------
    Mikhail Parshev
    ------------------------------



  • 12.  RE: Installing Samba on AIX

    Posted Wed December 30, 2020 12:12 AM

    This particular library is provided in samba-client rpm package. 



    ------------------------------
    SANKET RATHI
    ------------------------------