AIX Open Source

 View Only
Expand all | Collapse all

How to upgrade SAMBA from 3.3.12 to 4.14.12 by using RPM/SRPM packages due to CVE-2016-2118 defect.

  • 1.  How to upgrade SAMBA from 3.3.12 to 4.14.12 by using RPM/SRPM packages due to CVE-2016-2118 defect.

    Posted Wed September 21, 2022 01:18 AM

    Hello AIX opensource expert.

       How to upgrade SAMBA from 3.3.12 to 4.14.12 by using RPM/SRPM packages due to CVE-2016-2118 defect.
      Could you please share the guideline to step to upgrade SAMBA on AIX.

    Regards,

    Charin Kumjudpai.



    ------------------------------
    CHARIN KUMJUDPAI
    ------------------------------


  • 2.  RE: How to upgrade SAMBA from 3.3.12 to 4.14.12 by using RPM/SRPM packages due to CVE-2016-2118 defect.

    Posted Thu September 22, 2022 04:31 AM
    What is the format of SAMBA 3.3.12 ? Is it in installp format, if so then it can not be upgraded by RPM package.
    In this case you will have to remove existing installed Samba and install newer RPM package. 
    Please make sure you are able to install Samba from AIX toolbox before removing because there are many RPM dependencies and you need to instal dnf/yum to resolve/install them. 
    If you already have AIX toolbox setup then you can do that.

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



  • 3.  RE: How to upgrade SAMBA from 3.3.12 to 4.14.12 by using RPM/SRPM packages due to CVE-2016-2118 defect.

    Posted Thu September 22, 2022 10:54 PM

    Hi Sanket,

    Thank you for your update and concern point.

    I've sent email to customer  to gathering more log below and waiting log from them.

    To help to upgrade your SAMBA version 3.3.12 to 4.14.12 on AIX 7100-00.

     May I have more log information from you Dev server (Non-Prod Env).

    Could you please provide all log from number 1-3 below.

     

    1. Verify the rpm package installed on your AIX server.

     # lslpp -L rpm.rte

    # which rpm

       If there rpm installed, it should show like : /usr/bin/rpm

     # rpm --version

    # lslpp -w /usr/bin/rpm

     

    2. To know you SAMBA current settings.

    # rpm -qa |grep samba

    # ps -ef | egrep "smb|nmb"

    # which smbd

    # which nmbd

    # smbstatus

     

    check where is smb.conf:

    /usr/local/samba/sbin/smbd -b 

     

     Testing the samba configuration smb.conf

    # testparm /PATH_TO_SAMBA_CONFIG_LOCATION/smb.conf

    # testparm -v

           Load smb config files from /usr/lib/smb.conf

          Testing connectivity

                # smbclient -L PATH_OF_YOUR_SAMBA_SHARED

     
    3. If your download the RPM packages done. Please change to that directory.

    # cd /PATH_OF_SAMBA_RPM_DOWNLOAD.

    # ls -lrt

     To view the list of packages on which this package depends.

          # rpm -qpR ./samba-4.14.14-1.aix7.1.ppc.rpm


    Regards,



    ------------------------------
    CHARIN KUMJUDPAI
    ------------------------------