summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-08-07 13:35:09 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-08-07 18:37:45 +0200
commitc01f015106b6e238d918ba4574f60bee811517ec (patch)
treef26db772ee0b2fddfe5731106d90ea6b34751730 /src
parentfb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6 (diff)
downloadsssd-c01f015106b6e238d918ba4574f60bee811517ec.tar.gz
sssd-c01f015106b6e238d918ba4574f60bee811517ec.tar.xz
sssd-c01f015106b6e238d918ba4574f60bee811517ec.zip
Remove SYSDB_SUDO_CACHE_OC from attribute lists
It is not an attribute.
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb_sudo.c1
-rw-r--r--src/responder/sudo/sudosrv_get_sudorules.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/db/sysdb_sudo.c b/src/db/sysdb_sudo.c
index e10d18be8..8a9539492 100644
--- a/src/db/sysdb_sudo.c
+++ b/src/db/sysdb_sudo.c
@@ -581,7 +581,6 @@ errno_t sysdb_sudo_purge_byfilter(struct sysdb_ctx *sysdb,
bool in_transaction = false;
const char *attrs[] = { SYSDB_OBJECTCLASS,
SYSDB_NAME,
- SYSDB_SUDO_CACHE_OC,
SYSDB_SUDO_CACHE_AT_CN,
NULL };
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c
index 033084665..b6e016c73 100644
--- a/src/responder/sudo/sudosrv_get_sudorules.c
+++ b/src/responder/sudo/sudosrv_get_sudorules.c
@@ -534,7 +534,6 @@ static errno_t sudosrv_get_sudorules_from_cache(struct sudo_cmd_ctx *cmd_ctx,
const char *debug_name = NULL;
unsigned int flags = SYSDB_SUDO_FILTER_NONE;
const char *attrs[] = { SYSDB_OBJECTCLASS
- SYSDB_SUDO_CACHE_OC,
SYSDB_SUDO_CACHE_AT_CN,
SYSDB_SUDO_CACHE_AT_USER,
SYSDB_SUDO_CACHE_AT_HOST,