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.  AIX 7.2 Samba Integration with AD

    Posted Thu December 17, 2020 01:29 AM

    Dear All, 

     Do someone have proper steps documented for installation and configuration of SAMBA in AIX and integrating it with Active Directory.



    ------------------------------
    Balasubramani Haridass
    ------------------------------


  • 2.  RE: AIX 7.2 Samba Integration with AD

    Posted Thu December 17, 2020 01:34 AM

    Look into the below thread.

    https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?MessageKey=ae99c99b-8291-4628-9c53-cf755c0730e3&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer#bmae99c99b-8291-4628-9c53-cf755c0730e3



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



  • 3.  RE: AIX 7.2 Samba Integration with AD

    Posted Tue January 26, 2021 01:50 AM
    Dear Ayyappan , 

    i did the below , 

     Installed the below packages 
    Configure YUM in AIX
    Install samba in AIX
    Install below krb5 packages from AIX expansion Pack
    krb5.client.rte
    krb5.client.samples
    krb5.doc.en_US.html
    krb5.doc.en_US.pdf
    krb5.lic
    krb5.client.rte


    Then created the krb5 file using hte below command

    root@UX-Fileshr:/#mkkrb5clnt -c xxxxx.domainname -r domainname -s xxxxx.domainname -d domainname
    Initializing configuration...
    Creating /etc/krb5/krb5_cfg_type...
    Creating /etc/krb5/krb5.conf...
    The command completed successfully.

    then run the below command to authenticate

    kinit user@domain

    it was successful, then i edited the smb.conf file 

    workgroup = xxxxx
    realm = domainname
    preferred master = no
    server string = Samba Server Version %v
    security = ADS
    encrypt passwords = yes
    log level = 3
    log file = /var/log/samba/%m
    max log size = 50
    windbind separator = +
    printcap name = cups
    printing = cups
    idmap uid = 10000-20000
    idmap gid = 10000-20000

    then ran testparm, and then tried joining the samba machine to the active directory, received the below error

    root@UX-Fileshr:/etc/samba#net ads join -U user
    Unknown parameter encountered: "windbind separator"
    Ignoring unknown parameter "windbind separator"
    Unknown parameter encountered: "windbind separator"
    Ignoring unknown parameter "windbind separator"
    Host is not configured as a member server.
    Invalid configuration. Exiting....
    Failed to join domain: This operation is only allowed for the PDC of the domain.

    Is there any configuration to be done for windbind in aix ? if so can you give me the steps to configure windbind in aix ..

    ------------------------------
    Balasubramani Haridass
    ------------------------------



  • 4.  RE: AIX 7.2 Samba Integration with AD

    Posted Wed January 27, 2021 08:14 AM
    Check the thread which I mentioned earlier.

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