summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_sudo.c
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/providers/ldap/sdap_sudo.c
parent97b0dd25b0b62e57fdb7750b398181f953b2fd37 (diff)
downloadsssd-fb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6.tar.gz
sssd-fb4e4c4eb6a6dc732370584f70d23dd4a2c5c7b6.tar.xz
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/providers/ldap/sdap_sudo.c')
-rw-r--r--src/providers/ldap/sdap_sudo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index ca41fca9e..bfab32a0f 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -552,7 +552,7 @@ static struct tevent_req *sdap_sudo_full_refresh_send(TALLOC_CTX *mem_ctx,
/* Remove all rules from cache */
sysdb_filter = talloc_asprintf(state, "(%s=%s)",
- SYSDB_OBJECTCLASS, SYSDB_SUDO_CACHE_AT_OC);
+ SYSDB_OBJECTCLASS, SYSDB_SUDO_CACHE_OC);
if (sysdb_filter == NULL) {
ret = ENOMEM;
goto immediately;
@@ -724,7 +724,7 @@ static struct tevent_req *sdap_sudo_rules_refresh_send(TALLOC_CTX *mem_ctx,
}
sysdb_filter = talloc_asprintf(tmp_ctx, "(&(%s=%s)(|%s))",
- SYSDB_OBJECTCLASS, SYSDB_SUDO_CACHE_AT_OC,
+ SYSDB_OBJECTCLASS, SYSDB_SUDO_CACHE_OC,
sysdb_filter);
if (sysdb_filter == NULL) {
ret = ENOMEM;