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
  • 1.  Issues after upgrading Samba

    Posted Wed March 01, 2023 03:12 PM

    Hello,

    I have an AIX 7.2 which was upgraded from 6.1 recently and this server has some samba shares using samba version 3.5.4. These are working fine and the existing installation is in /opt/pware64. I'm trying to upgrade samba to a later version and while keeping the old version I used yum to install 4.16.8 and it got installed into /opt/freeware. I can use the net ads join command to join with the domain successfully even with the new version but the shares are not accessible. I didn't make any changes to the smb.conf file and below is what I have in the smb.conf file. Any help to get this working on 4.16 would be really appreciated. 

    [global]

            workgroup               = DOMAIN

            security                = ads   

            realm                   = DOMAIN.COM

            server string           = Samba Server %h

            idmap gid               = 10000-20000

            idmap uid               = 10000-20000

            domain master           = no

            encrypt passwords       = yes

            local master            = no

            log level               = 7 

            max log size            = 50

            name resolve order      = wins lmhosts host bcast

            password server         = * 

            preferred master        = no

            map to guest            = never

            restrict anonymous      = 2

    #============================ Share Definitions ==============================

    Thank you



    ------------------------------
    Chamara Samaranayake
    ------------------------------


  • 2.  RE: Issues after upgrading Samba

    Posted Thu March 02, 2023 08:34 AM

    Moving from 3.5.4 to 4.16.8 is a big jump. You need to run testparm to check the correctness of smb.conf file. 
    Also check the community link for major changes happened in Samba 4 version --> https://wiki.samba.org/index.php/Samba_4.0_Features_added/changed



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



  • 3.  RE: Issues after upgrading Samba

    Posted Thu March 02, 2023 09:46 AM

    Thank you for sharing the link and I will go through it. I already tried the testparm and it confirmed everything looks good. 



    ------------------------------
    Chamara Samaranayake
    ------------------------------