]> granicus.if.org Git - sudo/commit
Use a default LDAP search filter of (objectClass=sudoRole). When
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 6 Feb 2014 22:50:08 +0000 (15:50 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 6 Feb 2014 22:50:08 +0000 (15:50 -0700)
commitf7a419b5f99db7803a8246dae9e77d0426f415d2
tree6cfaba0820bb530bf9ae96959d153cf209499f6e
parentb299763e3484225b7afedd06dd32f25c12c543b0
Use a default LDAP search filter of (objectClass=sudoRole).  When
constructing the netgroup query, add (sudoUser=*) to the query so
we don't fall below the 3 character OpenLDAP substring threshold.
Otherwise the index for sudoUser will never be used for that query.
Pointed out by Michael Stroeder.
doc/sudoers.ldap.cat
doc/sudoers.ldap.man.in
doc/sudoers.ldap.mdoc.in
plugins/sudoers/ldap.c