Hello,
We are working on an 
AIX 7.2 LPAR.
We are happy 
YUM is 
installed.
We are happy 
sudo is also installed under the control of YUM.
But it seems that  
sudo   requires   
ldap ???  or 
open_ldap ???
I can see that sudo requires installed openldap...
Did we missed something ?
Is sudo supposed to work with  ldap aix filesets     or     open_ldap ?
We thank you very much for your help,
christophe
root@apcci077:/root#
rpm -ev openldap-2.4.48-1.ppc --testerror: Failed dependencies:
liblber.a(liblber-2.4.so.2) is needed by (installed) sudo-1.8.31p1-1.ppc
libldap.a(libldap-2.4.so.2) is needed by (installed) sudo-1.8.31p1-1.ppc
openldap >= 2.4.48-1 is needed by (installed) sudo-1.8.31p1-1.ppcroot@apcci077:/root#
root@apcci077:/root#
sudo -lsudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /opt/freeware/libexec/sudo/sudoers.so: Could not load module /opt/freeware/libexec/sudo/sudoers.so.
Dependent module /opt/IBM/ldap/V6.4/lib64/libldap.a(libldap-2.4.so.2) could not be loaded.File /opt/IBM/ldap/V6.4/lib64/libldap.a is not an
archive or the file could not be read properly.
System error: Exec format error
Could not load module /opt/freeware/libexec/sudo/sudoers.so.
Dependent module /opt/freeware/libexec/sudo/sudoers.so could not be loaded.
sudo: fatal error, unable to load plugins
root@apcci077:/root
root@apcci077:/root#
rpm -qi sudoName : sudo
Version : 1.8.31p1
Release : 1
Architecture: ppc
Install Date: Fri Oct 16 14:39:28 CEST 2020
Group : Applications/System
Size : 6743889
License : IBM_ILA
Signature : (none)
Source RPM : sudo-1.8.31p1-1.src.rpm
Build Date : Wed Jun 3 08:04:16 CEST 2020
Build Host : pokndd10.pok.stglabs.ibm.com
Relocations : /opt/freeware
URL : 
http://www.sudo.wsSummary : Allows restricted root access for specified users.
Description :
Sudo (superuser do) allows a system administrator to give certain users (or
groups of users) the ability to run some (or all) commands as root while
logging all commands and arguments. Sudo operates on a per-command basis. It
is not a replacement for the shell. Features include: the ability to restrict
what commands a user may run on a per-host basis, copious logging of each
command (providing a clear audit trail of who did what), a configurable timeout
of the sudo command, and the ability to use the same configuration file
(sudoers) on many different machines.
root@apcci077:/root#
root@apcci077:/root#
lslpp -L | grep -i ldapidsldap.clt32bit64.rte 6.4.0.20 C F Directory Server - 32 bit
idsldap.clt64bit64.rte 6.4.0.20 C F Directory Server - 64 bit
idsldap.clt_max_crypto32bit64.rte
idsldap.clt_max_crypto64bit64.rte
idsldap.cltbase64.adt 6.4.0.20 C F Directory Server - Base Client
idsldap.cltbase64.rte 6.4.0.20 C F Directory Server - Base Client
idsldap.cltjava64.rte 6.4.0.20 C F Directory Server - Java Client
idsldap.license64.rte 6.4.0.20 C F Directory Server - License
openldap 2.4.48-1 C R The configuration files,
for OpenLDAP (/bin/rpm)
root@apcci077:/root#oslevel -s
7200-04-01-1939
root@apcci077:/root#
root@apcci077:/root#rpm -qa
db-4.8.24-3.ppc
curl-7.52.1-1.ppc
readline-6.1-2.ppc
python-2.7.10-1.ppc
python-tools-2.7.10-1.ppc
python-urlgrabber-3.10.1-1.noarch
pysqlite-1.1.7-2.ppc
yum-3.4.3-7.noarch
test-dummy-1.1-5.ppc
zlib-1.2.11-1.ppc
xz-libs-5.2.5-1.ppc
ncurses-6.2-1.ppc
libunistring-0.9.9-2.ppc
bash-5.0-1.ppc
gettext-0.19.8.1-5.ppc
cyrus-sasl-2.1.26-3.ppc
sudo-1.8.31p1-1.ppclpar2rrd-agent-6.15-2.ppc
gdbm-1.8.3-5.ppc
ca-certificates-2016.10.7-2.ppc
sqlite-3.15.2-1.ppc
python-devel-2.7.10-1.ppc
python-pycurl-7.19.3-1.ppc
python-iniparse-0.4-1.noarch
yum-metadata-parser-1.1.4-2.ppc
AIX-rpm-7.2.4.0-7.ppc
libgcc-8.3.0-2.ppc
libffi-3.2.1-3.ppc
libstdc++-8.3.0-2.ppc
glib2-2.56.1-2.ppc
libxml2-2.9.9-1.ppc
libiconv-1.16-1.ppc
info-6.6-2.ppc
openldap-2.4.48-1.ppcroot@apcci077:/root#
------------------------------
christophe derouet
------------------------------
#AIXOpenSource