AIX Open Source

 View Only
  • 1.  Samba

    Posted Fri December 24, 2021 09:45 AM

    I'm new to the site.  Looking to download Samba and all it's dependencies for AIX 7.1.  I downloaded samba-4.14.4-2.aix7.1.ppc.rpm from the AIX tool box site but when I Preview the install in smit there are a lot of dependencies. 

    Does anyone know if there is a way I can get a samba install with all its dependencies for AIX 7.1?


    Peter Brown

  • 2.  RE: Samba

    Posted Thu December 30, 2021 05:35 AM
    The easiest way is to install yum/dnf, which will take care of dependencies. It also makes updating substantially easier.

    José Pina Coelho
    IT Specialist at Kyndryl

  • 3.  RE: Samba

    Posted Fri December 31, 2021 08:43 AM
    Hi Jose, do you have a config file that lets Samba authenticate users to AD? We been trying and haven't had much success. Tried to get business partners to work on it but seems like nobody seems to have the skills. Appreciate if you can shed some light on what we are doing wrong.

    Piratheep Sivanantham

  • 4.  RE: Samba

    Posted Fri December 31, 2021 09:00 AM
    No, I don't.

    José Pina Coelho
    IT Specialist at Kyndryl

  • 5.  RE: Samba

    Posted Mon January 03, 2022 02:39 AM

    You can read this blog -->

    Ayappan P

  • 6.  RE: Samba

    Posted Fri December 31, 2021 08:46 AM
    # comment = Marketing
    # path = /sharing/marketing/
    # valid users = "@SMH\Domain Users"
    # force group = "domain users"
    # writable = yes
    # read only = no
    # force create mode = 0660
    # create mask = 0777
    # directory mask = 0777
    # force directory mode = 0770
    # access based share enum = yes
    # hide unreadable = yes

    ****​This is what my colleague tried and hadn't gotten it to work.

    Piratheep Sivanantham

  • 7.  RE: Samba

    Posted Fri December 31, 2021 08:49 AM
    Edited by Piratheep Sivanantham Fri December 31, 2021 08:52 AM
    Peter, Configuring YUM and creating local repositories on IBM AIX – IBM Developer
    you can download & change the permission on the It does pretty much everything for you. Then run Yum install samba* and it'll do the rest as far as installing it.

    DNF supposed to replace YUM so you might as well start there. DNF is now available on AIX Toolbox (
    Piratheep Sivanantham

  • 8.  RE: Samba

    Posted Mon January 03, 2022 02:41 AM
    there are multiple AD configuration depending what you would like to achieve
    below sample configuration just to authenticate to AD with Kerberos and dedicated keytab. Probably you can do it even easier with ntlm authentication, but as we don't use windbind it was problematic for us.

    workgroup = MYDOMAIN
    realm = MYDOMAIN.COM.PL
    netbios name = myhostname
    server string = Samba myhostname Server
    security = ADS
    password server = *
    log file = /var/opt/samba/myhostname/log.%m
    log level = 2
    max log size = 1000
    preferred master = No
    local master = No
    lock directory = /var/opt/samba/myhostname/locks
    pid directory = /var/opt/samba/myhostname/locks
    read only = No
    short preserve case = No
    dos filetime resolution = Yes
    load printers = No
    disable spoolss = Yes
    dedicated keytab file = /etc/krb5.keytab
    kerberos method = dedicated keytab

    You have of course install and configure Kerberos (Kerberos package includes in IBM NAS package)
    Join AIX server to AD domain with net ads join command
    We also create keytabs on AD controller and create keytabs on AIX servers

    Jakub Pacowski

  • 9.  RE: Samba

    Posted Mon January 17, 2022 01:27 AM
    SerNet's SAMBA+ packages for AIX  can actually be installed without any additional dependencies, a plain AIX 7 box is enough there.

    Johannes Loxen