Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405581 - app-admin/sudo with net-nds/openldap-1.8.4_p1 - sudo: sudo_ldap_build_pass1 allocation mismatch
Summary: app-admin/sudo with net-nds/openldap-1.8.4_p1 - sudo: sudo_ldap_build_pass1 a...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-24 13:38 UTC by Han Boetes
Modified: 2019-11-10 15:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Han Boetes 2012-02-24 13:38:28 UTC
% sudo -s
LDAP Config Summary
===================
uri              ldaps://bar.foo.com
ldap_version     3
sudoers_base     ou=SUDOers,dc=foo,dc=com
binddn           (anonymous)
bindpw           (anonymous)
ssl              (no)
tls_cacertfile   /etc/openldap/cacert.pem
===================
sudo: ldap_initialize(ld, ldaps://bar.foo.com)
sudo: ldap_set_option: debug -> 0
sudo: ldap_set_option: ldap_version -> 3
sudo: ldap_set_option: tls_cacertfile -> /etc/openldap/cacert.pem
sudo: ldap_set_option: tls_cacert -> /etc/openldap/cacert.pem
sudo: ldap_sasl_bind_s() ok
sudo: Looking for cn=defaults: cn=defaults
sudo: found:cn=defaults,ou=SUDOers,dc=foo,dc=com
sudo: ldap sudoOption: 'insults'
sudo: ldap sudoOption: 'timestamp_timeout=60'
sudo: sudo_ldap_build_pass1 allocation mismatch

After downgrading to 1.8.2-r1 everything works fine again. Looking through the source code it runs into a low level sanity check, something which is not supposed to happen.


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2019-11-10 15:50:05 UTC
It looks solved with current versions