summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Šrubař <xsruba03@stud.fit.vutbr.cz>2014-08-11 12:09:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-08-11 15:45:08 +0200
commita1e89ede4995f948abc1acc364246161df7cca2c (patch)
tree246881c922da4f059e0099dd0695ae85b4105b80 /src
parentd8b8995ef1c3f2a6c85dc141aaff7eef3faf05c1 (diff)
downloadsssd-a1e89ede4995f948abc1acc364246161df7cca2c.tar.gz
sssd-a1e89ede4995f948abc1acc364246161df7cca2c.tar.xz
sssd-a1e89ede4995f948abc1acc364246161df7cca2c.zip
LDAP SUDO: sudo provider doesn't fetch 'EntryUSN'
The EntryUSN is not fetched by the sudo LDAP provider when it downloads the rules because sudorule_map is missing this attribute. We forgot to add the SDAP_AT_SUDO_RUNAS into sdap_sudorule_attrs when we added support for sudoRunAs. Related to: https://fedorahosted.org/sssd/ticket/2212
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index e5d972901..6bab0e1c1 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -319,6 +319,7 @@ enum sdap_sudorule_attrs {
SDAP_AT_SUDO_HOST,
SDAP_AT_SUDO_USER,
SDAP_AT_SUDO_OPTION,
+ SDAP_AT_SUDO_RUNAS,
SDAP_AT_SUDO_RUNASUSER,
SDAP_AT_SUDO_RUNASGROUP,
SDAP_AT_SUDO_NOTBEFORE,