Bugzilla – Bug 236
sudo-1.6.8p12 ./configure --with-pam --with-ldap
Last modified: 2008-06-11 09:34:35 MDT
Hi, May be this is something that I am doing wrong but this is what I get. If I compile Sudo with the following configuration options, I can never make it to work with Open LDAP. ./configure --with-pam –with-ldap Problem was in --with-pam. When I removed it, it just worked fine. Is it a bug or am I doing it the wrong way? LDAP Config Summary =================== uri ldap://spp20845.spp.org ldap_version 3 sudoers_base ou=SUDOers,dc=spp20845,dc=spp binddn (anonymous) bindpw (anonymous) ssl no =================== ldap_initialize(ld,ldap://spp20845.spp.org) ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,0x03) ldap_bind() ok found:cn=defaults,ou=SUDOers,dc=spp20845,dc=spp ldap search '(|(sudoUser=fmufti)(sudoUser=%msims)(sudoUser=%msims)(sudoUser=ALL))' found:cn=fmufti,ou=SUDOers,dc=spp20845,dc=spp ldap sudoHost 'ALL' ... MATCH! ldap sudoCommand 'ALL' ... MATCH! Perfect Matched! user_matches=-1 host_matches=-1 sudo_ldap_check(0)=0x02 Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts
This sounds like a pam configuration problem. You should check to make sure that /etc/pam.d/sudo is configured correctly for your version of Linux.
Believed to be a PAM configuration problem.