diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-05-14 16:28:58 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-29 11:37:18 -0400 |
commit | dfafb437f49d31e015184e212571e9917aa94eef (patch) | |
tree | 9e94be124051e1257b0113ae26276fe524cff8e2 /src/providers | |
parent | 20f82655b3a29cf0784ba5c912927d1ada1287df (diff) | |
download | sssd2-dfafb437f49d31e015184e212571e9917aa94eef.tar.gz sssd2-dfafb437f49d31e015184e212571e9917aa94eef.tar.xz sssd2-dfafb437f49d31e015184e212571e9917aa94eef.zip |
sudo: clean up
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/data_provider.h | 7 | ||||
-rw-r--r-- | src/providers/dp_backend.h | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h index 8c46115b..b783081b 100644 --- a/src/providers/data_provider.h +++ b/src/providers/data_provider.h @@ -138,11 +138,8 @@ #define BE_REQ_INITGROUPS 0x0003 #define BE_REQ_NETGROUP 0x0004 #define BE_REQ_SERVICES 0x0005 -#define BE_REQ_SUDO_ALL 0x0006 -#define BE_REQ_SUDO_DEFAULTS 0x0007 -#define BE_REQ_SUDO_USER 0x0008 -#define BE_REQ_SUDO_FULL 0x0100 /* todo: change it after clean up */ -#define BE_REQ_SUDO_RULES 0x0200 /* todo: change it after clean up */ +#define BE_REQ_SUDO_FULL 0x0006 +#define BE_REQ_SUDO_RULES 0x0007 #define BE_REQ_AUTOFS 0x0009 #define BE_REQ_HOST 0x0010 #define BE_REQ_FAST 0x1000 diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h index 2c56f147..6e5c6e1a 100644 --- a/src/providers/dp_backend.h +++ b/src/providers/dp_backend.h @@ -159,10 +159,6 @@ struct be_acct_req { struct be_sudo_req { uint32_t type; char **rules; - - char *username; - uid_t uid; - char **groups; }; struct be_autofs_req { |