[sudo-commits] sudo changeset 9312:54856973af41

Todd C. Miller Todd.Miller at courtesan.com
Thu Feb 6 15:50:23 MST 2014


changeset:	9312:54856973af41 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/54856973af41
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Feb 06 15:50:08 2014 -0700

Log Message:
	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.

diffstat:

 doc/sudoers.ldap.cat     |  6 ++++--
 doc/sudoers.ldap.man.in  |  9 +++++++--
 doc/sudoers.ldap.mdoc.in |  9 +++++++--
 plugins/sudoers/ldap.c   |  8 ++++++--
 4 files changed, 24 insertions(+), 8 deletions(-)


More information about the sudo-commits mailing list