@Piratheep
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.
[global]
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
------------------------------
Original Message:
Sent: Fri December 31, 2021 08:48 AM
From: Piratheep Sivanantham
Subject: Samba
Peter, Configuring YUM and creating local repositories on IBM AIX – IBM Developer
you can download & change the permission on the yum.sh. 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 (ibm.com)
------------------------------
Piratheep Sivanantham
Original Message:
Sent: Thu December 30, 2021 05:34 AM
From: José Pina Coelho
Subject: Samba
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
Original Message:
Sent: Fri December 24, 2021 07:43 AM
From: Peter Brown
Subject: Samba
Hi,
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?
Thanks,
Peter
------------------------------
Peter Brown
------------------------------