]> granicus.if.org Git - sudo/commit
In list mode, we always want to clear FLAG_NO_USER and FLAG_NO_HOST
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 2 Dec 2015 17:43:41 +0000 (10:43 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 2 Dec 2015 17:43:41 +0000 (10:43 -0700)
commit9c9b487b0c40dd9c2248dd0acf60492e4302588a
treefecb876c3a84fdc6bb21c096c723b79118a6fa81
parent604d350344d248ed971158ca10e20fc9340b83e7
In list mode, we always want to clear FLAG_NO_USER and FLAG_NO_HOST
regardless of whether or not there was an actual match.  Otherwise,
warning mail may be sent which is not what we want in list mode.
This is consistent with what the sudoers file backend does.
plugins/sudoers/ldap.c
plugins/sudoers/sssd.c