[sudo-users] sudo -V for old versions

Todd C. Miller Todd.Miller at courtesan.com
Fri Feb 15 12:46:56 EST 2013


On Fri, 15 Feb 2013 12:23:35 EST, Tim Daley wrote:

> My build:
> ./configure  --prefix=/usr/local --with-insults=disabled \
>         --with-logging=syslog --with-logfac=auth \
>         --with-editor=/usr/bin/vi --with-env-editor --with-pam \
>         --enable-zlib=builtin --disable-nls \
>         --with-ldap=/opt/IBM/ldap/V6.3 \
>         --with-incpath=/opt/IBM/ldap/V6.3/include \
>         --with-libpath=/opt/IBM/ldap/V6.3/lib  \

You should not need to specify --with-incpath or --with-libpath,
the CPPFLAGS and LDFLAGS will be adjusted automatically.

>         --with-ldap-conf-file=/etc/security/ldap/ldap.cfg \

I don't think that /etc/security/ldap/ldap.cfg is in the format
that sudo expects so you'll need to use a different file for this.
By default, sudo will use /etc/ldap.conf.

>         --without-lecture \
>         --without-mail-if-no-user \
>         --with-nsswitch=no \
>         --without-sendmail \
>         --enable-warnings \
> 
> make  && make PPFLAGS="" PPVARS="flavor=ldap aix_freeware=true" package

The rest looks fine.

 - todd


More information about the sudo-users mailing list