summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-05-14 16:28:58 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-06-29 11:37:18 -0400
commitdfafb437f49d31e015184e212571e9917aa94eef (patch)
tree9e94be124051e1257b0113ae26276fe524cff8e2 /src/providers
parent20f82655b3a29cf0784ba5c912927d1ada1287df (diff)
downloadsssd-dfafb437f49d31e015184e212571e9917aa94eef.tar.gz
sssd-dfafb437f49d31e015184e212571e9917aa94eef.tar.xz
sssd-dfafb437f49d31e015184e212571e9917aa94eef.zip
sudo: clean up
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/data_provider.h7
-rw-r--r--src/providers/dp_backend.h4
2 files changed, 2 insertions, 9 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h
index 8c46115b1..b783081bc 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 2c56f1475..6e5c6e1a6 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 {