[sudo-users] LDAPS + sudo + AIX 7.1

Todd C. Miller Todd.Miller at courtesan.com
Mon Aug 19 09:43:05 MDT 2013


On Mon, 19 Aug 2013 08:33:36 -0500, ace man wrote:

> I built 1.8.7 and it still uses PAM. The configure says it sets aixauth, but
> the compilation ignores this and uses PAM.
> 
> Here are the outputs from configure & mkpkg:
> 
> http://pastebin.com/qKMxrp7W

The configure output looks correct.

> http://pastebin.com/mFJzW4ns

The mkpkg output is still using PAM.  Note that mkpkg runs configure
itself so your earlier configure run was ignored.  You probably
want to do:

./mkpkg --flavor=ldap --with-aixauth --with-ldap=/opt/IBM/ldap/V6.3 \
    --with-ldap-conf-file=/etc/ldap.conf

Or, if you want to make an rpm package instead of an installp one:

./mkpkg --platform=rpm --flavor=ldap --with-aixauth \
    --with-ldap=/opt/IBM/ldap/V6.3 --with-ldap-conf-file=/etc/ldap.conf

You should not need to specify --with-incpath or --with-libpath;
configure should use the include and lib dirs under /opt/IBM/ldap/V6.3.
The other configure args you had are used by default by mkpkg on AIX.

 - todd


More information about the sudo-users mailing list