summaryrefslogtreecommitdiffstats
path: root/src/responder/sudo/sudosrv.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-08-01 08:00:46 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-08-13 15:10:40 +0200
commit3b96d478851fbbe391ab30e3d6a0afdb9ecdd4a0 (patch)
treee4fb5c98c513013087217bad3784156a31110d07 /src/responder/sudo/sudosrv.c
parentfcfd1cb69762c49ba56326dfc85008c1d83333b2 (diff)
downloadsssd-3b96d478851fbbe391ab30e3d6a0afdb9ecdd4a0.tar.gz
sssd-3b96d478851fbbe391ab30e3d6a0afdb9ecdd4a0.tar.xz
sssd-3b96d478851fbbe391ab30e3d6a0afdb9ecdd4a0.zip
SUDO: Use the override_space option
https://fedorahosted.org/sssd/ticket/2397 With this path, a user whose name is "space user" would match a sudo rule while using the override_default_space option. Please note that the option is only a client-side override, so the sudoUser attribute must contain the space in order to match the original name. In other words, when substituting space ( ) for underscore (_), this attribute would match: sudoUser: space user this would not: sudoUser: space_user Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/responder/sudo/sudosrv.c')
-rw-r--r--src/responder/sudo/sudosrv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/responder/sudo/sudosrv.c b/src/responder/sudo/sudosrv.c
index cafe9da53..8a197159b 100644
--- a/src/responder/sudo/sudosrv.c
+++ b/src/responder/sudo/sudosrv.c
@@ -132,8 +132,6 @@ int sudo_process_init(TALLOC_CTX *mem_ctx,
sudo_dp_reconnect_init, iter);
}
- /* Get responder options */
-
/* Get sudo_timed option */
ret = confdb_get_bool(sudo_ctx->rctx->cdb,
CONFDB_SUDO_CONF_ENTRY, CONFDB_SUDO_TIMED,