summaryrefslogtreecommitdiff
path: root/src/responder/sudo
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-08-07 13:32:44 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-08-07 18:37:40 +0200
commitfb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6 (patch)
tree3891eeb210e552b70fc5e2482a80c2010d42c8a0 /src/responder/sudo
parent97b0dd25b0b62e57fdb7750b398181f953b2fd37 (diff)
downloadsssd-fb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6.tar.gz
sssd-fb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6.tar.bz2
sssd-fb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6.zip
Rename SYSDB_SUDO_CACHE_AT_OC to SYSDB_SUDO_CACHE_OC
It does not contain name of the object class attribute but the value itself. I renamed it to avoid confusion.
Diffstat (limited to 'src/responder/sudo')
-rw-r--r--src/responder/sudo/sudosrv_get_sudorules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c
index 10cef552..03308466 100644
--- a/src/responder/sudo/sudosrv_get_sudorules.c
+++ b/src/responder/sudo/sudosrv_get_sudorules.c
@@ -534,7 +534,7 @@ 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_AT_OC,
+ SYSDB_SUDO_CACHE_OC,
SYSDB_SUDO_CACHE_AT_CN,
SYSDB_SUDO_CACHE_AT_USER,
SYSDB_SUDO_CACHE_AT_HOST,