Bugzilla – Bug 215
request for ordering constraints with LDAP
Last modified: 2011-03-03 09:58:09 MST
One of the users of my Debian packaging of sudo has pointed out that the version built with LDAP support violates the principle of least astonishment by failing to preserve the normal sudoers ordering constraints because the LDAP results are not ordered. He suggests ways the behavior could be improved to restore the behavior provided by the non-LDAP version. Seems like a good idea to me, but beyond the scope of the Debian packaging. The complete original email is bug 373674 in the Debian bug tracking system.
Link to debian bug tracker http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373674
Sudo 1.7.5 and 1.8.0 LDAP support includes a sudoOrder attribute that can be used to preserve sudoers file ordering constraints.